Skip Menu |

This queue is for tickets about the Class-MakeMethods CPAN distribution.

Report information
The Basics
Id: 115108
Status: open
Priority: 0/
Queue: Class-MakeMethods

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

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



From: gregoa [...] cpan.org
Subject: libclass-makemethods-perl: Unescaped left brace in regex is deprecated
We have the following bug reported to the Debian package of Class-MakeMethods (https://bugs.debian.org/826476): It doesn't seem to be a bug in the packaging, so you may want to take a look. Thanks! ------8<-----------8<-----------8<-----------8<-----------8<----- Package: libclass-makemethods-perl Version: 1.01-4 Severity: minor User: debian-perl@lists.debian.org Usertags: perl-5.24-transition Building this package triggers deprecation warnings with Perl 5.24 (currently in experimental), and probably with Perl 5.22 (current sid) too. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(TEST\s{ <-- HERE )/ at tests/xemulator/class_methodmaker/Test.pm line 51. A full build log is available at http://perl.debian.net/rebuild-logs/perl-5.24-throwaway/libclass-makemethods-perl_1.01-4/ -- Niko Tyni ntyni@debian.org ------8<-----------8<-----------8<-----------8<-----------8<----- Thanks for considering, gregor herrmann, Debian Perl Group
On 2016-06-05 17:00:52, GREGOA wrote: Show quoted text
> We have the following bug reported to the Debian package of > Class-MakeMethods (https://bugs.debian.org/826476): > > It doesn't seem to be a bug in the packaging, so you may want to take > a look. Thanks! > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > Package: libclass-makemethods-perl > Version: 1.01-4 > Severity: minor > User: debian-perl@lists.debian.org > Usertags: perl-5.24-transition > > Building this package triggers deprecation warnings with Perl 5.24 > (currently in experimental), and probably with Perl 5.22 (current sid) > too. > > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/(TEST\s{ <-- HERE )/ at > tests/xemulator/class_methodmaker/Test.pm line 51. > > A full build log is available at > http://perl.debian.net/rebuild-logs/perl-5.24-throwaway/libclass- > makemethods-perl_1.01-4/
A possible patch may be found at http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Class-MakeMethods-1.01-RT115108.patch Please note that this warning is a hard error in perl 5.25.1 and later.
On Wed Jun 08 16:59:34 2016, SREZIC wrote: Show quoted text
> On 2016-06-05 17:00:52, GREGOA wrote:
> > We have the following bug reported to the Debian package of > > Class-MakeMethods (https://bugs.debian.org/826476): > > > > It doesn't seem to be a bug in the packaging, so you may want to take > > a look. Thanks! > > > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > > Package: libclass-makemethods-perl > > Version: 1.01-4 > > Severity: minor > > User: debian-perl@lists.debian.org > > Usertags: perl-5.24-transition > > > > Building this package triggers deprecation warnings with Perl 5.24 > > (currently in experimental), and probably with Perl 5.22 (current > > sid) > > too. > > > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/(TEST\s{ <-- HERE )/ at > > tests/xemulator/class_methodmaker/Test.pm line 51. > > > > A full build log is available at > > http://perl.debian.net/rebuild-logs/perl-5.24-throwaway/libclass- > > makemethods-perl_1.01-4/
> > A possible patch may be found at > http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Class- > MakeMethods-1.01-RT115108.patch > > Please note that this warning is a hard error in perl 5.25.1 and > later.
Sample of test failures in perl-5.25.9: ##### ./tests/xemulator/class_inheritable/transparent.t ....... ok Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(TEST\s{ <-- HERE )/ at tests/xemulator/class_methodmaker/Test.pm line 51. Compilation failed in require at ./tests/xemulator/class_methodmaker/abstract.t line 18. BEGIN failed--compilation aborted at ./tests/xemulator/class_methodmaker/abstract.t line 18. ./tests/xemulator/class_methodmaker/abstract.t .......... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(TEST\s{ <-- HERE )/ at tests/xemulator/class_methodmaker/Test.pm line 51. Compilation failed in require at ./tests/xemulator/class_methodmaker/boolean.092.t line 6. BEGIN failed--compilation aborted at ./tests/xemulator/class_methodmaker/boolean.092.t line 6. ./tests/xemulator/class_methodmaker/boolean.092.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) ... ##### Thank you very much. Jim Keenan
RT-Send-CC: gregoa [...] cpan.org
On 2016-06-08 16:59:34, SREZIC wrote: Show quoted text
> On 2016-06-05 17:00:52, GREGOA wrote:
> > We have the following bug reported to the Debian package of > > Class-MakeMethods (https://bugs.debian.org/826476): > > > > It doesn't seem to be a bug in the packaging, so you may want to take > > a look. Thanks! > > > > ------8<-----------8<-----------8<-----------8<-----------8<----- > > > > Package: libclass-makemethods-perl > > Version: 1.01-4 > > Severity: minor > > User: debian-perl@lists.debian.org > > Usertags: perl-5.24-transition > > > > Building this package triggers deprecation warnings with Perl 5.24 > > (currently in experimental), and probably with Perl 5.22 (current > > sid) > > too. > > > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/(TEST\s{ <-- HERE )/ at > > tests/xemulator/class_methodmaker/Test.pm line 51. > > > > A full build log is available at > > http://perl.debian.net/rebuild-logs/perl-5.24-throwaway/libclass- > > makemethods-perl_1.01-4/
> > A possible patch may be found at > http://cpan.cpantesters.org/authors/id/S/SR/SREZIC/patches/Class- > MakeMethods-1.01-RT115108.patch > > Please note that this warning is a hard error in perl 5.25.1 and > later.
perl 5.26.0 RC1 is out, the test suite is still failing and the proposed patch still works.