Skip Menu |

This queue is for tickets about the CPANPLUS CPAN distribution.

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

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

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



Subject: Modules from outer CPAN break CPANPLUS
Hello Jos, Me.. again :-) This is related to ticket #12131: I think I just found a case where modules listed as prerequisites but outside Perl CORE or CPAN make CPANPLUS fails. See the very end of the attached output. I was trying to update SVN::Mirror; a test failed. CPANPLUS noticed and tried to construct the report, where it lists the current versions of the prereqs but, in this case, one of them (VCP) in not on the CPAN or in Perl CORE, but it is actually installed on the system. But this modue (CPANPLUS::Internals::Report) didn't expect that to happen and just dies. The solution is to use Module::ThirdParty in order to identify those modules from outer CPAN. Best Regards, Sébastien Aperghis-Tramoni
CPAN Terminal> i SVN::Mirror [MSG] Checking if source files are up to date [MSG] Retrieving /home/cpanplus/.cpanplus/sourcefiles.2.14.stored Installing SVN::Mirror [MSG] Trying to get '//usr/local/cpan/authors/id/C/CL/CLKAO/SVN-Mirror-0.61.tar.gz' [MSG] Trying to get '//usr/local/cpan/authors/id/C/CL/CLKAO/CHECKSUMS' [MSG] Checksum matches for 'SVN-Mirror-0.61.tar.gz' [MSG] Extracted 'SVN-Mirror-0.61' [MSG] Extracted 'SVN-Mirror-0.61/inc' [MSG] Extracted 'SVN-Mirror-0.61/inc/ExtUtils' [MSG] Extracted 'SVN-Mirror-0.61/inc/ExtUtils/AutoInstall.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/AutoInstall.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Include.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Makefile.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Scripts.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Metadata.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/WriteAll.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Win32.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Fetch.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Base.pm' [MSG] Extracted 'SVN-Mirror-0.61/inc/Module/Install/Can.pm' [MSG] Extracted 'SVN-Mirror-0.61/t' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/d,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/e,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/more2,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/zzzz,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/f,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/more,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/a,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/g,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/b,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/blah/Attic/c,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/Attic' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/Attic/two_on_branch,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/Attic/moreonbranch,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/Attic/blah.pm,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/staticfile,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/oldfile,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/kuso/addontrunk,v' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/CVSROOT' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/CVSROOT/val-tags' [MSG] Extracted 'SVN-Mirror-0.61/t/cvs-test-data/CVSROOT/README' [MSG] Extracted 'SVN-Mirror-0.61/t/7copy.t' [MSG] Extracted 'SVN-Mirror-0.61/t/test_repo.dump' [MSG] Extracted 'SVN-Mirror-0.61/t/3vcp-cvs.t' [MSG] Extracted 'SVN-Mirror-0.61/t/5upgrade.t' [MSG] Extracted 'SVN-Mirror-0.61/t/1use.t' [MSG] Extracted 'SVN-Mirror-0.61/t/2basic.t' [MSG] Extracted 'SVN-Mirror-0.61/t/4vcp-p4.t' [MSG] Extracted 'SVN-Mirror-0.61/t/copy.dump' [MSG] Extracted 'SVN-Mirror-0.61/t/6relay.t' [MSG] Extracted 'SVN-Mirror-0.61/t/test_old.dump' [MSG] Extracted 'SVN-Mirror-0.61/MANIFEST' [MSG] Extracted 'SVN-Mirror-0.61/TODO' [MSG] Extracted 'SVN-Mirror-0.61/bin' [MSG] Extracted 'SVN-Mirror-0.61/bin/svm' [MSG] Extracted 'SVN-Mirror-0.61/lib' [MSG] Extracted 'SVN-Mirror-0.61/lib/SVN' [MSG] Extracted 'SVN-Mirror-0.61/lib/SVN/Mirror' [MSG] Extracted 'SVN-Mirror-0.61/lib/SVN/Mirror/VCP.pm' [MSG] Extracted 'SVN-Mirror-0.61/lib/SVN/Mirror/Ra.pm' [MSG] Extracted 'SVN-Mirror-0.61/lib/SVN/Mirror.pm' [MSG] Extracted 'SVN-Mirror-0.61/CHANGES' [MSG] Extracted 'SVN-Mirror-0.61/META.yml' [MSG] Extracted 'SVN-Mirror-0.61/SIGNATURE' [MSG] Extracted 'SVN-Mirror-0.61/Makefile.PL' [MSG] Extracted 'SVN-Mirror-0.61/README' [MSG] Extracted 'SVN::Mirror' to '/home/cpanplus/.cpanplus/5.8.5/build/SVN-Mirror-0.61' Running [/usr/bin/perl5.8.5 Makefile.PL ]... *** ExtUtils::AutoInstall version 0.61 *** Checking for dependencies... [Core Features] - SVN::Core ...loaded. (1.1.0 >= 1.0.7) - URI::Escape ...loaded. (3.280) - Term::ReadKey ...loaded. (2.300) - SVN::Simple::Edit ...loaded. (0.270) [VCP support] - VCP ...loaded. (0.900 >= 0.9) - Data::UUID ...loaded. (0.110) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for SVN::Mirror [ERROR] No such module 'SVN::Core' found on CPAN Running [/usr/bin/make UNINST=1]... cp lib/SVN/Mirror/Ra.pm blib/lib/SVN/Mirror/Ra.pm cp lib/SVN/Mirror.pm blib/lib/SVN/Mirror.pm cp lib/SVN/Mirror/VCP.pm blib/lib/SVN/Mirror/VCP.pm cp bin/svm blib/script/svm /usr/bin/perl5.8.5 -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/svm Manifying blib/man1/svm.1 Manifying blib/man3/SVN::Mirror.3pm Running [/usr/bin/make test UNINST=1]... PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/1use.t t/2basic.t t/3vcp-cvs.t t/4vcp-p4.t t/5upgrade.t t/6relay.t t/7copy.t t/1use........ok t/2basic......Can't exec "svnadmin": No such file or directory at t/2basic.t line 8. Use of uninitialized value in pattern match (m//) at t/2basic.t line 8. skipped all skipped: can't find svnadmin t/3vcp-cvs....3vcp-cvs.t: appending required ChangeSets, StringEdit filters 3vcp-cvs.t: scanning '/home/cpanplus/.cpanplus/5.8.5/build/SVN-Mirror-0.61/t/cvs-test-data/kuso/...': / 16 3vcp-cvs.t: found 16 files 3vcp-cvs.t: found 123 rev(s) with 22 tag applications 3vcp-cvs.t: Map filter skipped 92 revisions 3vcp-cvs.t: aggregating changes 3vcp-cvs.t: writing revisions: [##########] 31/31 revision 31 3vcp-cvs.t: committed 30 revisions 3vcp-cvs.t: appending required ChangeSets, StringEdit filters 3vcp-cvs.t: scanning '/home/cpanplus/.cpanplus/5.8.5/build/SVN-Mirror-0.61/t/cvs-test-data/kuso/...': / 16 3vcp-cvs.t: found 16 files 3vcp-cvs.t: found 123 rev(s) with 22 tag applications 3vcp-cvs.t: aggregating changes 3vcp-cvs.t: writing revisions: [##########] 123/123 revision 105 3vcp-cvs.t: committed 71 revisions 3vcp-cvs.t: appending required ChangeSets, StringEdit filters 3vcp-cvs.t: scanning '/home/cpanplus/.cpanplus/5.8.5/build/SVN-Mirror-0.61/t/cvs-test-data/kuso/...': / 16 3vcp-cvs.t: found 16 files 3vcp-cvs.t: found 123 rev(s) with 22 tag applications 3vcp-cvs.t: Map filter skipped 39 revisions 3vcp-cvs.t: aggregating changes 3vcp-cvs.t: writing revisions: [##########] 84/84 revision 164 3vcp-cvs.t: committed 56 revisions dubious Test returned status 0 (wstat 11, 0xb) after all the subtests completed successfully t/4vcp-p4.....skipped all skipped: VCP::Dest::svk not installed; p4 needs to be setup t/5upgrade....Can't exec "svnadmin": No such file or directory at t/5upgrade.t line 8. Use of uninitialized value in pattern match (m//) at t/5upgrade.t line 8. skipped all skipped: can't find svnadmin t/6relay......Can't exec "svnadmin": No such file or directory at t/6relay.t line 11. Use of uninitialized value in pattern match (m//) at t/6relay.t line 11. skipped all skipped: can't find svnadmin t/7copy.......Can't exec "svnadmin": No such file or directory at t/7copy.t line 8. Use of uninitialized value in pattern match (m//) at t/7copy.t line 8. skipped all skipped: can't find svnadmin Failed Test Stat Wstat Total Fail Failed List of Failed -------------------------------------------------------------------------------------------------------------------- t/3vcp-cvs.t 0 11 10 0 0.00% ?? 5 tests skipped. Failed 1/7 test scripts, 85.71% okay. 0/11 subtests failed, 100.00% okay. make: *** [test_dynamic] Erreur 255 [ERROR] MAKE TEST failed: No such file or directory PERL_DL_NONLAZY=1 /usr/bin/perl5.8.5 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/1use.t t/2basic.t t/3vcp-cvs.t t/4vcp-p4.t t/5upgrade.t t/6relay.t t/7copy.t Can't call method "name" without a package or object reference at /usr/lib/perl5/site_perl/5.8.5/CPANPLUS/Internals/Constants/Report.pm line 269. CPAN Terminal>
[SAPER - Sun May 8 20:15:18 2005]: Show quoted text
> This is related to ticket #12131: I think I just found a case where > modules listed as prerequisites but outside Perl CORE or CPAN make > CPANPLUS fails. See the very end of the attached output. > > I was trying to update SVN::Mirror; a test failed. CPANPLUS noticed > and tried to construct the report, where it lists the current versions > of the prereqs but, in this case, one of them (VCP) in not on the CPAN > or in Perl CORE, but it is actually installed on the system. But this > modue (CPANPLUS::Internals::Report) didn't expect that to happen and > just dies.
The 'die' is a bad coding issue :) i've added a 'grep defined' to that list to make sure the 'die' doesn't occur anymore in change 12047. Show quoted text
> The solution is to use Module::ThirdParty in order to identify those > modules from outer CPAN.
That'd be a neat feature to add for sure. Currently i'm lacking tuits to implement this search in the relevant parts and to possibly enable the downloads from this area...
From: saper [...] cpan.org
[KANE - Wed May 11 11:05:30 2005]: Show quoted text
> The 'die' is a bad coding issue :) i've added a 'grep defined' to that > list to make sure the 'die' doesn't occur anymore in change 12047.
Jos, did that change actually get in v0.055? Because I just tried to install the latest version of SVN::Mirror and had the same problem: CPAN Terminal> i SVN::Mirror Installing SVN::Mirror [...] Running [/usr/bin/perl5.8.5 Makefile.PL ]... *** ExtUtils::AutoInstall version 0.61 *** Checking for dependencies... [Core Features] - SVN::Core ...loaded. (1.1.0 >= 1.0.7) - URI::Escape ...loaded. (3.280) - Term::ReadKey ...loaded. (2.300) - SVN::Simple::Edit ...loaded. (0.270) - Date::Format ...loaded. (2.220) - File::chdir ...loaded. (0.060) [VCP support] - VCP ...loaded. (0.900 >= 0.9) - Data::UUID ...loaded. (0.110) *** ExtUtils::AutoInstall configuration finished. Checking if your kit is complete... Looks good Writing Makefile for SVN::Mirror [ERROR] No such module 'SVN::Core' found on CPAN Running [/usr/bin/make UNINST=1]... cp lib/SVN/Mirror/Ra.pm blib/lib/SVN/Mirror/Ra.pm cp lib/SVN/Mirror.pm blib/lib/SVN/Mirror.pm cp lib/SVN/Mirror/Git.pm blib/lib/SVN/Mirror/Git.pm cp lib/SVN/Mirror/VCP.pm blib/lib/SVN/Mirror/VCP.pm cp bin/svm blib/script/svm /usr/bin/perl5.8.5 -Iinc "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/svm Manifying blib/man1/svm.1 Manifying blib/man3/SVN::Mirror.3pm Running [/usr/bin/make test UNINST=1] [...] Failed 1/9 test scripts, 88.89% okay. 0/11 subtests failed, 100.00% okay. make: *** [test_dynamic] Erreur 255 Can't call method "name" without a package or object reference at /usr/lib/perl5/site_perl/5.8.5/CPANPLUS/Internals/Constants/Report.pm line 307. and I have the latest version of CPANPLUS: CPAN Terminal> v CPANPLUS::Shell::Default -- CPAN exploration and modules installation (v0.055) *** Please report bugs to <cpanplus-bugs@lists.sourceforge.net>. *** Using CPANPLUS::Backend v0.055. ReadLine support enabled. Regards -- Close the world, txEn eht nepO.
[SAPER - Thu Jun 23 19:17:44 2005]: Show quoted text
> [KANE - Wed May 11 11:05:30 2005]: >
> > The 'die' is a bad coding issue :) i've added a 'grep defined' to
> that
> > list to make sure the 'die' doesn't occur anymore in change 12047.
> > Jos, did that change actually get in v0.055? Because I just tried to > install the latest version of SVN::Mirror and had the same problem:
This time hopefully fixed properly with @12092 :)