Skip Menu |

This queue is for tickets about the Parser-LR CPAN distribution.

Report information
The Basics
Id: 130946
Status: resolved
Priority: 0/
Queue: Parser-LR

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

Bug Information
Severity: (no value)
Broken in:
  • 20191109
  • 20191110
Fixed in: (no value)



Subject: Bareword "Data::NFA::newNfaState" not allowed
Some of my smokers report the following test failure: ... Bareword "Data::NFA::newNfaState" not allowed while "strict subs" in use at lib/Parser/LR.pm line 46. Bareword found where operator expected at lib/Parser/LR.pm line 104, near "dfaFromGrammar parseGrammar" (Do you need to predeclare dfaFromGrammar?) syntax error at lib/Parser/LR.pm line 104, near "dfaFromGrammar parseGrammar " BEGIN not safe after errors--compilation aborted at lib/Parser/LR.pm line 256. at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line 3576. Data::Table::Text::__ANON__("Bareword \"Data::NFA::newNfaState\" not allowed while \"strict s"...) called at lib/Parser/LR.pm line 256 require Parser/LR.pm called at test.pl line 9 main::BEGIN() called at lib/Parser/LR.pm line 256 eval {...} called at lib/Parser/LR.pm line 256 Compilation failed in require at test.pl line 9. at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line 3576. Data::Table::Text::__ANON__("Bareword \"Data::NFA::newNfaState\" not allowed while \"strict s"...) called at test.pl line 9 main::BEGIN() called at test.pl line 9 eval {...} called at test.pl line 9 BEGIN failed--compilation aborted at test.pl line 9. at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line 3576. Data::Table::Text::__ANON__("Bareword \"Data::NFA::newNfaState\" not allowed while \"strict s"...) called at test.pl line 9 test.pl .. Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run ... This might be related to old depdencies, however statistical analysis has more than one candidate: **************************************************************** (2) **************************************************************** Regression 'mod:Data::DFA' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 0.00 [1='eq_20191109'] 1.0000 0.0000 28264741582931544.00 R^2= 1.000, N= 20, K= 2 **************************************************************** (3) **************************************************************** Regression 'mod:Data::NFA' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 0.00 [1='eq_20191109'] 1.0000 0.0000 28264741582931544.00 R^2= 1.000, N= 20, K= 2 **************************************************************** (4) **************************************************************** Regression 'mod:Data::Table::Text' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 7.83 [1='eq_20191107'] -0.0000 0.0000 -6.39 [2='eq_20191109'] 1.0000 0.0000 31249448376943132.00 R^2= 1.000, N= 20, K= 3 ****************************************************************
Corrected version number in Build.PL Fixed in version 20191011.
On 2019-11-09 07:54:04, SREZIC wrote: Show quoted text
> Some of my smokers report the following test failure: > > ... > Bareword "Data::NFA::newNfaState" not allowed while "strict subs" in > use at lib/Parser/LR.pm line 46. > Bareword found where operator expected at lib/Parser/LR.pm line 104, > near "dfaFromGrammar parseGrammar" > (Do you need to predeclare dfaFromGrammar?) > syntax error at lib/Parser/LR.pm line 104, near "dfaFromGrammar > parseGrammar " > BEGIN not safe after errors--compilation aborted at lib/Parser/LR.pm > line 256. > at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line > 3576. > Data::Table::Text::__ANON__("Bareword > \"Data::NFA::newNfaState\" not allowed while \"strict s"...) called at > lib/Parser/LR.pm line 256 > require Parser/LR.pm called at test.pl line 9 > main::BEGIN() called at lib/Parser/LR.pm line 256 > eval {...} called at lib/Parser/LR.pm line 256 > Compilation failed in require at test.pl line 9. > at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line > 3576. > Data::Table::Text::__ANON__("Bareword > \"Data::NFA::newNfaState\" not allowed while \"strict s"...) called at > test.pl line 9 > main::BEGIN() called at test.pl line 9 > eval {...} called at test.pl line 9 > BEGIN failed--compilation aborted at test.pl line 9. > at /usr/perl5.28.1Dp/lib/site_perl/5.28.1/Data/Table/Text.pm line > 3576. > Data::Table::Text::__ANON__("Bareword > \"Data::NFA::newNfaState\" not allowed while \"strict s"...) called at > test.pl line 9 > test.pl .. > Dubious, test returned 255 (wstat 65280, 0xff00) > No subtests run > ... > > This might be related to old depdencies, however statistical analysis > has more than one candidate: > > **************************************************************** > (2) > **************************************************************** > Regression 'mod:Data::DFA' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.0000 0.0000 0.00 > [1='eq_20191109'] 1.0000 0.0000 > 28264741582931544.00 > > R^2= 1.000, N= 20, K= 2 > **************************************************************** > (3) > **************************************************************** > Regression 'mod:Data::NFA' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.0000 0.0000 0.00 > [1='eq_20191109'] 1.0000 0.0000 > 28264741582931544.00 > > R^2= 1.000, N= 20, K= 2 > **************************************************************** > (4) > **************************************************************** > Regression 'mod:Data::Table::Text' > **************************************************************** > Name Theta StdErr T-stat > [0='const'] 0.0000 0.0000 7.83 > [1='eq_20191107'] -0.0000 0.0000 -6.39 > [2='eq_20191109'] 1.0000 0.0000 > 31249448376943132.00 > > R^2= 1.000, N= 20, K= 3 > ****************************************************************
Still fails on some systems. Statistical analysis looks now like this: **************************************************************** (2) **************************************************************** Regression 'mod:Data::DFA' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 5.94 [1='eq_20191110'] 1.0000 0.0000 43660769950596032.00 R^2= 1.000, N= 9, K= 2 **************************************************************** (3) **************************************************************** Regression 'mod:Data::NFA' **************************************************************** Name Theta StdErr T-stat [0='const'] 0.0000 0.0000 5.94 [1='eq_20191110'] 1.0000 0.0000 43660769950596032.00 R^2= 1.000, N= 9, K= 2 ****************************************************************
Resolved in version 20191118.