Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 79148
Status: resolved
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: d.thomas [...] its.uq.edu.au
Cc:
AdminCc:

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



Subject: 5.17.3: Eval-group not allowed at runtime
RHEL5, my first build with 5.17.x some tests FAIL Regexp-Common-2011121001.tar.gz [new in 5.17] t/test_balanced.t ................ Eval-group not allowed at runtime, use re 'eval' in regex m/(?^: (?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3-20120820/tarball-build/Regexp- Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. t/test_balanced.t ................ Dubious, test returned 255 (wstat 65280, 0xff00) ... t/test_i.t ....................... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\ ((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at blib/lib/Regexp/Common/balanced.pm line 61. t/test_i.t ....................... Dubious, test returned 255 (wstat 65280, 0xff00) ... t/test_keep.t .................... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\ ((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3-20120820/tarball-build/Regexp- Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. t/test_keep.t .................... Dubious, test returned 255 (wstat 65280, 0xff00) ... t/test_sub.t ..................... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\ ((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3-20120820/tarball-build/Regexp- Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. t/test_sub.t ..................... Dubious, test returned 255 (wstat 65280, 0xff00) ... t/test_sub_named.t ............... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^: (?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3-20120820/tarball-build/Regexp- Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. t/test_sub_named.t ............... Dubious, test returned 255 (wstat 65280, 0xff00)
From: mzhou [...] cse.unsw.edu.au
Identical error, also under 5.17.3. Running make test PERL_DL_NONLAZY=1 /home/michaelz/perl5/perlbrew/perls/perl-5.17.3/bin/perl5.17.3 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/*/*.t t/comment/delimited.t ............ ok t/comment/html.t ................. ok t/comment/nested.t ............... ok t/comment/pascal.t ............... ok t/comment/single_line.t .......... ok t/comment/single_or_multiline.t .. ok t/number/decimal.t ............... ok t/number/integer.t ............... ok t/number/number.t ................ ok t/SEN/usa_ssn.t .................. ok t/test___luhn.t .................. ok t/test_balanced.t ................ Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /home/michaelz/.cpan/build/Regexp-Common-2011121001-ZFngYM/blib/lib/Regexp/Common/balanced.pm line 61. t/test_balanced.t ................ Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed t/test_bases.t ................... ok t/test_bases_sep.t ............... ok t/test_comments.t ................ ok t/test_curry.t ................... ok t/test_delimited.t ............... Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/Must specify delimiter in \$RE{ <-- HERE delimited}/ at t/test_delimited.t line 15. t/test_delimited.t ............... ok t/test_domain.t .................. ok t/test_i.t ....................... 1/65 Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at blib/lib/Regexp/Common/balanced.pm line 61. t/test_i.t ....................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 4/65 subtests t/test_ip.t ...................... ok t/test_keep.t .................... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /home/michaelz/.cpan/build/Regexp-Common-2011121001-ZFngYM/blib/lib/Regexp/Common/balanced.pm line 61. t/test_keep.t .................... Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed t/test_lingua_palindrome.t ....... ok t/test_list.t .................... ok t/test_mac.t ..................... ok t/test_no_import.t ............... ok t/test_profanity.t ............... ok t/test_roman.t ................... ok t/test_squares.t ................. ok t/test_sub.t ..................... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /home/michaelz/.cpan/build/Regexp-Common-2011121001-ZFngYM/blib/lib/Regexp/Common/balanced.pm line 61. t/test_sub.t ..................... Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed t/test_sub_named.t ............... Eval-group not allowed at runtime, use re 'eval' in regex m/(?^:(?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at /home/michaelz/.cpan/build/Regexp-Common-2011121001-ZFngYM/blib/lib/Regexp/Common/balanced.pm line 61. t/test_sub_named.t ............... Dubious, test returned 255 (wstat 65280, 0xff00) All 1 subtests passed t/test_ws.t ...................... ok t/URI/any.t ...................... ok t/URI/fax.t ...................... ok t/URI/file.t ..................... ok t/URI/ftp.t ...................... ok t/URI/gopher.t ................... ok t/URI/http.t ..................... ok t/URI/news.t ..................... ok t/URI/nntp.t ..................... ok t/URI/pop.t ...................... ok t/URI/prospero.t ................. ok t/URI/tel.t ...................... ok t/URI/telnet.t ................... ok t/URI/tv.t ....................... ok t/URI/wais.t ..................... ok t/zip/australia.t ................ ok t/zip/belgium.t .................. ok t/zip/denmark.t .................. ok t/zip/france.t ................... ok t/zip/germany.t .................. ok t/zip/greenland.t ................ ok t/zip/italy.t .................... ok t/zip/netherlands.t .............. ok t/zip/norway.t ................... ok t/zip/spain.t .................... ok t/zip/us.t ....................... ok t/zip/zip.t ...................... ok t/zzz_50_pod.t ................... ok t/zzz_60_pod_coverage.t .......... skipped: Test::Pod::Coverage required for testing POD coverage Test Summary Report ------------------- t/test_balanced.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 t/test_i.t (Wstat: 65280 Tests: 61 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 65 tests but ran 61. t/test_keep.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 t/test_sub.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 t/test_sub_named.t (Wstat: 65280 Tests: 1 Failed: 0) Non-zero exit status: 255 Files=59, Tests=230980, 20 wallclock secs (15.35 usr 0.14 sys + 14.86 cusr 0.44 csys = 30.79 CPU) Result: FAIL Failed 5/59 test programs. 0/230980 subtests failed. On Wed Aug 22 17:10:26 2012, d.thomas@its.uq.edu.au wrote: Show quoted text
> RHEL5, my first build with 5.17.x > > some tests FAIL > > > Regexp-Common-2011121001.tar.gz [new in 5.17] > t/test_balanced.t ................ Eval-group not allowed at runtime, > use re 'eval' in regex m/(?^: > (?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at > /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- > 20120820/tarball-build/Regexp- > Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. > t/test_balanced.t ................ Dubious, test returned 255 (wstat > 65280, 0xff00) > ... > t/test_i.t ....................... Eval-group not allowed at runtime, > use re 'eval' in regex m/(?^:(?:\ > ((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at > blib/lib/Regexp/Common/balanced.pm line 61. > t/test_i.t ....................... Dubious, test returned 255 (wstat > 65280, 0xff00) > ... > t/test_keep.t .................... Eval-group not allowed at runtime, > use re 'eval' in regex m/(?^:(?:\ > ((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at > /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- > 20120820/tarball-build/Regexp- > Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. > t/test_keep.t .................... Dubious, test returned 255 (wstat > 65280, 0xff00) > ... > t/test_sub.t ..................... Eval-group not allowed at runtime, > use re 'eval' in regex m/(?^:(?:\ > ((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at > /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- > 20120820/tarball-build/Regexp- > Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. > t/test_sub.t ..................... Dubious, test returned 255 (wstat > 65280, 0xff00) > ... > t/test_sub_named.t ............... Eval-group not allowed at runtime, > use re 'eval' in regex m/(?^: > (?:\((?:(?>[^\(\)]+)|(??{$Regexp::Common::balanced [0]}))*\)))/ at > /data/opt/uq.local/build/uq.cis.perl.build.rhel5-5.17.3- > 20120820/tarball-build/Regexp- > Common-2011121001/blib/lib/Regexp/Common/balanced.pm line 61. > t/test_sub_named.t ............... Dubious, test returned 255 (wstat > 65280, 0xff00)
RT-Send-CC: mzhou [...] cse.unsw.edu.au
Hi! I made some fixes for 5.17.x including the Eval-group issue at https://github.com/Abigail/Regexp--Common/pull/2 Please review whether those changes are sane and apply. Thanks! Kind regards, Steffen -- Steffen Schwigon <ss5@renormalist.net> Dresden Perl Mongers <http://dresden-pm.org/>
This has been fixed in version 2013030801.