Sat Feb 21 14:52:57 2015: Request 102269 was acted upon.
Transaction: Ticket created by ppisar
       Queue: Wx
     Subject: Makefile.PL dies because of change in Getopt::Long: Option spec
 <> cannot be used with pass_through
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: ppi...@redhat.com
      Status: new
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=102269 >


Getopt-Long-2.43 made simultaneous use of pass_through and "<>" options 
illegal. Unfortunately, build/Wx/build/Options.pm does so, and hence the build 
dies as can bee seen in test matrix 
<http://www.cpantesters.org/cpan/report/72a32e8e-b613-11e4-bcb4-dc9ce0bfc7aa>:

Output from '/bbbike/perl-5.21.8/bin/perl5.21.8 Makefile.PL':

Unescaped left brace in regex is deprecated, passed through in regex; marked by 
<-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at 
/tmpfs/.cpan-build/Wx-0.9923-1Ew4pT/build/Wx/build/Utils.pm line 110.
Possible precedence issue with control flow operator at 
/home/eserte/.cpan/build/Alien-wxWidgets-0.65-80Mpi0/blib/lib/Alien/wxWidgets/Utility.pm
 line 77.
Option spec <> cannot be used with pass_through
Compilation failed in require at Makefile.PL line 21.
BEGIN failed--compilation aborted at Makefile.PL line 21.

Here you can find a fix 
<http://pkgs.fedoraproject.org/cgit/perl-Wx.git/tree/perl-Wx-0.9923-no-Getopt-Long-pass_through.patch?id=fda181acc8f900c8d543992113519690267923dc>.

Getopt-Long-2.44 changed the fatal error into a warning, but the behavior is 
still undefined. Please fix Wx not to use both options.

Reply via email to