Skip Menu |

This queue is for tickets about the Config-Std CPAN distribution.

Report information
The Basics
Id: 119321
Status: resolved
Priority: 0/
Queue: Config-Std

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

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



Subject: t/undef.t: Unescaped left brace in regex is illegal here in regex
This syntax will be illegal in perl-5.26. Fix is simple: - like $@, qr/\ACan't save undefined value for key {'FOO'}{'foo2'}/ + ike $@, qr/\ACan't save undefined value for key \{'FOO'}\{'foo2'}/
On Tue Dec 20 09:49:44 2016, JKEENAN wrote: Show quoted text
> This syntax will be illegal in perl-5.26. Fix is simple: > > - like $@, qr/\ACan't save undefined value for key {'FOO'}{'foo2'}/ > + ike $@, qr/\ACan't save undefined value for key \{'FOO'}\{'foo2'}/
- like $@, qr/\ACan't save undefined value for key {'FOO'}{'foo2'}/ + like $@, qr/\ACan't save undefined value for key \{'FOO'}\{'foo2'}/
RT-Send-CC: XSAWYERX [...] cpan.org
This is a bug report for: Config-Std-0.901 Due to unescaped left braces in some regular expression patterns in your code, your module won't work on 5.26.0. The CPAN Tester automated testing service cannot test your distribution on new versions of Perl until it is fixed and any modules that depend on yours will not work either. Please see: http://matrix.cpantesters.org/?dist=Config-Std Here is a link to all modules that depend on yours: http://deps.cpantesters.org/depended-on-by.pl?dist=Config-Std We would appreciate help in sorting this out before the new version of Perl is released in May of this year. These errors are quite easy to correct and I would be happy to lend a hand. I'm including a log file of my failure to build and install using "cpanm". Thanks! Jim Keenan
Subject: config-std.log
cpanm (App::cpanminus) 1.7042 on perl 5.025009 built for x86_64-linux Work directory is /home/jkeenan/.cpanm/work/1483530796.3888 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.28 Copyright (C) 2014 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching Config::Std () on cpanmetadb ... --> Working on Config::Std Fetching http://www.cpan.org/authors/id/B/BR/BRICKER/Config-Std-0.901.tar.gz -> OK Unpacking Config-Std-0.901.tar.gz Entering Config-Std-0.901 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Config-Std-0.901 Running Build.PL Checking prerequisites... requires: ! Class::Std is not installed recommends: * Test::Distribution is not installed * Test::Pod is not installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Config-Std' version '0.901' -> OK Checking dependencies from MYMETA.json ... Checking if you have Class::Std 0 ... No Checking if you have Test::More 0 ... Yes (1.302073) Checking if you have version 0 ... Yes (0.9917) ==> Found dependencies: Class::Std Searching Class::Std (0) on cpanmetadb ... --> Working on Class::Std Fetching http://www.cpan.org/authors/id/C/CH/CHORNY/Class-Std-0.013.tar.gz -> OK Unpacking Class-Std-0.013.tar.gz Entering Class-Std-0.013 Checking configure dependencies from META.json Checking if you have Module::Build 0.42 ... Yes (0.4220) Checking if you have ExtUtils::Install 1.46 ... Yes (2.04) Configuring Class-Std-0.013 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Class-Std' version '0.013' -> OK Checking dependencies from MYMETA.json ... Checking if you have Scalar::Util 0 ... Yes (1.46_02) Checking if you have Data::Dumper 0 ... Yes (2.166) Checking if you have Test::More 0 ... Yes (1.302073) Building and testing Class-Std-0.013 Building Class-Std # Testing Class::Std 0.013 t/00.load.t ............ ok t/access.t ............. ok t/access_automethod.t .. ok t/access_name.t ........ ok t/automethod.t ......... ok t/begin-coercion.t ..... ok t/can.t ................ ok t/coercions.t .......... ok t/cumulative.t ......... ok t/dump.t ............... ok t/perlattrs.t .......... ok t/runtime.t ............ ok t/simple.t ............. ok t/start.t .............. ok All tests successful. Files=14, Tests=275, 1 wallclock secs ( 0.06 usr 0.00 sys + 0.48 cusr 0.02 csys = 0.56 CPU) Result: PASS Building Class-Std Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Class/Std.pm -> OK Successfully installed Class-Std-0.013 Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Class-Std-0.013/install.json Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Class-Std-0.013/MYMETA.json Building and testing Config-Std-0.901 Building Config-Std # Testing Config::Std 0.901 t/00.load.t ......... ok t/00write.t ......... ok t/01read.t .......... ok t/01read_renamed.t .. ok t/02rewrite.t ....... ok t/02rewrite_eq.t .... ok t/03autoviv.t ....... ok t/comments.t ........ ok t/pod-coverage.t .... skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/pod.t ............. skipped: Test::Pod 1.14 required for testing POD Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\ACan't save undefined value for key { <-- HERE 'FOO'}{'foo2'}/ at t/undef.t line 19. t/undef.t ........... skipped: (no reason given) Test Summary Report ------------------- t/undef.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Files=11, Tests=27, 1 wallclock secs ( 0.03 usr 0.01 sys + 0.36 cusr 0.03 csys = 0.43 CPU) Result: FAIL Failed 1/11 test programs. 0/27 subtests failed. -> FAIL Installing Config::Std failed. See /home/jkeenan/.cpanm/work/1483530796.3888/build.log for details. Retry with --force to force install it. 1 distribution installed