Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 114552
Status: open
Priority: 0/
Queue: Wx

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.9928
Fixed in: 0.9929



Subject: Unescaped left brace in regex is illegal in regex
Wx fails to build with perl 5.25.1 due to a new fatal error: Output from '/bbbike/perl-5.25.1/bin/perl5.25.1 Makefile.PL': Unescaped left brace in regex is illegal in regex; marked by <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at /tmpfs/.cpan-build-cpansand/2016052109/Wx-0.9928-yNWtp9/build/Wx/build/Utils.pm line 110. Compilation failed in require at /tmpfs/.cpan-build-cpansand/2016052109/Wx-0.9928-yNWtp9/build/Wx/build/MakeMaker/Core.pm line 11. BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016052109/Wx-0.9928-yNWtp9/build/Wx/build/MakeMaker/Core.pm line 11. Compilation failed in require at Makefile.PL line 21. BEGIN failed--compilation aborted at Makefile.PL line 21.
Trivial patch attached.
Subject: unescaped_left_brace.patch
Description: fix "Unescaped left brace" warning, which is fatal in 5.25.x Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=115103 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=826463 Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=115103 Author: gregor herrmann <gregoa@debian.org> Last-Update: 2017-05-20 --- a/build/Wx/build/Utils.pm +++ b/build/Wx/build/Utils.pm @@ -107,7 +107,7 @@ m/^\s*INCLUDE:\s+(.*)$/ and $file = $1 and $arr = \@xsinclude; m/^\s*INCLUDE_COMMAND:\s+.*\s(\S+\.(?:xsp?|h))\s*/ and $file = $1 and $arr = \@xsinclude; - m/^\s*\%include{([^}]+)}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude; + m/^\s*\%include\{([^}]+)}\s*;\s*$/ and $file = $1 and $arr = \@xsinclude; if( defined $file ) { $file = catfile( split '/', $file );
Thanks for the patch. Much appreciated. Did in fact fix this in 0.9929