Blog: http://blogs.perl.org/users/sawyer_x/2015/10/perl-5-porters-mailing-list-summary-october-12th-19th.html
Twitter: https://twitter.com/perl5summaries/status/656379626063798272 October 12th-19th Updates Dave Mitchell merged the regular expression substring match optimization branch! James Keenan cleaned more tickets, namely [1]Perl #117963, [2]Perl #120330, and [3]Perl #65052. James also updates on [4]Perl #123831 that he is able to successfully compile perl on an older Darwin system. The ticket refers to problems in some definitions the ICC compiler has which caused problems compiling perl. Yves Orton is working on resolving what seems to be an infinite recursion error in the regex engine, raised by [5]Perl #126182. Steve Hay was looking at why [6]bignum, [7]Math::BigInt, and [8]Math::BigInt::FastCalc are outdated in core. With input from their current maintainer, Peter John Acklam, Steve is going to update them to the latest versions available on CPAN. Reini Urban has been banned from the p5p mailing list following uncivilized behavior displayed on the list. Ricardo Signes asked that Reini focus on technical discussions and apologize for the comments made, or resign from the list. Following a refusal to comply, Reini was banned. Max Maischein provided his work on resolving [9]Perl #125439 for comments. Bulk88 submitted a patch in [10]Perl #126377 to remove an extra stat call. Similar to this, Bulk88 also provided a patch in [11]Perl #126373 to reimplement the $^WIN32_SLOPPY_STAT as a magic variable. The ticket contains details of the differences before and after in a syscall log. Lastly, Bulk88 also provided a patch in [12]Perl #126402 to allow two perl processes to share more memory using const vtables. Dagfinn Ilmari Mannsåker submitted a patch in [13]Perl #126374 to fix [14]IO::Poll's handling of empty poll arrays. Tony Cook [15]provides his 24th Perl 5 Grant Report. Jarkko reported in [16]Perl #126396 and then fixed a long double problem in IRIX. Brian Carpenter reminds the list of null pointer dereferencing bugs, [17]Perl #125351, [18]Perl #125540, [19]Perl #126191, and [20]Perl #126192. Filipe asks in [21]Perl #126403 if a buffered read() call can be smarted about the chunk size it uses. He provides examples of having more system calls than needed in situations like: read( $fh, $buffer, 30000 ) since read() always uses 8,192 byte chunks nowadays. Bugs Reported bugs [22]Perl #126368 refers to a breakage in [23]Filesys::DfPortable. [24]Perl #126366, in which we're asked whether Perl works on Windows 10. Response: Yes. [25]Perl #126376 which displays a problem of goto interfering with a $SIG{__DIE__} handler which should be displayed with a __DIE__ handler. [26]Perl #126328 refers to a possible inconsistent behavior in the regexp engine behavior with different backtracking control verbs. [27]Perl #126343 describes a similar scenario in the regex engine. [28]Perl #126327 exposes a problem when, in a specific situation, an optimization in the regular expression engine does not trigger the *SKIP control verb. Yves Orton provides additional information on the original considerations and possible ways to resolve this (such as keeping the optimization but allowing a user to add a flag to disable it if they need to). [29]Perl #126405, reported by Dan Collins, contains a fuzzed bug, triggered by: /(?:.||)(?|)000000000@/ Dan Collins opened [30]Perl #126404, yet another bug found using fuzzing, triggered by: 00./(?[!()])/ and was immediately fixed by Karl Williamson. Similar to this, Dan also opened [31]Perl #126406, triggered by: /.0\N{6,0}0\N{6,0}000000000000000000000000000000000/ immediately fixed by Karl Williamson. Resolved bugs * [32]Perl #126229: local and magic variables (local $! = $1). * [33]Perl #126180: /(?[\ &!])/ segfault. * [34]Perl #126242: NO_HASH_SEED build. * [35]Perl #124063: silent flag in make_ext.pl build script. * [36]Perl #126152: Compile error after re-running Configure since AmigaOS merge. * [37]Perl #117433 and [38]Perl #126360: MACOSX_DEPLOYMENT_TARGET issues. * [39]Perl #126306: OpenBSD errno test failures, mentioned last week. * [40]Perl #126082: Set PL_delaymagic in unshift. * [41]Perl #126319: Segmentation fault in Perl_sv_catpvn_flags. * [42]Perl #126177: (?n) should be documented. * [43]Perl #126204: Perl segfaults with a regex_sets error message. * [44]Perl #126404: Segfault caused by 00./(?[!()])/. * [45]Perl #126406: Segfault caused by ``. Discussion A very nice thank you email from Emmanuel Arias: I couldn't be more thankful, thank you very much, guys, every problem can be resolved with Perl, it's amazing. Our customers are happy, and we are even more! You are great, guys! Bulk88 [46]adds more comments on the discussion with Dave Mitchell regarding debugging the Save Stack, mentioned last week. Steve Hay raised problems compiling [47]Socket on VC6 and pushed a fix by Bulk88 to blead. Jarkko Hietaniemi [48]shares some insight on problems with MacPorts lagging behind new XCode updates. More from Jarkko's learning, a [49]warning provided on OpenBSD regarding strcat. Detailed comment by Zefram with more context around strcat and then OpenBSD thoughts behind the warning and some information from Craig A. Berry relating to Perl specifically. Sawyer X (yes, me) asked on the behavior of XS subroutines (XSUBs) signature checks. For a native C type signature (int, for example), perl warns about uninitialized variables when sent undef. Vincent Pit explained this as intended behavior and why. However, undef sent when expecting a Perl type which isn't SV * (such as CV *) croaks (as it should) but still produces an uninitialized warning. Sawyer will attempt to provide a patch to fix this. Steve is also [50]reporting several failing tests on GCC Builds. Bulk88 is helping diagnose the causes. On Mac OS X Perl has relied on setting MACOSX_DEPLOYMENT_TARGET to 10.3. On El Capitan this now fails. The problem generated a long [51]discussion including a [52]StackOverflow question and a conversation on a related [53]ticket in MacPorts, not to mention tickets [54]Perl #123985 and [55]Perl #126360. The end result was to use -mmacosx-version-min option, which resolves correctly on MAC OS X 10.6 and above. I think Craig A. Berry [56]summarized it well. Ricardo Signes is asking for an implementation of the [57]long-discussed idea of turning use warnings to mean use warnings 'default' in order to accommodate additional sets of warnings which will not be turned on by use warnings by default. Two note-worthy emails are the [58]summary of the actions required in the patch, by Ævar Arnfjörð Bjarmason, and [59]commentary by Aristotle Pagaltzis. A conversation regarding [60]Perl #116639, regarding inlined comments in regular expressions, had resurfaced. There are two options and the [61]discussion is taking place. A summary of the problem is [62]provided by Karl Williamson. Bulk88 [63]asks about the Onion Sketch. These are two meetings that take place between the release manager and the pumpking prior to a perl release. They are made public for all to be able to know more about the process and what's going on. The last one took place on March 25th. And, of course, the new Smart Match proposal by Dave Mitchell is still being [64]discussed. References 1. https://rt.perl.org/rt3/Ticket/Display.html?id=117963 2. https://rt.perl.org/Ticket/Display.html?id=120330 3. https://rt.perl.org/Ticket/Display.html?id=65052 4. https://rt.perl.org/Ticket/Display.html?id=123831 5. https://rt.perl.org/Ticket/Display.html?id=126182 6. https://metacpan.org/pod/bignum 7. https://metacpan.org/pod/Math::BigInt 8. https://metacpan.org/pod/Math::BigInt::FastCalc 9. https://rt.perl.org/Ticket/Display.html?id=125439 10. https://rt.perl.org/Ticket/Display.html?id=126377 11. https://rt.perl.org/Ticket/Display.html?id=126373 12. https://rt.perl.org/Ticket/Display.html?id=126402 13. https://rt.perl.org/Ticket/Display.html?id=126374 14. https://metacpan.org/pod/IO::Poll 15. http://www.nntp.perl.org/group/perl.perl5.porters/231948 16. https://rt.perl.org/Ticket/Display.html?id=126396 17. https://rt.perl.org/Ticket/Display.html?id=125351 18. https://rt.perl.org/Ticket/Display.html?id=125540 19. https://rt.perl.org/Ticket/Display.html?id=126191 20. https://rt.perl.org/Ticket/Display.html?id=126192 21. https://rt.perl.org/Ticket/Display.html?id=126403 22. https://rt.perl.org/Ticket/Display.html?id=126368 23. https://metacpan.org/pod/Filesys::DfPortable 24. https://rt.perl.org/Ticket/Display.html?id=126366 25. https://rt.perl.org/Ticket/Display.html?id=126376 26. https://rt.perl.org/Ticket/Display.html?id=126328 27. https://rt.perl.org/Ticket/Display.html?id=126343 28. https://rt.perl.org/Ticket/Display.html?id=126327 29. https://rt.perl.org/Ticket/Display.html?id=126405 30. https://rt.perl.org/Ticket/Display.html?id=126404 31. https://rt.perl.org/Ticket/Display.html?id=126406 32. https://rt.perl.org/Ticket/Display.html?id=126229 33. https://rt.perl.org/Ticket/Display.html?id=126180 34. https://rt.perl.org/Ticket/Display.html?id=126242 35. https://rt.perl.org/Ticket/Display.html?id=124063 36. https://rt.perl.org/Ticket/Display.html?id=126152 37. https://rt.perl.org/Ticket/Display.html?id=117433 38. https://rt.perl.org/Ticket/Display.html?id=126360 39. https://rt.perl.org/Ticket/Display.html?id=126306 40. https://rt.perl.org/Ticket/Display.html?id=126082 41. https://rt.perl.org/Ticket/Display.html?id=126319 42. https://rt.perl.org/Ticket/Display.html?id=126177 43. https://rt.perl.org/Ticket/Display.html?id=126204 44. https://rt.perl.org/Ticket/Display.html?id=126404 45. https://rt.perl.org/Ticket/Display.html?id=126406 46. http://www.nntp.perl.org/group/perl.perl5.porters/231885 47. https://metacpan.org/pod/Socket 48. http://www.nntp.perl.org/group/perl.perl5.porters/231811 49. http://www.nntp.perl.org/group/perl.perl5.porters/231883 50. http://www.nntp.perl.org/group/perl.perl5.porters/231903 51. http://www.nntp.perl.org/group/perl.perl5.porters/231808 52. http://stackoverflow.com/questions/32280732/whats-the-best-way-to-set-macosx-deployment-target/32284231#32284231 53. https://trac.macports.org/ticket/49273 54. https://rt.perl.org/Public/Bug/Display.html?id=123985 55. https://rt.perl.org/Public/Bug/Display.html?id=126360 56. http://www.nntp.perl.org/group/perl.perl5.porters/231870 57. http://nntp.perl.org/group/perl.perl5.porters/228400 58. http://www.nntp.perl.org/group/perl.perl5.porters/231917 59. http://www.nntp.perl.org/group/perl.perl5.porters/231949 60. https://rt.perl.org/Public/Bug/Display.html?id=116639 61. http://www.nntp.perl.org/group/perl.perl5.porters/231777 62. http://www.nntp.perl.org/group/perl.perl5.porters/231911 63. http://www.nntp.perl.org/group/perl.perl5.porters/231987 64. http://www.nntp.perl.org/group/perl.perl5.porters/231622