Skip Menu |

This queue is for tickets about the Wx CPAN distribution.

Report information
The Basics
Id: 102269
Status: resolved
Priority: 0/
Queue: Wx

People
Owner: mdootson [...] cpan.org
Requestors: ppisar [...] redhat.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.9926



Subject: Makefile.PL dies because of change in Getopt::Long: Option spec <> cannot be used with pass_through
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.
CC: wxperl-users [...] perl.org
Subject: Re: [rt.cpan.org #102269] Makefile.PL dies because of change in Getopt::Long: Option spec <> cannot be used with pass_through
Date: Mon, 23 Feb 2015 20:04:08 +0100
To: "Petr Pisar via RT" <bug-Wx [...] rt.cpan.org>
From: Johan Vromans <jvromans [...] squirrel.nl>
On Sat, 21 Feb 2015 14:52:57 -0500 "Petr Pisar via RT" <bug-Wx@rt.cpan.org> wrote: Show quoted text
> 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
Getopt-Long-2.45 reverts this change. However, it would be a good idea to verify if the combination of <> and pass_though is really intended. -- Johan
Fixed in Wx 0.9926 On Mon Feb 23 14:04:25 2015, jvromans@squirrel.nl wrote: Show quoted text
> On Sat, 21 Feb 2015 14:52:57 -0500 "Petr Pisar via RT" <bug-Wx@rt.cpan.org> > wrote: >
> > 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
> > Getopt-Long-2.45 reverts this change. However, it would be a good idea to > verify if the combination of <> and pass_though is really intended. > > -- Johan