Skip Menu |

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

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

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

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



Subject: Unable to build - messages not verbose enough to determine cause
I'm unable to build Devel::GlobalDestruction, and the messages emitted do not provide me with enough information to debug the cause. The best I can do right now is tell you that the tests fail due to an undefined function, main::in_global_destruction. I've attached the build output.
Subject: dgdbuild.txt
Checking if your kit is complete... Looks good Writing Makefile for Devel::GlobalDestruction cp lib/Devel/GlobalDestruction.pm blib/lib/Devel/GlobalDestruction.pm /usr/bin/perl /home/cww/local/perl5lib/lib/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap GlobalDestruction.xs > GlobalDestruction.xsc && mv GlobalDestruction.xsc GlobalDestruction.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl/5.10/CORE" GlobalDestruction.c Running Mkbootstrap for Devel::GlobalDestruction () chmod 644 GlobalDestruction.bs rm -f blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector GlobalDestruction.o -o blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.so \ \ chmod 755 blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.so cp GlobalDestruction.bs blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.bs chmod 644 blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.bs Manifying blib/man3/Devel::GlobalDestruction.3pm NUFFIN/Devel-GlobalDestruction-0.02.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic.t .. Undefined subroutine &main::in_global_destruction called at t/basic.t line 25. t/basic.t .. 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.04 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.06 CPU) Result: FAIL Failed 1/1 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 NUFFIN/Devel-GlobalDestruction-0.02.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NUFFIN/Devel-GlobalDestruction-0.02.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: NUFFIN/Devel-GlobalDestruction-0.02.tar.gz : make_test NO
I'm still unable to build, but I now have a slightly different error: the main::in_global_destruction function does not exist. Please see attachment for full build/test output.
Subject: dgdbuild.txt
Checking if your kit is complete... Looks good Writing Makefile for Devel::GlobalDestruction cp lib/Devel/GlobalDestruction.pm blib/lib/Devel/GlobalDestruction.pm /usr/bin/perl /home/cww/local/perl5lib/lib/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap GlobalDestruction.xs > GlobalDestruction.xsc && mv GlobalDestruction.xsc GlobalDestruction.c cc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl/5.10/CORE" GlobalDestruction.c Running Mkbootstrap for Devel::GlobalDestruction () chmod 644 GlobalDestruction.bs rm -f blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.so cc -shared -O2 -g -L/usr/local/lib -fstack-protector GlobalDestruction.o -o blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.so \ \ chmod 755 blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.so cp GlobalDestruction.bs blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.bs chmod 644 blib/arch/auto/Devel/GlobalDestruction/GlobalDestruction.bs Manifying blib/man3/Devel::GlobalDestruction.3pm NUFFIN/Devel-GlobalDestruction-0.02.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/basic.t .. Undefined subroutine &main::in_global_destruction called at t/basic.t line 25. t/basic.t .. 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.04 usr 0.00 sys + 0.02 cusr 0.00 csys = 0.06 CPU) Result: FAIL Failed 1/1 test programs. 2/2 subtests failed. make: *** [test_dynamic] Error 2 NUFFIN/Devel-GlobalDestruction-0.02.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports NUFFIN/Devel-GlobalDestruction-0.02.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: NUFFIN/Devel-GlobalDestruction-0.02.tar.gz : make_test NO
Subject: Re: [rt.cpan.org #56382] Unable to build - messages not verbose enough to determine cause
Date: Thu, 22 Apr 2010 01:38:52 +0300
To: bug-Devel-GlobalDestruction [...] rt.cpan.org
From: Yuval Kogman <nuffin [...] cpan.org>
Can you try the latest version from github? It's a little more careful about not silencing errors, it looks like XSLoader is being loaded, but then the eval { } is silencing the errors from the bootstrap. http://github.com/nothingmuch/devel-globaldestruction
On Wed Apr 21 18:39:28 2010, NUFFIN wrote: Show quoted text
> Can you try the latest version from github? It's a little more careful > about not silencing errors, it looks like XSLoader is being loaded, > but then the eval { } is silencing the errors from the bootstrap. > > http://github.com/nothingmuch/devel-globaldestruction
Thanks for your response. It looks like the new code will probably help debug similar situations in the future. I upgraded my Perl by a minor Debian version (5.10.1-11 to 5.10.1-12), and the module builds fine now. It appears 5.10.1-11 contained a bug.
This ticket can likely be closed then.