This queue is for tickets about the CPAN CPAN distribution.

Report information
The Basics
Id:
21223
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Normal
Broken in:
1.87_57
Fixed in:
(no value)



Subject: Installing 1.87_57 through CPAN shell dies on t/12cpan
Tests fail when installing 1.87_57 through the CPAN shell (v1.87). I've attached the output of the failed install. This is on Mac OS X 10.4.7, using the stock perl from Apple (v5.8.6 built for darwin-thread-multi-2level).
Subject: cpan_install.txt
[tiu:~] samofool% sudo cpan Password: CPAN: File::HomeDir loaded ok cpan shell -- CPAN exploration and modules installation (v1.87) ReadLine support enabled cpan> install ANDK/CPAN-1.87_57.tar.gz CPAN: Storable loaded ok Going to read /Users/samofool/.cpan/Metadata Database was generated on Tue, 29 Aug 2006 11:29:43 GMT Running make for A/AN/ANDK/CPAN-1.87_57.tar.gz CPAN: Digest::SHA loaded ok CPAN: Module::Signature loaded ok gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC Signature for /Users/samofool/.cpan/sources/authors/id/A/AN/ANDK/CHECKSUMS ok CPAN: Compress::Zlib loaded ok Checksum for /Users/samofool/.cpan/sources/authors/id/A/AN/ANDK/CPAN-1.87_57.tar.gz ok Scanning cache /Users/samofool/.cpan/build for sizes CPAN-1.87_57/ CPAN-1.87_57/t/ CPAN-1.87_57/t/30shell.t CPAN-1.87_57/t/50pod.t CPAN-1.87_57/t/CPAN/ CPAN-1.87_57/t/CPAN/modules/ CPAN-1.87_57/t/CPAN/modules/02packages.details.txt CPAN-1.87_57/t/CPAN/modules/03modlist.data CPAN-1.87_57/t/CPAN/CpanTestDummies-1.55.pm CPAN-1.87_57/t/CPAN/authors/ CPAN-1.87_57/t/CPAN/authors/id/ CPAN-1.87_57/t/CPAN/authors/id/A/ CPAN-1.87_57/t/CPAN/authors/id/A/AN/ CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/ CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CHECKSUMS@588 CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CPAN-Test-Dummy-Perl5-Build-Fails-1.01.tar.gz CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CPAN-Test-Dummy-Perl5-Make-Zip-1.01.zip CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CPAN-Test-Dummy-Perl5-BuildOrMake-1.01.tar.gz CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CPAN-Test-Dummy-Perl5-Make-Failearly-1.01.tar.gz CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CPAN-Test-Dummy-Perl5-Make-1.02.tar.gz CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CPAN-Test-Dummy-Perl5-Build-1.01.tar.gz CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/CHECKSUMS CPAN-1.87_57/t/CPAN/authors/id/A/AN/ANDK/NotInChecksums-0.000.tar.gz CPAN-1.87_57/t/CPAN/authors/id/A/AN/CHECKSUMS CPAN-1.87_57/t/CPAN/authors/id/A/CHECKSUMS CPAN-1.87_57/t/CPAN/authors/id/CHECKSUMS CPAN-1.87_57/t/CPAN/authors/01mailrc.txt CPAN-1.87_57/t/CPAN/TestConfig.pm CPAN-1.87_57/t/12cpan.t CPAN-1.87_57/t/02nox.t CPAN-1.87_57/t/01loadme.t CPAN-1.87_57/t/10version.t CPAN-1.87_57/t/03pkgs.t CPAN-1.87_57/t/60credentials.t CPAN-1.87_57/t/30shell.pod CPAN-1.87_57/t/00signature.t CPAN-1.87_57/t/README.shell.txt CPAN-1.87_57/t/11mirroredby.t CPAN-1.87_57/lib/ CPAN-1.87_57/lib/CPAN.pm CPAN-1.87_57/lib/CPAN/ CPAN-1.87_57/lib/CPAN/Debug.pm CPAN-1.87_57/lib/CPAN/FirstTime.pm CPAN-1.87_57/lib/CPAN/Admin.pm CPAN-1.87_57/lib/CPAN/Tarzip.pm CPAN-1.87_57/lib/CPAN/Version.pm CPAN-1.87_57/lib/CPAN/Nox.pm CPAN-1.87_57/lib/CPAN/HandleConfig.pm CPAN-1.87_57/inc/ CPAN-1.87_57/inc/Test/ CPAN-1.87_57/inc/Test/Builder.pm CPAN-1.87_57/inc/Test/More.pm CPAN-1.87_57/PAUSE2003.pub CPAN-1.87_57/Changes CPAN-1.87_57/MANIFEST CPAN-1.87_57/scripts/ CPAN-1.87_57/scripts/cpan CPAN-1.87_57/META.yml CPAN-1.87_57/ChangeLog CPAN-1.87_57/Changes.old CPAN-1.87_57/ChangeLog.old CPAN-1.87_57/MANIFEST.SKIP CPAN-1.87_57/PAUSE2005.pub CPAN-1.87_57/Todo CPAN-1.87_57/SIGNATURE CPAN-1.87_57/README CPAN-1.87_57/Makefile.PL Removing previously used /Users/samofool/.cpan/build/CPAN-1.87_57 gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 50A0 ED26 8AA2 95BD 2CA0 411E EC80 39F0 A317 C15D CPAN.pm: Going to build A/AN/ANDK/CPAN-1.87_57.tar.gz Importing PAUSE public key into your GnuPG keychain... gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" done! (You may wish to trust it locally with 'gpg --lsign-key 450F89EC') Checking if your kit is complete... Looks good Writing Makefile for CPAN CPAN: YAML loaded ok cp lib/CPAN/Version.pm blib/lib/CPAN/Version.pm cp lib/CPAN.pm blib/lib/CPAN.pm cp lib/CPAN/Admin.pm blib/lib/CPAN/Admin.pm cp lib/CPAN/Tarzip.pm blib/lib/CPAN/Tarzip.pm cp lib/CPAN/Debug.pm blib/lib/CPAN/Debug.pm cp lib/CPAN/HandleConfig.pm blib/lib/CPAN/HandleConfig.pm cp lib/CPAN/Nox.pm blib/lib/CPAN/Nox.pm cp lib/CPAN/FirstTime.pm blib/lib/CPAN/FirstTime.pm cp scripts/cpan blib/script/cpan /usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/cpan Manifying blib/man1/cpan.1 Manifying blib/man3/CPAN.3pm Manifying blib/man3/CPAN::Version.3pm Manifying blib/man3/CPAN::Admin.3pm Manifying blib/man3/CPAN::Nox.3pm Manifying blib/man3/CPAN::FirstTime.3pm /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/00signature......gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" gpg: WARNING: unsafe ownership on configuration file "/Users/samofool/.gnupg/gpg.conf" WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 50A0 ED26 8AA2 95BD 2CA0 411E EC80 39F0 A317 C15D t/00signature......ok t/01loadme.........ok t/02nox............ok t/03pkgs...........ok t/10version........Version string '0.0a' contains invalid data; ignoring: 'a' at t/10version.t line 36, <DATA> line 45. Version string '1.1a' contains invalid data; ignoring: 'a' at t/10version.t line 36, <DATA> line 45. Version string 'VERSION' contains invalid data; ignoring: 'VERSION' at t/10version.t line 36, <DATA> line 45. Version string 'VERSION' contains invalid data; ignoring: 'VERSION' at t/10version.t line 36, <DATA> line 45. Version string 'undef' contains invalid data; ignoring: 'undef' at t/10version.t line 36, <DATA> line 45. Version string '1.3a5' contains invalid data; ignoring: 'a5' at t/10version.t line 36, <DATA> line 45. Version string 'undef' contains invalid data; ignoring: 'undef' at t/10version.t line 36, <DATA> line 45. Version string 'undef' contains invalid data; ignoring: 'undef' at t/10version.t line 36, <DATA> line 45. t/10version........ok t/11mirroredby.....ok t/12cpan...........NOK 4 # Failed test in t/12cpan.t at line 49. # got: '$VERSION = "1.05";' # expected: 'Fcntl' # Looks like you failed 1 test of 4. t/12cpan...........dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 4 Failed 1/4 tests, 75.00% okay t/30shell..........skipped all skipped: only validated on linux; maybe try env CPAN_RUN_SHELL_TEST=1 t/50pod............ok t/60credentials....ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/12cpan.t 1 256 4 1 25.00% 4 1 test skipped. Failed 1/10 test scripts, 90.00% okay. 1/86 subtests failed, 98.84% okay. make: *** [test_dynamic] Error 2 /usr/bin/make test -- NOT OK Running make install make test had returned bad status, won't install without force Failed during this command: ANDK/CPAN-1.87_57.tar.gz : make_test NO cpan>
Subject: Re: [rt.cpan.org #21223] Installing 1.87_57 through CPAN shell dies on t/12cpan
Date: Wed, 30 Aug 2006 08:12:16 +0200
To: bug-CPAN@rt.cpan.org
From: andreas.koenig.gmwojprw@franz.ak.mind.de (Andreas J. Koenig)
Show quoted text
>>>>> On Tue, 29 Aug 2006 14:59:04 -0400, " via RT" <bug-CPAN@rt.cpan.org> said:
Show quoted text
> Tue Aug 29 14:59:02 2006: Request 21223 was acted upon. > Transaction: Ticket created by GWILLIAMS > Queue: CPAN > Subject: Installing 1.87_57 through CPAN shell dies on t/12cpan > Broken in: 1.87_57 > Severity: Normal > Owner: Nobody > Requestors: GWILLIAMS@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=21223 >
Show quoted text
> Tests fail when installing 1.87_57 through the CPAN shell (v1.87). I've attached the output of
[...]
Show quoted text
> t/12cpan...........NOK 4 > # Failed test in t/12cpan.t at line 49. > # got: '$VERSION = "1.05";' > # expected: 'Fcntl' > # Looks like you failed 1 test of 4. > t/12cpan...........dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 4 > Failed 1/4 tests, 75.00% okay
This is a MakeMaker bug which was fixed in MakeMaker 6.18. Please upgrade. In my copy I have a workaround to protect CPAN.pm against the MakeMaker bug, so future releases will not fail on this test with older MakeMaker versions Thanks for the report! -- andreas
Worked around the issue in _58 or _59 Thanks for the report


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.