Skip Menu |

This queue is for tickets about the Devel-GlobalDestruction CPAN distribution.

Report information
The Basics
Id: 56243
Status: rejected
Priority: 0/
Queue: Devel-GlobalDestruction

People
Owner: Nobody in particular
Requestors: alex [...] peters.net
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.02
Fixed in: (no value)



Subject: Params::Util not listed as prerequisite
[monaco]$ make TEST_VERBOSE=1 test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/basic.t .. Undefined subroutine &main::in_global_destruction called at t/basic.t line 25. 1..4 not ok - use Devel::GlobalDestruction not ok - exported Dubious, test returned 2 (wstat 512, 0x200) Failed 4/4 subtests Test Summary Report ------------------- t/basic.t (Wstat: 512 Tests: 2 Failed: 2) Failed tests: 1-2 Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 2. Files=1, Tests=2, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.01 cusr 0.00 csys = 0.03 CPU) Result: FAIL Failed 1/1 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 [monaco]$ make install Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Installing /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Devel/GlobalDestruction/GlobalDestruction.so Installing /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Devel/GlobalDestruction/GlobalDestruction.bs Installing /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Devel/GlobalDestruction.pm Installing /home/lxperl2/perl5/man/man3/Devel::GlobalDestruction.3pm Appending installation info to /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod [monaco]$ perl -MDevel::GlobalDestruction Can't locate Params/Util.pm in @INC (@INC contains: /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/lxperl2/perl5/lib/perl5 /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /home/lxperl2/perl5/lib/perl5/Data/OptList.pm line 7. BEGIN failed--compilation aborted at /home/lxperl2/perl5/lib/perl5/Data/OptList.pm line 7. Compilation failed in require at /home/lxperl2/perl5/lib/perl5/Sub/Exporter.pm line 7. BEGIN failed--compilation aborted at /home/lxperl2/perl5/lib/perl5/Sub/Exporter.pm line 7. Compilation failed in require at /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Devel/GlobalDestruction.pm line 29. BEGIN failed--compilation aborted at /home/lxperl2/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/Devel/GlobalDestruction.pm line 29. Compilation failed in require. BEGIN failed--compilation aborted. [monaco]$ cpanm Params::Util Fetching http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/Params-Util-1.01.tar.gz ... OK Configuring Params-Util-1.01 ... OK Building and testing Params-Util-1.01 for Params::Util ... OK Successfully installed Params-Util-1.01 [monaco]$ perl -MDevel::GlobalDestruction <success>
On Fri Apr 02 21:43:44 2010, http://alexpeters.net/ wrote: Show quoted text
> ...
In short, tests fail without a clear reason; subsequent installation succeeds but using the module fails because of another missing module. Installation of that module fixes the tests. :)
My bad; it turns out that my Perl installation on a certain shared host is borked. No further action needed; sorry for the noise pollution. :)