Skip Menu |

This queue is for tickets about the Safe CPAN distribution.

Report information
The Basics
Id: 55342
Status: resolved
Priority: 0/
Queue: Safe

People
Owner: RGARCIA [...] cpan.org
Requestors: jdhedden [...] 1979.usna.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.25
Fixed in: (no value)



Subject: 'make test' fails under 5.8.8
'make test' fails as follows for Safe 2.25 under Perl 5.8.8: PERL_DL_NONLAZY=1 /usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/arch', 'blib/arch')" t/*.t "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safe1.t line 22. BEGIN failed--compilation aborted at t/safe1.t line 22. t/safe1.t .......... Dubious, test returned 9 (wstat 2304, 0x900) No subtests run "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safe2.t line 19. BEGIN failed--compilation aborted at t/safe2.t line 19. t/safe2.t .......... Dubious, test returned 9 (wstat 2304, 0x900) No subtests run "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safe3.t line 18. BEGIN failed--compilation aborted at t/safe3.t line 18. # Looks like your test exited with 9 before it could output anything. t/safe3.t .......... Dubious, test returned 9 (wstat 2304, 0x900) Failed 2/2 subtests t/safeload.t ....... skipped: (no reason given) t/safeops.t ........ skipped: PERL_CORE unset "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safesort.t line 11. BEGIN failed--compilation aborted at t/safesort.t line 11. t/safesort.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safeuniversal.t line 15. BEGIN failed--compilation aborted at t/safeuniversal.t line 15. t/safeuniversal.t .. Dubious, test returned 9 (wstat 2304, 0x900) No subtests run "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safeutf8.t line 13. BEGIN failed--compilation aborted at t/safeutf8.t line 13. # Looks like your test exited with 9 before it could output anything. t/safeutf8.t ....... Dubious, test returned 9 (wstat 2304, 0x900) Failed 7/7 subtests "sub_generation" is not exported by the B module Can't continue after import errors at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6 BEGIN failed--compilation aborted at /var/perl/cpan/build/Safe-2.25/blib/arch/Safe.pm line 6. Compilation failed in require at t/safewrap.t line 13. BEGIN failed--compilation aborted at t/safewrap.t line 13. t/safewrap.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) No subtests run Test Summary Report ------------------- t/safe1.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/safe2.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/safe3.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 2 tests but ran 0. t/safesort.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output t/safeuniversal.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: No plan found in TAP output t/safeutf8.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 7 tests but ran 0. t/safewrap.t (Wstat: 65280 Tests: 0 Failed: 0) Non-zero exit status: 255 Parse errors: No plan found in TAP output Files=9, Tests=0, 2 wallclock secs ( 0.14 usr 0.05 sys + 1.54 cusr 0.66 csys = 2.39 CPU) Result: FAIL Failed 7/9 test programs. 0/0 subtests failed. make: *** [test_dynamic] Error 255
From: jdhedden [...] 1979.usna.com
On Mon Mar 08 09:46:55 2010, jdhedden@1979.usna.com wrote: Show quoted text
> 'make test' fails as follows for Safe 2.25 under Perl 5.8.8:
FYI, this is very nasty it. If the user forces the install of this version of Safe, then the 'cpan' command breaks: Show quoted text
> perl -MCPAN -e 'CPAN::Shell->r;'
"sub_generation" is not exported by the B module Can't continue after import errors at /usr/lib/perl5/5.8/cygwin/Safe.pm line 6 BEGIN failed--compilation aborted at /usr/lib/perl5/5.8/cygwin/Safe.pm line 6. Compilation failed in require at /usr/lib/perl5/5.8/CPAN.pm line 55. BEGIN failed--compilation aborted at /usr/lib/perl5/5.8/CPAN.pm line 55. Compilation failed in require. BEGIN failed--compilation aborted.
I see... B::sub_generation is available on 5.8.9 and I assumed to fast it was there for all 5.8.x series. I'll release a new Safe with a workaround soon.
This should be fixed in 2.26.