Skip Menu |

This queue is for tickets about the Text-Extract-MaketextCallPhrases CPAN distribution.

Report information
The Basics
Id: 117250
Status: open
Priority: 0/
Queue: Text-Extract-MaketextCallPhrases

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

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



Subject: Unescaped left brace in regex is illegal here in regex
Since perl 5.25.1 the test suite fails: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(sub maketext { <-- HERE )/ at t/05.no_extract_maketext.t line 74. # Looks like your test exited with 255 before it could output anything. t/05.no_extract_maketext.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 18/18 subtests See also http://matrix.cpantesters.org/?dist=Text-Extract-MaketextCallPhrases%200.93 for an overview of test reports.
On Sat Aug 27 03:17:53 2016, SREZIC wrote: Show quoted text
> Since perl 5.25.1 the test suite fails: > > Unescaped left brace in regex is illegal here in regex; marked by <-- > HERE in m/(sub maketext { <-- HERE )/ at t/05.no_extract_maketext.t > line 74. > # Looks like your test exited with 255 before it could output > anything. > t/05.no_extract_maketext.t ......... > Dubious, test returned 255 (wstat 65280, 0xff00) > Failed 18/18 subtests > > > See also http://matrix.cpantesters.org/?dist=Text-Extract- > MaketextCallPhrases%200.93 for an overview of test reports.
This error is still present when the module is built with perl-5.25.8. Here is an excerpt from a 'cpanm' build log run today. ##### 155939528-# Testing Text::Extract::MaketextCallPhrases 0.93 155939529-t/04.default_regex_non_maketext.t .. ok 155939530:Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(sub maketext { <-- HERE )/ at t/05.no_extract_maketext.t line 74. 155939531-# Looks like your test exited with 255 before it could output anything. 155939532-t/05.no_extract_maketext.t ......... 155939533-Dubious, test returned 255 (wstat 65280, 0xff00) ##### Thank you very much. Jim Keenan
This is a bug report for: Text-Extract-MaketextCallPhrases-0.93 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=Text-Extract-MaketextCallPhrases Here is a link to all modules that depend on yours: http://deps.cpantesters.org/depended-on-by.pl?dist=Text-Extract-MaketextCallPhrases 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
On Mon Jan 09 08:39:49 2017, JKEENAN wrote: Show quoted text
> This is a bug report for: > > Text-Extract-MaketextCallPhrases-0.93 > > 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=Text-Extract-MaketextCallPhrases > > Here is a link to all modules that depend on yours: > > http://deps.cpantesters.org/depended-on-by.pl?dist=Text-Extract- > MaketextCallPhrases > > 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: text-extract-maketextcallphrases.log
cpanm (App::cpanminus) 1.7042 on perl 5.025009 built for x86_64-linux Work directory is /home/jkeenan/.cpanm/work/1483530976.4048 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 Text::Extract::MaketextCallPhrases () on cpanmetadb ... --> Working on Text::Extract::MaketextCallPhrases Fetching http://www.cpan.org/authors/id/D/DM/DMUEY/Text-Extract-MaketextCallPhrases-0.93.tar.gz -> OK Unpacking Text-Extract-MaketextCallPhrases-0.93.tar.gz Entering Text-Extract-MaketextCallPhrases-0.93 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Text-Extract-MaketextCallPhrases-0.93 Running Build.PL Checking prerequisites... requires: ! Module::Want is not installed ! String::Unquotemeta 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 'Text-Extract-MaketextCallPhrases' version '0.93' -> OK Checking dependencies from MYMETA.json ... Checking if you have String::Unquotemeta 0 ... No Checking if you have Module::Want 0.6 ... No Checking if you have Text::Balanced 0 ... Yes (2.03) Checking if you have Test::More 0 ... Yes (1.302073) ==> Found dependencies: String::Unquotemeta, Module::Want Searching String::Unquotemeta (0) on cpanmetadb ... --> Working on String::Unquotemeta Fetching http://www.cpan.org/authors/id/D/DM/DMUEY/String-Unquotemeta-0.1.tar.gz -> OK Unpacking String-Unquotemeta-0.1.tar.gz Entering String-Unquotemeta-0.1 Checking configure dependencies from META.yml Checking if you have ExtUtils::Install 1.46 ... Yes (2.04) Checking if you have Module::Build 0.38 ... Yes (0.4220) Configuring String-Unquotemeta-0.1 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'String-Unquotemeta' version '0.1' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0 ... Yes (1.302073) Building and testing String-Unquotemeta-0.1 Building String-Unquotemeta # Testing String::Unquotemeta 0.1 t/00.load.t ....... ok t/perlcritic.t .... skipped: Test::Perl::Critic required for testing PBP compliance 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 All tests successful. Files=4, Tests=31, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.11 cusr 0.01 csys = 0.14 CPU) Result: PASS Building String-Unquotemeta Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/String/Unquotemeta.pm -> OK Successfully installed String-Unquotemeta-0.1 Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/String-Unquotemeta-0.1/install.json Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/String-Unquotemeta-0.1/MYMETA.json Searching Module::Want (0.6) on cpanmetadb ... --> Working on Module::Want Fetching http://www.cpan.org/authors/id/D/DM/DMUEY/Module-Want-0.6.tar.gz -> OK Unpacking Module-Want-0.6.tar.gz Entering Module-Want-0.6 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring Module-Want-0.6 Running Build.PL Checking prerequisites... requires: ! File::Path::Tiny is not installed ! Test::Carp 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 'Module-Want' version '0.6' -> OK Checking dependencies from MYMETA.json ... Checking if you have File::Path::Tiny 0 ... No Checking if you have File::Spec 0 ... Yes (3.66) Checking if you have File::Temp 0 ... Yes (0.2304) Checking if you have Test::More 0 ... Yes (1.302073) Checking if you have Test::Carp 0 ... No ==> Found dependencies: File::Path::Tiny, Test::Carp Searching File::Path::Tiny (0) on cpanmetadb ... --> Working on File::Path::Tiny Fetching http://www.cpan.org/authors/id/D/DM/DMUEY/File-Path-Tiny-0.8.tar.gz -> OK Unpacking File-Path-Tiny-0.8.tar.gz Entering File-Path-Tiny-0.8 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 6.58 ... Yes (7.24) Configuring File-Path-Tiny-0.8 Running Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for File::Path::Tiny Writing MYMETA.yml and MYMETA.json -> OK Checking dependencies from MYMETA.json ... Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.24) Checking if you have Test::More 0 ... Yes (1.302073) Building and testing File-Path-Tiny-0.8 cp lib/File/Path/Tiny.pm blib/lib/File/Path/Tiny.pm cp lib/File/Path/Tiny.pod blib/lib/File/Path/Tiny.pod 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 # Testing File::Path::Tiny 0.8 t/00.load.t ....... ok t/perlcritic.t .... skipped: Critic tests are only run in RELEASE_TESTING mode. t/perltidy.t ...... skipped: PerlTidy tests are only run in RELEASE_TESTING mode. t/pkg-changes.t ... skipped: pkg/Changes tests are only run in RELEASE_TESTING mode. t/pkg-readme.t .... skipped: pkg/README tests are only run in RELEASE_TESTING mode. t/pod-coverage.t .. skipped: POD tests are only run in RELEASE_TESTING mode. t/pod-spelling.t .. skipped: POD tests are only run in RELEASE_TESTING mode. t/pod.t ........... skipped: POD tests are only run in RELEASE_TESTING mode. All tests successful. Files=8, Tests=30, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.20 cusr 0.03 csys = 0.26 CPU) Result: PASS Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/File/Path/Tiny.pm Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/File/Path/Tiny.pod Appending installation info to /home/jkeenan/testing/blead/lib/perl5/5.25.9/x86_64-linux/perllocal.pod -> OK Successfully installed File-Path-Tiny-0.8 Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/File-Path-Tiny-0.8/install.json Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/File-Path-Tiny-0.8/MYMETA.json Searching Test::Carp (0) on cpanmetadb ... --> Working on Test::Carp Fetching http://www.cpan.org/authors/id/D/DM/DMUEY/Test-Carp-0.2.tar.gz -> OK Unpacking Test-Carp-0.2.tar.gz Entering Test-Carp-0.2 Checking configure dependencies from META.yml Checking if you have ExtUtils::Install 1.46 ... Yes (2.04) Checking if you have Module::Build 0.38 ... Yes (0.4220) Configuring Test-Carp-0.2 Running Build.PL Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'Test-Carp' version '0.2' -> OK Checking dependencies from MYMETA.json ... Checking if you have Test::More 0 ... Yes (1.302073) Building and testing Test-Carp-0.2 Building Test-Carp # Testing Test::Carp 0.2 t/00.load.t ....... ok # Testing Test::Carp 0.2 t/01.import.t ..... ok # Testing Test::Carp 0.2 t/02.functions.t .. ok t/perlcritic.t .... skipped: Test::Perl::Critic required for testing PBP compliance 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 All tests successful. Files=6, Tests=71, 1 wallclock secs ( 0.03 usr 0.00 sys + 0.18 cusr 0.01 csys = 0.22 CPU) Result: PASS Building Test-Carp Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Test/Carp.pm -> OK Successfully installed Test-Carp-0.2 Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Test-Carp-0.2/install.json Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Test-Carp-0.2/MYMETA.json Building and testing Module-Want-0.6 Building Module-Want # Testing Module::Want 0.6 t/00.load.t ....... ok t/perlcritic.t .... skipped: Critic tests are only run in RELEASE_TESTING mode. t/pod-coverage.t .. skipped: POD tests are only run in RELEASE_TESTING mode. t/pod.t ........... skipped: POD tests are only run in RELEASE_TESTING mode. All tests successful. Files=4, Tests=64, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.12 cusr 0.02 csys = 0.16 CPU) Result: PASS Building Module-Want Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/Module/Want.pm -> OK Successfully installed Module-Want-0.6 Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Module-Want-0.6/install.json Installing /home/jkeenan/testing/blead/lib/perl5/site_perl/5.25.9/x86_64-linux/.meta/Module-Want-0.6/MYMETA.json Building and testing Text-Extract-MaketextCallPhrases-0.93 Building Text-Extract-MaketextCallPhrases # Testing Text::Extract::MaketextCallPhrases 0.93 t/00.load.t ........................ ok # Testing Text::Extract::MaketextCallPhrases 0.93 t/01.get_phrases_in_text.t ......... ok # Testing Text::Extract::MaketextCallPhrases 0.93 t/02.get_phrases_in_file.t ......... ok # Testing Text::Extract::MaketextCallPhrases 0.93 t/03.debug_ignored_matches.t ....... ok # Testing Text::Extract::MaketextCallPhrases 0.93 t/04.default_regex_non_maketext.t .. ok Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(sub maketext { <-- HERE )/ at t/05.no_extract_maketext.t line 74. # Looks like your test exited with 255 before it could output anything. t/05.no_extract_maketext.t ......... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 18/18 subtests # Testing Text::Extract::MaketextCallPhrases 0.93 t/06.3rd_arg_hr_optional.t ......... ok # Testing Text::Extract::MaketextCallPhrases 0.93 t/07.phrase_from_arg_n.t ........... ok t/perlcritic.t ..................... skipped: Critic tests are only run in RELEASE_TESTING mode. t/perltidy.t ....................... skipped: PerlTidy tests are only run in RELEASE_TESTING mode. t/pkg-changes.t .................... skipped: pkg/Changes tests are only run in RELEASE_TESTING mode. t/pkg-readme.t ..................... skipped: pkg/README tests are only run in RELEASE_TESTING mode. t/pod-coverage.t ................... skipped: POD tests are only run in RELEASE_TESTING mode. t/pod-encoding.t ................... skipped: POD tests are only run in RELEASE_TESTING mode. t/pod-spelling.t ................... skipped: POD tests are only run in RELEASE_TESTING mode. t/pod-version.t .................... skipped: POD tests are only run in RELEASE_TESTING mode. t/pod.t ............................ skipped: POD tests are only run in RELEASE_TESTING mode. Test Summary Report ------------------- t/05.no_extract_maketext.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: Bad plan. You planned 18 tests but ran 0. Files=17, Tests=571, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.62 cusr 0.04 csys = 0.75 CPU) Result: FAIL Failed 1/17 test programs. 0/571 subtests failed. -> FAIL Installing Text::Extract::MaketextCallPhrases failed. See /home/jkeenan/.cpanm/work/1483530976.4048/build.log for details. Retry with --force to force install it. 4 distributions installed