Summary: | dev-lang/perl-5.12.1 fails tests (op/while_readdir.t) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | esigra, n-roeser, nikoli |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 300119, 319801 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
![]() Created attachment 239005 [details]
Build log
It looks like more than just a test failure to me, looks like install failure. Its a failure also that it proceeds to install even after 'test' has returned a failure code. Sampled some of the line that look relevant to me to make it easier for others to work out: op/ver.t .......................................................... ok ===( 74316;13 791/942 709/942 188/1452 10906/? 5/5 10/2... )===# Failed at op/while_readdir.t line 73 ===( 74392;13 797/942 714/942 188/1452 10922/? 5/5 10/2... )=== op/while_readdir.t ................................................ Failed 1/10 subtests ===( 74428;13 801/942 717/942 188/1452 10927/? 5/5 10/2... )=== ../lib/FindBin.t .................................................. ok ===( 136202;152 6/16 384/10837 )================================== ===( 136297;152 6/16 478/10837 1/4 )=============================Unquoted string "c" may clash with future reserved word at _h2ph_pre.ph line 162. Compilation failed in require at lib/h2ph.pht line 1. Compilation failed in require at -e line 1. ../lib/h2ph.t ..................................................... ok Test Summary Report ------------------- op/stash.t (Wstat: 0 Tests: 31 Failed: 0) TODO passed: 26 op/while_readdir.t (Wstat: 0 Tests: 10 Failed: 1) Failed test: 6 Files=1805, Tests=357666, 182 wallclock secs (66.39 usr 12.36 sys + 508.06 cusr 58.40 csys = 645.21 CPU) Result: FAIL make: *** [test_harness] Error 1 require Encode::ConfigLocal; Can't require Encode::ConfigLocal: Can't locate Encode/ConfigLocal.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.12.1/i686-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/i686-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/i686-linux-thread-multi /usr/lib/perl5/5.12.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at (eval 61) line 1. * Converting C header files to the corresponding Perl format ... Can't open machine/ansi.h: No such file or directory Can't open sys/_types.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Can't open gnu/stubs-64.h: No such file or directory Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, <IN> line 12820. Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, <IN> line 12869. Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, <IN> line 12963. Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, <IN> line 13012. Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, <IN> line 13321. Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, <IN> line 13370. test-fail-continue is designed to work that way, otherwise the tinderbox would have 1% of the packages installing (In reply to comment #2) > # Failed at op/while_readdir.t line 73 > op/while_readdir.t ................................................ Failed 1/10 > subtests > op/while_readdir.t (Wstat: 0 > Tests: 10 Failed: 1) > Failed test: 6 27 opendir my $dirhandle, '.' 28 or die "Failed test: unable to open directory: $!\n"; 29 30 my @dir = readdir $dirhandle; 31 rewinddir $dirhandle; 32 67 { 68 my @list; 69 my $sub = sub{ 70 push @list, $_; 71 }; 72 $sub->($_) while readdir $dirhandle; 73 ok( eq_array( \@dir, \@list ), '$sub->($_) while readdir' ); 74 rewinddir $dirhandle; 75 } | * Generating ConfigLocal.pm (ignore any error) ... ^^^^^^^^^^^^^^^^ This has always been in there. If someone wants to tackle it, fame and fortune are waiting > require Encode::ConfigLocal; > Can't require Encode::ConfigLocal: Can't locate Encode/ConfigLocal.pm in @INC > (@INC contains: /usr/lib/perl5/site_perl/5.12.1/i686-linux-thread-multi > /usr/lib/perl5/site_perl/5.12.1 > /usr/lib/perl5/vendor_perl/5.12.1/i686-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/i686-linux-thread-multi > /usr/lib/perl5/5.12.1 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at > (eval 61) line 1. > * Converting C header files to the corresponding Perl format ... > Can't open machine/ansi.h: No such file or directory > Can't open sys/_types.h: No such file or directory > Can't open gnu/stubs-64.h: No such file or directory h2ph is dumb (See the BUGS section in h2ph.1). We could hide it or add another comment "Ignore missing headers..." Or do not create the Perl headers at all. > Use of "goto" to jump into a construct is deprecated at /usr/bin/h2ph line 349, > <IN> line 12820. h2ph should be fixed to not use deprecated constructs *shrug* 5.12.1 no longer in the tree. I can't reproduce it on new versions |