Skip Menu |

This queue is for tickets about the CPANPLUS-Dist-Build CPAN distribution.

Report information
The Basics
Id: 46758
Status: open
Priority: 0/
Queue: CPANPLUS-Dist-Build

People
Owner: Nobody in particular
Requestors: perl-cpan [...] bereft.net
Cc:
AdminCc:

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



Subject: make test failure: [ERROR] You do not have 'Module::Build'
I had the following test failure while trying to install CPANPLUS::Dist::Deb using the cpan shell. (perl 5.10.0 on ubuntu jaunty Linux ogum 2.6.28-11-generic #42-Ubuntu) Show quoted text
cpan> install CPANPLUS::Dist::Deb
[..] Checking if your kit is complete... Looks good Writing Makefile for CPANPLUS::Dist::Deb cp lib/CPANPLUS/Dist/Deb.pm blib/lib/CPANPLUS/Dist/Deb.pm cp lib/CPANPLUS/Dist/Deb/Constants.pm blib/lib/CPANPLUS/Dist/Deb/Constants.pm Manifying blib/man3/CPANPLUS::Dist::Deb.3pm KANE/CPANPLUS-Dist-Deb-0.12.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/00_constants....ok t/01_load.........ok t/02_debs.........1/? # Taking care of Build / xs [ERROR] No such author 'IVANTIS' -- can't make module object 'Net::Rovio' that is supposed to belong to this author [ERROR] You do not have 'Module::Build' -- 'CPANPLUS::Dist::Build' not available [ERROR] Format 'CPANPLUS::Dist::Build' is not available Can't call method "prepare" on an undefined value at ../lib/CPANPLUS/Dist/Deb.pm line 360. # Looks like your test exited with 2 just after 3. t/02_debs......... Dubious, test returned 2 (wstat 512, 0x200) All 3 subtests passed Test Summary Report ------------------- t/02_debs (Wstat: 512 Tests: 3 Failed: 0) Non-zero exit status: 2 Files=3, Tests=207, 68 wallclock secs ( 0.07 usr 0.01 sys + 33.13 cusr 0.42 csys = 33.63 CPU) Result: FAIL Failed 1/3 test programs. 0/207 subtests failed. make: *** [test_dynamic] Error 2 KANE/CPANPLUS-Dist-Deb-0.12.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports KANE/CPANPLUS-Dist-Deb-0.12.tar.gz Running make install make test had returned bad status, won't install without force Failed during this command: KANE/CPANPLUS-Dist-Deb-0.12.tar.gz : make_test NO --------- It looks like cpan testers have found it also: http://www.nntp.perl.org/group/perl.cpan.testers/2009/06/msg4034645.html -------- A vanilla "make test" with the downloaded distro: CPANPLUS-Dist-Deb-0.12]$ make test PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_constants....ok t/01_load.........ok t/02_debs.........1/? # Taking care of Build / xs [ERROR] You do not have 'Module::Build' -- 'CPANPLUS::Dist::Build' not available [ERROR] Format 'CPANPLUS::Dist::Build' is not available Can't call method "prepare" on an undefined value at ../lib/CPANPLUS/Dist/Deb.pm line 360. # Looks like your test exited with 2 just after 3. t/02_debs......... Dubious, test returned 2 (wstat 512, 0x200) All 3 subtests passed Test Summary Report ------------------- t/02_debs (Wstat: 512 Tests: 3 Failed: 0) Non-zero exit status: 2 Files=3, Tests=207, 64 wallclock secs ( 0.08 usr 0.01 sys + 33.15 cusr 0.58 csys = 33.82 CPU) Result: FAIL Failed 1/3 test programs. 0/207 subtests failed. make: *** [test_dynamic] Error 2 [18:08 CPANPLUS-Dist-Deb-0.12]$ pmvers Module::Build 0.33 [18:08 CPANPLUS-Dist-Deb-0.12]$ pmvers CPANPLUS::Dist::Build 0.06_02 Same in 0.10.
This seems like a C::D::Build problem (saying it's not available when it's installed), not C::D::Deb.