Parser-LR v20191110 Perl 5 v5.30.0 x86_64-linux-thread-multi
- Status
- Fail
- From
- Andreas J. König (ANDK)
- Dist
-
Parser-LR v20191110
- Platform
- Perl 5 v5.30.0 x86_64-linux-thread-multi
- Date
- 2019-11-10 04:32:54
- ID
- 29f8d802-0373-11ea-a5dc-6a48d6c10e5b
This distribution has been tested as part of the CPAN Testers
project, supporting the Perl programming language. See
http://wiki.cpantesters.org/ for more information or email
questions to cpan-testers-discuss@perl.org
--
Dear Philip R Brenan,
This is a computer-generated report for Parser-LR-20191110
on perl 5.30.0, created by CPAN-Reporter-1.2018.
Thank you for uploading your work to CPAN. However, there was a problem
testing your distribution.
If you think this report is invalid, please consult the CPAN Testers Wiki
for suggestions on how to avoid getting FAIL reports for missing library
or binary dependencies, unsupported operating systems, and so on:
http://wiki.cpantesters.org/wiki/CPANAuthorNotes
Sections of this report:
* Tester comments
* Program output
* Prerequisites
* Environment and other context
------------------------------
TESTER COMMENTS
------------------------------
Additional comments from tester:
this report is from an automated smoke testing program
and was not reviewed by a human for accuracy
------------------------------
PROGRAM OUTPUT
------------------------------
Output from './Build test':
Undefined subroutine &Data::DFA::fromNfa called at lib/Parser/LR.pm line 81, <DATA> line 285.
at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/site_perl/5.30.0/Data/Table/Text.pm line 3576, <DATA> line 285.
Data::Table::Text::__ANON__("Undefined subroutine &Data::DFA::fromNfa called at lib/Parser"...) called at lib/Parser/LR.pm line 81
Parser::LR::dfaFromGrammar(Parser::LR::Grammar=ARRAY(0x55579041a750)) called at lib/Parser/LR.pm line 104
Parser::LR::compileGrammar("A a A\x{a}A a\x{a}") called at (eval 19) line 6
eval 'use Test::More tests=>29;
#goto latestTest;
if (1) { #TprintGrammar
my $g = compileGrammar(<<END);
A a A
A a
END
my $tree = parseWithGrammar($g, qw(a a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 a 0
3 1 A
4 a 1
END
ok $g->start eq q(A);
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 1 A 1 1
2 a 0 1
3 1 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 undef [1, 5]
1 { a => 2 } undef
2 undef [3]
3 { A => 4 } [0]
4 1 undef undef
5 { a => 6 } undef
6 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A a A
2 1 A a
END
}
if (1) { #TparseWithGrammar
my $g = compileGrammar(<<END);
A a A
A
END
my $tree = parseWithGrammar($g, qw(a a a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 1 A
2 a 0
3 a 1
4 a 2
END
ok $g->start eq q(A);
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 1 a 1 1
2 1 1 A 2 1
3 a 1 1
4 2 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 1 undef [1]
1 { a => 2 } undef
2 undef [3]
3 { A => 4 } [0]
4 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A a A
2 1 A
END
}
if (1) { #TprintParseTreeAsXml
my $g = compileGrammar(<<END);
A A a
A a
END
my $tree = parseWithGrammar($g, qw(a a a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 0 A
3 1 A
4 a 0
5 a 1
6 a 2
END
ok printParseTreeAsXml($tree) eq <<END;
<A rule="0">
<A rule="0">
<A rule="1">
<a id="0"/>
</A>
<a id="1"/>
</A>
<a id="2"/>
</A>
END
ok $g->start eq q(A);
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 A 1 0
2 a 3 1
3 1 a 2 1
4 2 1
5 3 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 undef [1, 5]
1 { A => 2 } [0]
2 undef [3]
3 { a => 4 } undef
4 1 undef undef
5 { a => 6 } undef
6 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A A a
2 1 A a
END
}
if (1) { #TcompileGrammar
my $g = compileGrammar(<<END);
A A a
A
END
my $t0 = parseWithGrammar($g, qw());
ok !printParseTree($t0);
ok !$t0;
my $t1 = parseWithGrammar($g, qw(a));
ok printParseTree($t1) eq <<END;
Rule Symbol Input
1 0 A
2 1 A
3 a 0
END
my $t3 = parseWithGrammar($g, qw(a a a));
ok printParseTree($t3) eq <<END;
Rule Symbol Input
1 0 A
2 0 A
3 0 A
4 1 A
5 a 0
6 a 1
7 a 2
END
ok $g->dfa->print eq <<END;
State Final Symbol Target Final
1 0 1 A 1 0
2 1 a 2 1
3 2 1
END
ok $g->nfa->print eq <<END;
Location F Transitions Jumps
0 1 undef [1]
1 { A => 2 } [0]
2 undef [3]
3 { a => 4 } undef
4 1 undef undef
END
ok $g->printGrammar eq <<END;
Rule Symbol Expansion
1 0 A A a
2 1 A
END
}
if (1) { #TprintParseTree
my $g = compileGrammar(<<END);
A a A b
A c
END
my $tree = parseWithGrammar($g, qw(a a c b b));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 a 0
3 0 A
4 a 1
5 1 A
6 c 2
7 b 3
8 b 4
END
ok printGrammarAsXml($g) eq <<END;
<grammar>
<A id="0">
<a/>
<A/>
<b/>
</A>
<A id="1">
<c/>
</A>
</grammar>
END
ok $g->start eq q(A);
}
latestTest:;
if (1) { #TprintGrammarAsXml
my $g = compileGrammar(<<END);
A B a
B B b
B
END
my $tree = parseWithGrammar($g, qw(b b a));
ok printParseTree($tree) eq <<END;
Rule Symbol Input
1 0 A
2 1 B
3 1 B
4 2 B
5 b 0
6 b 1
7 a 2
END
ok printGrammarAsXml($g) eq <<END;
<grammar>
<A id="0">
<B/>
<a/>
</A>
<B id="1">
<B/>
<b/>
</B>
<B id="2">
</B>
</grammar>
END
ok $g->start eq q(A);
}
done_testing;
=pod
printParseTreeAndGrammarAsXml 1
=cut
' called at lib/Parser/LR.pm line 766
Parser::LR::test("Parser::LR") called at test.pl line 11
at /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/site_perl/5.30.0/Data/Table/Text.pm line 3576, <DATA> line 285.
Data::Table::Text::__ANON__("Undefined subroutine &Data::DFA::fromNfa called at lib/Parser"...) called at lib/Parser/LR.pm line 767
Parser::LR::test("Parser::LR") called at test.pl line 11
# Looks like your test exited with 255 before it could output anything.
test.pl ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 29/29 subtests
Test Summary Report
-------------------
test.pl (Wstat: 65280 Tests: 0 Failed: 0)
Non-zero exit status: 255
Parse errors: Bad plan. You planned 29 tests but ran 0.
Files=1, Tests=0, 1 wallclock secs ( 0.02 usr 0.02 sys + 0.18 cusr 0.06 csys = 0.28 CPU)
Result: FAIL
Failed 1/1 test programs. 0/0 subtests failed.
------------------------------
PREREQUISITES
------------------------------
Prerequisite modules loaded:
requires:
Module Need Have
----------------- -------- --------
Carp 0 1.50
Data::DFA 20180429 20191028
Data::Dump 0 1.23
Data::NFA 20181027 20191109
Data::Table::Text 20191110 20191110
Exporter 0 5.73
Test2::API 0 1.302166
Test::More 0 1.302166
configure_requires:
Module Need Have
----------------- -------- --------
Module::Build 0.4224 0.42_30
------------------------------
ENVIRONMENT AND OTHER CONTEXT
------------------------------
Environment variables:
AUTOMATED_TESTING = 1
LANG = en_US.UTF-8
PATH = /home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
PERL5LIB =
PERL5OPT =
PERL5_CPANPLUS_IS_RUNNING = 9119
PERL5_CPAN_IS_RUNNING = 9119
PERL_CANARY_STABILITY_NOPROMPT = 1
PERL_MM_USE_DEFAULT = 1
PERL_USE_UNSAFE_INC = 1
SHELL = /usr/bin/zsh
TERM = screen
Perl special variables (and OS-specific diagnostics, for MSWin32):
$^X = /home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/bin/perl
$UID/$EUID = 1005 / 1005
$GID = 1005 1005
$EGID = 1005 1005
Perl module toolchain versions installed:
Module Have
------------------- --------
CPAN 2.26
CPAN::Meta 2.150010
Cwd 3.78
ExtUtils::CBuilder 0.280231
ExtUtils::Command 7.38
ExtUtils::Install 2.14
ExtUtils::MakeMaker 7.38
ExtUtils::Manifest 1.72
ExtUtils::ParseXS 3.40
File::Spec 3.78
JSON 4.02
JSON::PP 4.04
Module::Build 0.42_30
Module::Signature 0.83
Parse::CPAN::Meta 2.150010
Test::Harness 3.42
Test::More 1.302166
YAML 1.29
YAML::Syck 1.31
version 0.9924
--
Summary of my perl5 (revision 5 version 30 subversion 0) configuration:
Derived from: 44523d1ffde5f23de2e13216cdbac46357631904
Platform:
osname=linux
osvers=4.18.0-2-amd64
archname=x86_64-linux-thread-multi
uname='linux k93msid 4.18.0-2-amd64 #1 smp debian 4.18.10-2 (2018-10-07) x86_64 gnulinux '
config_args='-Dprefix=/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb -Dmyhostname=k93msid -Dinstallusrbinperl=n -Uversiononly -Dusedevel -des -Ui_db -Dlibswanted=cl pthread socket inet nsl gdbm dbm malloc dl ld sun m crypt sec util c cposix posix ucb BSD gdbm_compat -Duseithreads -Uuselongdouble -DEBUGGING=both'
hint=recommended
useposix=true
d_sigaction=define
useithreads=define
usemultiplicity=define
use64bitint=define
use64bitall=define
uselongdouble=undef
usemymalloc=n
default_inc_excludes_dot=define
bincompat5005=undef
Compiler:
cc='cc'
ccflags ='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2'
optimize='-O2 -g'
cppflags='-D_REENTRANT -D_GNU_SOURCE -fwrapv -DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include'
ccversion=''
gccversion='8.2.0'
gccosandvers=''
intsize=4
longsize=8
ptrsize=8
doublesize=8
byteorder=12345678
doublekind=3
d_longlong=define
longlongsize=8
d_longdbl=define
longdblsize=16
longdblkind=3
ivtype='long'
ivsize=8
nvtype='double'
nvsize=8
Off_t='off_t'
lseeksize=8
alignbytes=8
prototype=define
Linker and Libraries:
ld='cc'
ldflags =' -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/local/lib /usr/lib/gcc/x86_64-linux-gnu/8/include-fixed /usr/include/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib/../lib /usr/lib/x86_64-linux-gnu /usr/lib/../lib /lib
libs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lpthread -lnsl -ldl -lm -lcrypt -lutil -lc
libc=libc-2.27.so
so=so
useshrplib=false
libperl=libperl.a
gnulibc_version='2.27'
Dynamic Linking:
dlsrc=dl_dlopen.xs
dlext=so
d_dlsymun=undef
ccdlflags='-Wl,-E'
cccdlflags='-fPIC'
lddlflags='-shared -O2 -g -L/usr/local/lib -fstack-protector-strong'
Characteristics of this binary (from libperl):
Compile-time options:
DEBUGGING
HAS_TIMES
MULTIPLICITY
PERLIO_LAYERS
PERL_COPY_ON_WRITE
PERL_DONT_CREATE_GVSV
PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP
PERL_OP_PARENT
PERL_PRESERVE_IVUV
PERL_TRACK_MEMPOOL
PERL_USE_DEVEL
USE_64_BIT_ALL
USE_64_BIT_INT
USE_ITHREADS
USE_LARGE_FILES
USE_LOCALE
USE_LOCALE_COLLATE
USE_LOCALE_CTYPE
USE_LOCALE_NUMERIC
USE_LOCALE_TIME
USE_PERLIO
USE_PERL_ATOF
USE_REENTRANT_API
USE_THREAD_SAFE_LOCALE
Locally applied patches:
uncommitted-changes
Built under linux
Compiled at May 22 2019 22:18:20
%ENV:
PERL5LIB=""
PERL5OPT=""
PERL5_CPANPLUS_IS_RUNNING="9119"
PERL5_CPAN_IS_RUNNING="9119"
PERL_CANARY_STABILITY_NOPROMPT="1"
PERL_MM_USE_DEFAULT="1"
PERL_USE_UNSAFE_INC="1"
@INC:
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/site_perl/5.30.0/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/site_perl/5.30.0
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0/x86_64-linux-thread-multi
/home/sand/src/perl/repoperls/installed-perls/host/k93msid/v5.30.0/29fb/lib/5.30.0
.