Skip Menu |

This queue is for tickets about the Schedule-Cron CPAN distribution.

Report information
The Basics
Id: 117437
Status: open
Priority: 0/
Queue: Schedule-Cron

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

Bug Information
Severity: (no value)
Broken in:
  • 1.01
  • 1.02_3
Fixed in: (no value)



Subject: Unescaped left brace in regex is illegal here in regex
The pretty_print_args.t test fails with bleadperl (e.g. perl 5.25.4): Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\['bla','blub',{ <-- HERE .*?'and'\s*=>\s*'HASH\(.*?\)'.*?}\],3,{.*?'blub'\s*=>\s*'bla'.*?}/ at t/pretty_print_args.t line 14. # Looks like your test exited with 255 before it could output anything. t/pretty_print_args.t ... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests
RT-Send-CC: XSAWYERX [...] cpan.org
This is a bug report for: Schedule-Cron-1.01 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=Schedule-Cron Here is a link to all modules that depend on yours: http://deps.cpantesters.org/depended-on-by.pl?dist=Schedule-Cron 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: schedule-cron.log
cpanm (App::cpanminus) 1.7042 on perl 5.025009 built for x86_64-linux Work directory is /home/jkeenan/.cpanm/work/1483532870.32750 You have make /usr/bin/make You have LWP 6.15 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 Schedule::Cron () on cpanmetadb ... --> Working on Schedule::Cron Fetching http://www.cpan.org/authors/id/R/RO/ROLAND/Schedule-Cron-1.01.tar.gz -> OK Unpacking Schedule-Cron-1.01.tar.gz Entering Schedule-Cron-1.01 Checking configure dependencies from META.json Checking if you have Module::Build 0.38 ... Yes (0.4220) Checking if you have ExtUtils::Install 1.46 ... Yes (2.04) Configuring Schedule-Cron-1.01 Running Build.PL Checking prerequisites... requires: ! Time::ParseDate 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 'Schedule-Cron' version '1.01' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0 ... Yes (1.302073) Checking if you have Time::ParseDate 2011.0505 ... No Checking if you have Test 0 ... Yes (1.30) Checking if you have Data::Dumper 0 ... Yes (2.166) ==> Found dependencies: Time::ParseDate Searching Time::ParseDate (2011.0505) on cpanmetadb ... --> Working on Time::ParseDate Fetching http://www.cpan.org/authors/id/M/MU/MUIR/modules/Time-ParseDate-2015.103.tar.gz -> OK Unpacking Time-ParseDate-2015.103.tar.gz Entering Time-ParseDate-2015.103 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Time-ParseDate-2015.103 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Time::ParseDate Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have Time::Piece 0 ... Yes (1.31) Building and testing Time-ParseDate-2015.103 cp lib/Time/JulianDay.pm blib/lib/Time/JulianDay.pm cp lib/Time/ParseDate.pm blib/lib/Time/ParseDate.pm cp lib/Time/DaysInMonth.pm blib/lib/Time/DaysInMonth.pm cp lib/Time/CTime.pm blib/lib/Time/CTime.pm cp lib/Time/Timezone.pm blib/lib/Time/Timezone.pm PERL_DL_NONLAZY=1 "/home/jkeenan/testing/blead/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/datetime.t .. ok t/metdate.t ... ok t/order1.t .... ok t/order2.t .... ok All tests successful. Files=4, Tests=345, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.13 cusr 0.00 csys = 0.17 CPU) Result: PASS Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Time/Timezone.pm Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Time/DaysInMonth.pm Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Time/JulianDay.pm Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Time/ParseDate.pm Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Time/CTime.pm Appending installation info to /home/jkeenan/testing/blead/lib/perl5/5.25.9/x86_64-linux/perllocal.pod -> OK Successfully installed Time-ParseDate-2015.103 Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Time-ParseDate-2015.103/install.json Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Time-ParseDate-2015.103/MYMETA.json Building and testing Schedule-Cron-1.01 Building Schedule-Cron t/after_job.t ........... ok t/callbackreschedule.t .. ok t/delete_entry.t ........ ok t/dst_back.t ............ ok t/entry.t ............... ok t/execution_time.t ...... ok t/kwalitee.t ............ skipped: Test::Kwalitee not installed; skipping t/load_crontab.t ........ ok t/nofork.t .............. ok t/pod.t ................. ok t/pod_coverage.t ........ skipped: Test::Pod::Coverage required for testing pod coverage Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\['bla','blub',{ <-- HERE .*?'and'\s*=>\s*'HASH\(.*?\)'.*?}\],3,{.*?'blub'\s*=>\s*'bla'.*?}/ at t/pretty_print_args.t line 14. # Looks like your test exited with 255 before it could output anything. t/pretty_print_args.t ... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 1/1 subtests t/sighandler.t .......... ok t/startup.t ............. ok Test Summary Report ------------------- t/pretty_print_args.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 1 tests but ran 0. Files=14, Tests=93, 25 wallclock secs ( 0.06 usr 0.01 sys + 0.80 cusr 0.05 csys = 0.92 CPU) Result: FAIL Failed 1/14 test programs. 0/93 subtests failed. -> FAIL Installing Schedule::Cron failed. See /home/jkeenan/.cpanm/work/1483532870.32750/build.log for details. Retry with --force to force install it. 1 distribution installed