This queue is for tickets about the CPAN CPAN distribution.

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

People
Owner:
Nobody in particular
Requestors:
'spro^^*%*^6ut# [...] &$%*c
Cc:
AdminCc:

BugTracker
Severity:
Critical
Broken in:
(no value)
Fixed in:
2.05



Subject: force install no longer works when tests fail
$ perl5.19.8 -S pmvers CPAN 2.03 $ cpan5.19.8 ...
Show quoted text
cpan> force install File::HomeDir
... Test Summary Report ------------------- t/02_main.t (Wstat: 1024 Tests: 39 Failed: 4) Failed tests: 25-26, 31-32 Non-zero exit status: 4 Files=6, Tests=94, 1 wallclock secs ( 0.11 usr 0.01 sys + 0.74 cusr 0.06 csys = 0.92 CPU) Result: FAIL Failed 1/6 test programs. 4/94 subtests failed. make: *** [test_dynamic] Error 255 ADAMK/File-HomeDir-1.00.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports ADAMK/File-HomeDir-1.00.tar.gz Failed during this command: ADAMK/File-HomeDir-1.00.tar.gz : make_test NO
Show quoted text
cpan>
I just did ‘force install’, so why is it not installing it? I am marking this as critical, because it basically makes the cpan shell useless for me when there are test failures. I will have to install modules manually now. Full output: $ cpan5.19.8 cpan shell -- CPAN exploration and modules installation (v2.03) Enter 'h' for help.
Show quoted text
cpan> force install File::HomeDir
CPAN: Time::HiRes loaded ok (v1.9726) CPAN: Net::FTP loaded ok (v2.78) Fetching with Net::FTP: ftp://mirror.xmission.com/CPAN/authors/01mailrc.txt.gz Reading '/Users/sprout/.cpan/sources/authors/01mailrc.txt.gz' CPAN: Compress::Zlib loaded ok (v2.063) ............................................................................DONE Fetching with Net::FTP: ftp://mirror.xmission.com/CPAN/modules/02packages.details.txt.gz Reading '/Users/sprout/.cpan/sources/modules/02packages.details.txt.gz' Database was generated on Fri, 27 Dec 2013 22:41:07 GMT HTTP::Date not available ............................................................................DONE Fetching with Net::FTP: ftp://mirror.xmission.com/CPAN/modules/03modlist.data.gz Reading '/Users/sprout/.cpan/sources/modules/03modlist.data.gz' ............................................................................DONE Running install for module 'File::HomeDir' CPAN: Digest::SHA loaded ok (v5.85) Checksum for /Users/sprout/.cpan/sources/authors/id/A/AD/ADAMK/File-HomeDir-1.00.tar.gz ok Scanning cache /Users/sprout/.cpan/build for sizes ............................------------------------------------------------DONE DEL(1/76): /Users/sprout/.cpan/build/Encode-2.55-uZLdOK DEL(2/76): /Users/sprout/.cpan/build/Acme-Pythonic-0.47-75TTjN-orig DEL(3/76): /Users/sprout/.cpan/build/Acme-Pythonic-0.47-75TTjN DEL(4/76): /Users/sprout/.cpan/build/.DS_Store DEL(5/76): /Users/sprout/.cpan/build/Enbugger-2.013-dRHoGT DEL(6/76): /Users/sprout/.cpan/build/ExtUtils-Depends-0.306-NpJAJI DEL(7/76): /Users/sprout/.cpan/build/Task-Weaken-1.04-AEpbme DEL(8/76): /Users/sprout/.cpan/build/B-Utils-0.21-LJ5G8o DEL(9/76): /Users/sprout/.cpan/build/Enbugger-2.013-cRJJZm DEL(10/76): /Users/sprout/.cpan/build/Module-Build-0.4203-POlCQ6 DEL(11/76): /Users/sprout/.cpan/build/Data-Integer-0.004-Mn5yU9 DEL(12/76): /Users/sprout/.cpan/build/Data-Float-0.012-Skzaxm DEL(13/76): /Users/sprout/.cpan/build/Scalar-Number-0.006-EajM1G DEL(14/76): /Users/sprout/.cpan/build/Modern-Perl-1.20121103-0zBf13 DEL(15/76): /Users/sprout/.cpan/build/ExtUtils-Config-0.007-pVzhuZ DEL(16/76): /Users/sprout/.cpan/build/ExtUtils-InstallPaths-0.010-B2xuiH DEL(17/76): /Users/sprout/.cpan/build/ExtUtils-Helpers-0.021-3iPh5I DEL(18/76): /Users/sprout/.cpan/build/Module-Build-Tiny-0.030-PZakD8 DEL(19/76): /Users/sprout/.cpan/build/Sub-Name-0.05-V1flJ7 DEL(20/76): /Users/sprout/.cpan/build/Try-Tiny-0.18-KX7VLY DEL(21/76): /Users/sprout/.cpan/build/Test-Fatal-0.013-8EHxke DEL(22/76): /Users/sprout/.cpan/build/Module-Runtime-0.013-Rw3vMQ DEL(23/76): /Users/sprout/.cpan/build/List-MoreUtils-0.33-Scw9KV DEL(24/76): /Users/sprout/.cpan/build/Dist-CheckConflicts-0.10-BB1dme DEL(25/76): /Users/sprout/.cpan/build/Test-Requires-0.07-C2FQpK DEL(26/76): /Users/sprout/.cpan/build/Package-Stash-XS-0.28-ihhbzI DEL(27/76): /Users/sprout/.cpan/build/Module-Implementation-0.07-38rbZQ DEL(28/76): /Users/sprout/.cpan/build/Package-Stash-0.36-BIdFh5 DEL(29/76): /Users/sprout/.cpan/build/Params-Util-1.07-zNwlyE DEL(30/76): /Users/sprout/.cpan/build/Sub-Install-0.927-asaiFy DEL(31/76): /Users/sprout/.cpan/build/Data-OptList-0.109-jD2tK4 DEL(32/76): /Users/sprout/.cpan/build/Class-Load-0.20-stz3_B DEL(33/76): /Users/sprout/.cpan/build/Sub-Exporter-0.987-c80JjZ DEL(34/76): /Users/sprout/.cpan/build/Sub-Exporter-Progressive-0.001011-PThbku DEL(35/76): /Users/sprout/.cpan/build/Devel-GlobalDestruction-0.12-CAvUSD DEL(36/76): /Users/sprout/.cpan/build/Package-DeprecationManager-0.13-dmtzi4 DEL(37/76): /Users/sprout/.cpan/build/Class-Load-XS-0.06-bDoNax DEL(38/76): /Users/sprout/.cpan/build/MRO-Compat-0.12-nmVpPg DEL(39/76): /Users/sprout/.cpan/build/Eval-Closure-0.11-mB8qeL DEL(40/76): /Users/sprout/.cpan/build/Test-Tester-0.109-bldydm DEL(41/76): /Users/sprout/.cpan/build/Test-NoWarnings-1.04-FQIlEy DEL(42/76): /Users/sprout/.cpan/build/Test-Deep-0.112-Lg_eWI DEL(43/76): /Users/sprout/.cpan/build/CPAN-Meta-Check-0.008-ABHEbN DEL(44/76): /Users/sprout/.cpan/build/Test-CheckDeps-0.010-fTcRlQ DEL(45/76): /Users/sprout/.cpan/build/Moose-2.1005-mgOQtJ DEL(46/76): /Users/sprout/.cpan/build/Variable-Magic-0.53-NxMjOe DEL(47/76): /Users/sprout/.cpan/build/B-Hooks-EndOfScope-0.12-_i8UQb DEL(48/76): /Users/sprout/.cpan/build/namespace-clean-0.24-m2aR3T DEL(49/76): /Users/sprout/.cpan/build/namespace-autoclean-0.15-RK78Vp DEL(50/76): /Users/sprout/.cpan/build/Sub-Uplevel-0.24-cSUZWB DEL(51/76): /Users/sprout/.cpan/build/Test-Exception-0.32-hTknaz DEL(52/76): /Users/sprout/.cpan/build/Carp-Clan-6.04-cgsbtg DEL(53/76): /Users/sprout/.cpan/build/MooseX-Types-0.41-fqSMOj DEL(54/76): /Users/sprout/.cpan/build/TimeDate-2.30-nCCDXQ DEL(55/76): /Users/sprout/.cpan/build/Params-Validate-1.08-yQUOzE DEL(56/76): /Users/sprout/.cpan/build/DateTime-Locale-0.45-jZFOEA DEL(57/76): /Users/sprout/.cpan/build/Capture-Tiny-0.23-ZtKmxB DEL(58/76): /Users/sprout/.cpan/build/Test-Output-1.02-jmkqfL DEL(59/76): /Users/sprout/.cpan/build/Class-Singleton-1.4-ajgT1V DEL(60/76): /Users/sprout/.cpan/build/DateTime-TimeZone-1.63-Y0_NJI DEL(61/76): /Users/sprout/.cpan/build/DateTime-1.05-geEEyU DEL(62/76): /Users/sprout/.cpan/build/DateTime-Format-DateParse-0.05-WweSL9 DEL(63/76): /Users/sprout/.cpan/build/String-Palindrome-2.000001-hn_9KY DEL(64/76): /Users/sprout/.cpan/build/Readonly-1.04-bMzBit DEL(65/76): /Users/sprout/.cpan/build/Exporter-Easy-0.16-kXhAUZ DEL(66/76): /Users/sprout/.cpan/build/Devel-StackTrace-1.30-iqEb8R DEL(67/76): /Users/sprout/.cpan/build/Class-Data-Inheritable-0.08-UvzbCK DEL(68/76): /Users/sprout/.cpan/build/Exception-Class-1.37-wpp1Y0 DEL(69/76): /Users/sprout/.cpan/build/Tree-DAG_Node-1.18-3xUlSM DEL(70/76): /Users/sprout/.cpan/build/File-Slurp-9999.19-5AvEGs DEL(71/76): /Users/sprout/.cpan/build/Test-Warn-0.24-b8jmEq DEL(72/76): /Users/sprout/.cpan/build/Algorithm-Diff-1.1902-K4Muq9 DEL(73/76): /Users/sprout/.cpan/build/Text-Diff-1.41-o2LKaT DEL(74/76): /Users/sprout/.cpan/build/Test-Differences-0.61-eTLqz0 DEL(75/76): /Users/sprout/.cpan/build/Test-Most-0.31-mMd2Kd DEL(76/76): /Users/sprout/.cpan/build/Math-Big-1.12-XfnP1l x File-HomeDir-1.00/ x File-HomeDir-1.00/README x File-HomeDir-1.00/Makefile.PL x File-HomeDir-1.00/LICENSE x File-HomeDir-1.00/MYMETA.json x File-HomeDir-1.00/xt/ x File-HomeDir-1.00/xt/meta.t x File-HomeDir-1.00/xt/pmv.t x File-HomeDir-1.00/xt/pod.t x File-HomeDir-1.00/t/ x File-HomeDir-1.00/t/10_test.t x File-HomeDir-1.00/t/02_main.t x File-HomeDir-1.00/t/12_darwin_carbon.t x File-HomeDir-1.00/t/11_darwin.t x File-HomeDir-1.00/t/13_darwin_cocoa.t x File-HomeDir-1.00/t/01_compile.t x File-HomeDir-1.00/META.yml x File-HomeDir-1.00/MANIFEST x File-HomeDir-1.00/Changes x File-HomeDir-1.00/inc/ x File-HomeDir-1.00/inc/Module/ x File-HomeDir-1.00/inc/Module/Install/ x File-HomeDir-1.00/inc/Module/Install/Can.pm x File-HomeDir-1.00/inc/Module/Install/Base.pm x File-HomeDir-1.00/inc/Module/Install/Fetch.pm x File-HomeDir-1.00/inc/Module/Install/Win32.pm x File-HomeDir-1.00/inc/Module/Install/WriteAll.pm x File-HomeDir-1.00/inc/Module/Install/Metadata.pm x File-HomeDir-1.00/inc/Module/Install/Makefile.pm x File-HomeDir-1.00/inc/Module/Install.pm x File-HomeDir-1.00/lib/ x File-HomeDir-1.00/lib/File/ x File-HomeDir-1.00/lib/File/HomeDir.pm x File-HomeDir-1.00/lib/File/HomeDir/ x File-HomeDir-1.00/lib/File/HomeDir/FreeDesktop.pm x File-HomeDir-1.00/lib/File/HomeDir/Unix.pm x File-HomeDir-1.00/lib/File/HomeDir/MacOS9.pm x File-HomeDir-1.00/lib/File/HomeDir/Driver.pm x File-HomeDir-1.00/lib/File/HomeDir/Darwin.pm x File-HomeDir-1.00/lib/File/HomeDir/Windows.pm x File-HomeDir-1.00/lib/File/HomeDir/Test.pm x File-HomeDir-1.00/lib/File/HomeDir/Darwin/ x File-HomeDir-1.00/lib/File/HomeDir/Darwin/Carbon.pm x File-HomeDir-1.00/lib/File/HomeDir/Darwin/Cocoa.pm CPAN: File::Temp loaded ok (v0.2304) 'YAML' not installed, will not store persistent state CPAN: Parse::CPAN::Meta loaded ok (v1.4409) CPAN: CPAN::Meta loaded ok (v2.133380) CPAN: Module::CoreList loaded ok (v3.04) Configuring A/AD/ADAMK/File-HomeDir-1.00.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for File::HomeDir Writing MYMETA.yml and MYMETA.json ADAMK/File-HomeDir-1.00.tar.gz /usr/local/bin/perl5.19.8 Makefile.PL -- OK Running make for A/AD/ADAMK/File-HomeDir-1.00.tar.gz cp lib/File/HomeDir/Darwin/Cocoa.pm blib/lib/File/HomeDir/Darwin/Cocoa.pm cp lib/File/HomeDir/Darwin.pm blib/lib/File/HomeDir/Darwin.pm cp lib/File/HomeDir/Driver.pm blib/lib/File/HomeDir/Driver.pm cp lib/File/HomeDir/Windows.pm blib/lib/File/HomeDir/Windows.pm cp lib/File/HomeDir/MacOS9.pm blib/lib/File/HomeDir/MacOS9.pm cp lib/File/HomeDir.pm blib/lib/File/HomeDir.pm cp lib/File/HomeDir/Unix.pm blib/lib/File/HomeDir/Unix.pm cp lib/File/HomeDir/Test.pm blib/lib/File/HomeDir/Test.pm cp lib/File/HomeDir/Darwin/Carbon.pm blib/lib/File/HomeDir/Darwin/Carbon.pm cp lib/File/HomeDir/FreeDesktop.pm blib/lib/File/HomeDir/FreeDesktop.pm Manifying blib/man3/File::HomeDir.3 Manifying blib/man3/File::HomeDir::Darwin.3 Manifying blib/man3/File::HomeDir::Darwin::Carbon.3 Manifying blib/man3/File::HomeDir::Darwin::Cocoa.3 Manifying blib/man3/File::HomeDir::Driver.3 Manifying blib/man3/File::HomeDir::FreeDesktop.3 Manifying blib/man3/File::HomeDir::MacOS9.3 Manifying blib/man3/File::HomeDir::Test.3 Manifying blib/man3/File::HomeDir::Unix.3 Manifying blib/man3/File::HomeDir::Windows.3 ADAMK/File-HomeDir-1.00.tar.gz /usr/bin/make -- OK Running make test PERL_DL_NONLAZY=1 /usr/local/bin/perl5.19.8 "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t t/01_compile.t ........ 1/11 # Implemented by: File::HomeDir::Darwin::Cocoa t/01_compile.t ........ ok t/02_main.t ........... 1/39 # Failed test 'Our pictures directory exists' # at t/02_main.t line 224. # Failed test 'Our pictures directory exists' # at t/02_main.t line 225. # Failed test 'Our videos directory exists' # at t/02_main.t line 244. # Failed test 'Our videos directory exists' # at t/02_main.t line 245. # Looks like you failed 4 tests of 39. t/02_main.t ........... Dubious, test returned 4 (wstat 1024, 0x400) Failed 4/39 subtests (less 1 skipped subtest: 34 okay) t/10_test.t ........... ok t/11_darwin.t ......... ok t/12_darwin_carbon.t .. skipped: Not running on 32-bit Darwin t/13_darwin_cocoa.t ... ok Test Summary Report ------------------- t/02_main.t (Wstat: 1024 Tests: 39 Failed: 4) Failed tests: 25-26, 31-32 Non-zero exit status: 4 Files=6, Tests=94, 1 wallclock secs ( 0.11 usr 0.01 sys + 0.74 cusr 0.06 csys = 0.92 CPU) Result: FAIL Failed 1/6 test programs. 4/94 subtests failed. make: *** [test_dynamic] Error 255 ADAMK/File-HomeDir-1.00.tar.gz /usr/bin/make test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports ADAMK/File-HomeDir-1.00.tar.gz Failed during this command: ADAMK/File-HomeDir-1.00.tar.gz : make_test NO
Show quoted text
cpan>
Confirmed. Bisect points to e65b8788cb218a2990a033d0c60a3dd9f737afaf but there's more than one commit involved. One must switch back to 2.00, all 2.0x-TRIAL releases have this bug. Will followup ASAP.
I just pushed a commit to the repository that has 'force install' again working. Unless I hear better suggestions I will turn that state into a new TRIAL release.
Thanks && Regards,


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.