Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

Report information
The Basics
Id: 6629
Status: resolved
Priority: 0/
Queue: CPANPLUS

People
Owner: Nobody in particular
Requestors: ssoriche+perl [...] sackheads.org
Cc:
AdminCc:

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



Subject: Modules with pre-reqs say installation successful but aren't
Installing Test::Pod::Coverage on two different systems: System1: Mac OSX 10.3.4, Perl v5.8.1-RC3 System2: RedHat Linux 7.2, Perl 5.6.1 Installations are occuring as a non privileged user with CPANPLUS configured to use sudo. Both systems are also configured to Ask for dependancy. On both systems all dependancies and module report Successfully installed. However running perl -e 'use Test::Pod::Coverage' results in a "Can't locate Test/Pod/Coverage.pm" error. All dependancies are installed and perl -e 'use ....' reports no errors. After running 'install Test::Pod::Coverage' a second time, the module is successfully installed. On System2 the same problem occurred during the installation of Test::Pod and again, a second installation cured it.
From: "Jos I. Boumans" <kane [...] dwim.org>
Subject: Re: [cpan #6629] Modules with pre-reqs say installation successful but aren't
Date: Tue, 15 Jun 2004 13:48:15 +0200
To: bug-CPANPLUS [...] rt.cpan.org
RT-Send-Cc:
On Jun 15, 2004, at 1:45 PM, Guest via RT wrote: Show quoted text
> Installing Test::Pod::Coverage on two different systems: > > System1: Mac OSX 10.3.4, Perl v5.8.1-RC3 > System2: RedHat Linux 7.2, Perl 5.6.1 > > Installations are occuring as a non privileged user with CPANPLUS > configured to use sudo. Both systems are also configured to Ask for > dependancy. > > On both systems all dependancies and module report Successfully > installed. However running perl -e 'use Test::Pod::Coverage' results > in a "Can't locate Test/Pod/Coverage.pm" error. > > All dependancies are installed and perl -e 'use ....' reports no > errors. > > After running 'install Test::Pod::Coverage' a second time, the module > is successfully installed. > > On System2 the same problem occurred during the installation of > Test::Pod and again, a second installation cured it.
I'm afraid i'll need a lot more data than that to even begin guessing what goes on here. like: cpanplus version cpanplus config perl config scrollback error messages version of what you tried to install version of test::pod::coverage that didn't install -- Jos Boumans 'Real programmers use "cat > a.out"' CPANPLUS http://cpanlus.sf.net
[ssoriche@sackheads.org - Tue Jun 15 08:08:37 2004]: Show quoted text
> >> On both systems all dependancies and module report Successfully > >> installed. However running perl -e 'use Test::Pod::Coverage' results > >> in a "Can't locate Test/Pod/Coverage.pm" error. > >> > >> All dependancies are installed and perl -e 'use ....' reports no > >> errors.
[...] Show quoted text
> CPANPLUS Config (attached) > > Perl Config (attached) > > Scrollback: sorry that's gone already during the second install. > > Error Message: There were no install error messages. Everything > installed successfully (according to CPANPLUS) > > Versions of software tried to install: > > Test::Pod::Coverage Version: 1.04 > Test::Pod Version: 1.16 > > Versions of Test::Pod::Coverage that didn't install: > 1.04
i've been playing for a while with all kinds of scenarios, and i'm not able to reproduce any of this. I use a mac myself as well, so i'm fairly confident to rule out the OS here. In short, i can't get it to break.
From: ssoriche+perl [...] sackheads.org
[KANE - Tue Aug 17 05:27:55 2004]: Show quoted text
> [ssoriche@sackheads.org - Tue Jun 15 08:08:37 2004]:
> > >> On both systems all dependancies and module report Successfully > > >> installed. However running perl -e 'use Test::Pod::Coverage'
> results
> > >> in a "Can't locate Test/Pod/Coverage.pm" error. > > >> > > >> All dependancies are installed and perl -e 'use ....' reports no > > >> errors.
> [...]
> > CPANPLUS Config (attached) > > > > Perl Config (attached) > > > > Scrollback: sorry that's gone already during the second install. > > > > Error Message: There were no install error messages. Everything > > installed successfully (according to CPANPLUS) > > > > Versions of software tried to install: > > > > Test::Pod::Coverage Version: 1.04 > > Test::Pod Version: 1.16 > > > > Versions of Test::Pod::Coverage that didn't install: > > 1.04
> > i've been playing for a while with all kinds of scenarios, and i'm not > able to reproduce any of > this. I use a mac myself as well, so i'm fairly confident to rule out > the OS here. > In short, i can't get it to break. >
I've been noticing this problem with other modules on RedHat Enterprise Server 3.0, RedHat 7.2, FreeBSD 4.10, and now Fedora Core 2. I've attached a copy of everything that appeared on my screen during the install of Test::Pod::Coverage on a newly built and patched Fedora Core 2 system. This includes the initial install request, the perl -e 'use Test::Pod::Coverage' command, some commands to show the system I'm running on, and finally a second cpanp i Test::Pod::Coverage that finishes the install (proven with another perl -e 'use Test::Pod:: Coverage that worked).
CPAN Terminal> i Test::Pod::Coverage Installing: Test::Pod::Coverage Fetch failed! HTTP response code: 500 [Internal Server Error] in CPANPLUS::Internals::Fetch::_lwp_get at Wed Aug 18 22:23:41 2004 at /usr/lib/perl5/site_perl/5.8.3/CPANPLUS/Internals/Fetch.pm line 351 WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC ==> MISSING Signature file! <== Warning: prerequisite Pod::Coverage 0 not found. Warning: prerequisite Test::Builder::Tester 0 not found. Checking if your kit is complete... Looks good Writing Makefile for Test::Pod::Coverage Pod::Coverage is a required module for this install. Would you like me to install it? [Y/n]: Test::Builder::Tester is a required module for this install. Would you like me to install it? [Y/n]: WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC ==> MISSING Signature file! <== * ERROR: Prerequisite Devel::Symdump isn't installed ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation. Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Pod-Coverage' version '0.14' Devel::Symdump is a required module for this install. Would you like me to install it? [Y/n]: WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC ==> MISSING Signature file! <== Checking if your kit is complete... Looks good Writing Makefile for Devel::Symdump PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/autogen....ok t/diff.......ok t/export.....ok t/symdump....ok t/tree.......ok All tests successful. Files=5, Tests=26, 1 wallclock secs ( 0.34 cusr + 0.03 csys = 0.37 CPU) Password: Can't send report: Test::Reporter: Unable to send test report in CPANPLUS::Internals::Report::_send_report at Wed Aug 18 22:24:18 2004 at /usr/lib/perl5/site_perl/5.8.3/CPANPLUS/Internals/Report.pm line 274 Checking whether your kit is complete... Looks good Deleting Build Removed previous script 'Build' Creating new 'Build' script for 'Pod-Coverage' version '0.14' t/01compile......ok t/02simple.......ok t/03import.......ok t/04cvgv.........ok t/05parentage....ok t/06trustme......ok t/07pod..........skipped all skipped: Test::Pod 1.00 required for testing POD All tests successful, 1 test skipped. Files=7, Tests=56, 2 wallclock secs ( 1.73 cusr + 0.18 csys = 1.91 CPU) Can't send report: Test::Reporter: Unable to send test report in CPANPLUS::Internals::Report::_send_report at Wed Aug 18 22:24:26 2004 at /usr/lib/perl5/site_perl/5.8.3/CPANPLUS/Internals/Report.pm line 274 You have already sent a report for Pod-Coverage-0.14, skipping. WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC ==> MISSING Signature file! <== Checking whether your kit is complete... Looks good Creating new 'Build' script for 'Test-Builder-Tester' version '1.01' t/01basic........ok t/02fhrestore....ok t/03die..........ok t/04line_num.....ok t/05faildiag.....ok t/06errormess....ok t/07args.........ok All tests successful. Files=7, Tests=49, 1 wallclock secs ( 0.88 cusr + 0.08 csys = 0.96 CPU) Can't send report: Test::Reporter: Unable to send test report in CPANPLUS::Internals::Report::_send_report at Wed Aug 18 22:24:36 2004 at /usr/lib/perl5/site_perl/5.8.3/CPANPLUS/Internals/Report.pm line 274 Can't send report: Test::Reporter: Unable to send test report in CPANPLUS::Internals::Report::_send_report at Wed Aug 18 22:24:39 2004 at /usr/lib/perl5/site_perl/5.8.3/CPANPLUS/Internals/Report.pm line 274 Successfully installed Devel::Symdump Successfully installed Pod::Coverage Successfully installed Test::Builder::Tester Successfully installed Test::Pod::Coverage All modules installed successfully CPAN Terminal> Exiting CPANPLUS shell [ssoriche@geek ssoriche]$ perl -e 'use Test::Pod::Coverage' Can't locate Test/Pod/Coverage.pm in @INC (@INC contains: /usr/lib/perl5/5.8.3/i386-linux-thread-multi /usr/lib/perl5/5.8.3 /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.2/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at -e line 1. BEGIN failed--compilation aborted at -e line 1. [ssoriche@geek ssoriche]$ uname -a Linux geek 2.6.6-1.435.2.3mts1 #1 Wed Jul 7 00:30:56 EDT 2004 i686 i686 i386 GNU/Linux [ssoriche@geek ssoriche]$ cat /etc/redhat-release Fedora Core release 2 (Tettnang) [ssoriche@geek ssoriche]$ cpanp i Test::Pod::Coverage CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.03) *** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>. *** Using CPANPLUS::Backend v0.049. ReadLine support suppressed in batch mode. Installing: Test::Pod::Coverage WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC WARNING: This key is not certified with a trusted signature! Primary key fingerprint: 2E66 557A B97C 19C7 91AF 8E20 328D A867 450F 89EC ==> MISSING Signature file! <== Writing Makefile for Test::Pod::Coverage PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00.load................# Testing Test::Pod::Coverage 1.06 ok t/all_modules............ok t/all_pod_coverage_ok....ok t/nopod..................ok t/nosymbols..............ok t/parms..................ok t/pod....................skipped all skipped: Test::Pod 1.14 required for testing POD t/privates...............ok t/self...................ok t/simple.................ok All tests successful, 1 test skipped. Files=10, Tests=20, 3 wallclock secs ( 2.42 cusr + 0.26 csys = 2.68 CPU) You have already sent a report for Test-Pod-Coverage-1.06, skipping. Successfully installed Test::Pod::Coverage All modules installed successfully Exiting CPANPLUS shell [ssoriche@geek ssoriche]$ perl -e 'use Test::Pod::Coverage' [ssoriche@geek ssoriche]$
From: ssoriche+perl [...] sackheads.org
[guest - Wed Aug 18 22:36:17 2004]: Had the same problem again today on Fedora Core 2. This time it was with the installation of SVN::Web. Successfully installed SVN::Web Successfully installed Test::Manifest Successfully installed XML::RSS All modules installed successfully Exiting CPANPLUS shell [ssoriche@geek ssoriche]$ perl -e 'use SVN::Web' Can't locate SVN/Web.pm in @INC ..... Again after issuing cpanp i SVN::Web, it installs.
[guest - Thu Aug 26 08:11:35 2004]: Show quoted text
> [guest - Wed Aug 18 22:36:17 2004]: > > Had the same problem again today on Fedora Core 2. This time it was > with > the installation of SVN::Web. > > Successfully installed SVN::Web > Successfully installed Test::Manifest > Successfully installed XML::RSS > All modules installed successfully > > Exiting CPANPLUS shell > [ssoriche@geek ssoriche]$ perl -e 'use SVN::Web' > Can't locate SVN/Web.pm in @INC ..... > > Again after issuing cpanp i SVN::Web, it installs.
looking more at your ouptut, it look like the test::reporting is to blame -- it fails, exiting also the install routine, therefor not installing... you could try and see if turning off test::reporter is fixing these problems for you. In happy news, this setup of test reporting is no longer present in the development version, so starting the next version, this problem should be gone either way. Thanks for your patience,