This queue is for tickets about the CPAN CPAN distribution.

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

People
Owner:
Nobody in particular
Requestors:
david [...] justatheory.com
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
1.94



Subject: Prereqs Not Followed
Date: Tue, 5 May 2009 10:33:51 -0700
To: bug-CPAN@rt.cpan.org
From: "David E. Wheeler" <david@justatheory.com>
I'm using CPAN 1.9304. It's failing to install prereqs, even though I have 'prerequisites_policy' => q[follow], For example, here's an attempt to install Exception::Class ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpan[44]> install Exception::Class Running install for module 'Exception::Class' Running make for D/DR/DROLSKY/Exception-Class-1.27.tar.gz Prepending /home/david/.cpan/build/Lexical-Attributes-2009040601- TAS16Q/blib/arch /home/david/.cpan/build/Lexical-Attributes-2009040601- TAS16Q/blib/lib to PERL5LIB for 'get' Fetching with LWP: ftp://mirrors.kernel.org/pub/CPAN/authors/id/D/DR/DROLSKY/Exception-Class-1.27.tar.gz Checksum for /home/david/.cpan/sources/authors/id/D/DR/DROLSKY/ Exception-Class-1.27.tar.gz ok Exception-Class-1.27/ Exception-Class-1.27/t/ Exception-Class-1.27/t/ignore.t Exception-Class-1.27/t/caught.t Exception-Class-1.27/t/pod.t Exception-Class-1.27/t/basic.t Exception-Class-1.27/t/pod-coverage.t Exception-Class-1.27/.shipit Exception-Class-1.27/META.yml Exception-Class-1.27/Changes Exception-Class-1.27/MANIFEST Exception-Class-1.27/Makefile.PL Exception-Class-1.27/lib/ Exception-Class-1.27/lib/Exception/ Exception-Class-1.27/lib/Exception/Class.pm Exception-Class-1.27/SIGNATURE Exception-Class-1.27/LICENSE Exception-Class-1.27/Build.PL Prepending /home/david/.cpan/build/Lexical-Attributes-2009040601- TAS16Q/blib/arch /home/david/.cpan/build/Lexical-Attributes-2009040601- TAS16Q/blib/lib to PERL5LIB for 'make' CPAN.pm: Going to build D/DR/DROLSKY/Exception-Class-1.27.tar.gz Checking whether your kit is complete... Looks good Checking prerequisites... - ERROR: Devel::StackTrace (1.18) is installed, but we need version
Show quoted text
>= 1.20
ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Creating new 'Build' script for 'Exception-Class' version '1.27' (/usr/local/bin/perl Build.PL exited with 0) CPAN::Reporter: Build.PL result is 'pass', No errors. Copying lib/Exception/Class.pm -> blib/lib/Exception/Class.pm Manifying blib/lib/Exception/Class.pm -> blib/libdoc/Exception::Class.3 (./Build exited with 0) CPAN::Reporter: Build result is 'pass', No errors. DROLSKY/Exception-Class-1.27.tar.gz ./Build -- OK Prepending /home/david/.cpan/build/Lexical-Attributes-2009040601- TAS16Q/blib/arch /home/david/.cpan/build/Lexical-Attributes-2009040601- TAS16Q/blib/lib to PERL5LIB for 'test' Running Build test Devel::StackTrace version 1.2 required--this is only version 1.18 at / home/david/.cpan/build/Exception-Class-1.27-0UYuAC/blib/lib/Exception/ Class.pm line 193. BEGIN failed--compilation aborted at /home/david/.cpan/build/Exception- Class-1.27-0UYuAC/blib/lib/Exception/Class.pm line 193. Compilation failed in require at t/basic.t line 21. BEGIN failed--compilation aborted at t/basic.t line 21. # Looks like your test exited with 9 before it could output anything. t/basic.t ......... Dubious, test returned 9 (wstat 2304, 0x900) Failed 58/58 subtests Devel::StackTrace version 1.2 required--this is only version 1.18 at / home/david/.cpan/build/Exception-Class-1.27-0UYuAC/blib/lib/Exception/ Class.pm line 193. BEGIN failed--compilation aborted at /home/david/.cpan/build/Exception- Class-1.27-0UYuAC/blib/lib/Exception/Class.pm line 193. Compilation failed in require at t/caught.t line 9. BEGIN failed--compilation aborted at t/caught.t line 9. # Looks like your test exited with 9 before it could output anything. t/caught.t ........ Dubious, test returned 9 (wstat 2304, 0x900) Failed 9/9 subtests Devel::StackTrace version 1.2 required--this is only version 1.18 at / home/david/.cpan/build/Exception-Class-1.27-0UYuAC/blib/lib/Exception/ Class.pm line 193. BEGIN failed--compilation aborted at /home/david/.cpan/build/Exception- Class-1.27-0UYuAC/blib/lib/Exception/Class.pm line 193. Compilation failed in require at t/ignore.t line 40. BEGIN failed--compilation aborted at t/ignore.t line 40. # Looks like your test exited with 9 before it could output anything. t/ignore.t ........ Dubious, test returned 9 (wstat 2304, 0x900) Failed 4/4 subtests t/pod-coverage.t .. skipped: This test is only run for the module author t/pod.t ........... skipped: This test is only run for the module author Test Summary Report ------------------- t/basic.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 58 tests but ran 0. t/caught.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 9 tests but ran 0. t/ignore.t (Wstat: 2304 Tests: 0 Failed: 0) Non-zero exit status: 9 Parse errors: Bad plan. You planned 4 tests but ran 0. Files=5, Tests=0, 0 wallclock secs ( 0.06 usr 0.02 sys + 0.19 cusr 0.06 csys = 0.33 CPU) Result: FAIL Failed 3/5 test programs. 0/0 subtests failed. (./Build test exited with 65280) CPAN::Reporter: test results were not valid, Prerequisite version too low. DROLSKY/Exception-Class-1.27.tar.gz ./Build test -- NOT OK //hint// to see the cpan-testers results for installing this module, try: reports DROLSKY/Exception-Class-1.27.tar.gz Running Build install make test had returned bad status, won't install without force Failed during this command: DROLSKY/Exception-Class-1.27.tar.gz : make_test NO ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Note that it requires Devel::StackTrace version 1.2 but didn't install it, even though it was reported as a required dependency. My Config: $CPAN::Config = { 'applypatch' => q[], 'auto_commit' => q[1], 'build_cache' => q[100], 'build_dir' => q[/Users/david/.cpan/build], 'build_dir_reuse' => q[1], 'build_requires_install_policy' => q[yes], 'bzip2' => q[/usr/bin/bzip2], 'cache_metadata' => q[1], 'check_sigs' => q[0], 'commandnumber_in_prompt' => q[1], 'cpan_home' => q[/Users/david/.cpan], 'curl' => q[/usr/bin/curl], 'ftp' => q[/usr/bin/ftp], 'ftp_passive' => q[1], 'ftp_proxy' => q[], 'getcwd' => q[cwd], 'gpg' => q[], 'gzip' => q[/usr/bin/gzip], 'histfile' => q[/Users/david/.cpan/histfile], 'histsize' => q[100], 'http_proxy' => q[], 'inactivity_timeout' => q[0], 'index_expire' => q[1], 'inhibit_startup_message' => q[0], 'keep_source_where' => q[/Users/david/.cpan/sources], 'load_module_verbosity' => q[v], 'lynx' => q[], 'make' => q[/usr/bin/make], 'make_arg' => q[], 'make_install_arg' => q[UNINST=1], 'make_install_make_command' => q[sudo make], 'makepl_arg' => q[], 'mbuild_arg' => q[], 'mbuild_install_arg' => q[--uninst 1], 'mbuild_install_build_command' => q[sudo ./Build], 'mbuildpl_arg' => q[], 'ncftp' => q[], 'ncftpget' => q[], 'no_proxy' => q[], 'pager' => q[/usr/bin/less], 'patch' => q[/usr/bin/patch], 'prefer_installer' => q[MB], 'prefs_dir' => q[/Users/david/.cpan/prefs], 'prerequisites_policy' => q[follow], 'scan_cache' => q[atstart], 'shell' => q[/bin/zsh], 'show_unparsable_versions' => q[0], 'show_upload_date' => q[0], 'show_zero_versions' => q[0], 'tar' => q[/usr/bin/tar], 'tar_verbosity' => q[v], 'term_is_latin' => q[1], 'term_ornaments' => q[1], 'test_report' => q[1], 'unzip' => q[/usr/bin/unzip], 'urllist' => [q[ftp://mirrors.kernel.org/pub/CPAN]], 'use_sqlite' => q[1], 'wget' => q[/usr/local/bin/wget], 'yaml_load_code' => q[0], 'yaml_module' => q[YAML], }; 1; __END__
This has shown up before and seems related in some way to CPAN::SQLite. Could you please try each of these, in this order (i.e. try again after each one): * reload index * update DBD::SQLite * update CPAN::SQLite * turn off 'use_sqlite' Thanks, David
Втр. Май 05 13:34:17 2009, david@justatheory.com писал:
Show quoted text
> I'm using CPAN 1.9304. It's failing to install prereqs, even though I > have > > 'prerequisites_policy' => q[follow],
do `install CPAN::SQLite ANDK/CPAN-1.93_54.tar.gz` in CPAN shell -- Alexandr Ciornii, http://chorny.net
Subject: Re: [rt.cpan.org #45749] Prereqs Not Followed
Date: Wed, 27 May 2009 12:25:38 -0700
To: bug-CPAN@rt.cpan.org
From: "David E. Wheeler" <dwheeler@cpan.org>
I did a bunch of installs today with the latest CPAN.pm and CPAN::SQLite, and this issue does indeed appear to be fixed. Thanks! David
Thank you for the update. Marking this closed.


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.