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>