Subject: | test suite fails |
[root@martin:~/bin] sudo cpan XXX
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Wed, 16 Jun 2010 14:28:56 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[404] message[Can't chdir to pub]
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/modules/02packages.details.txt.gz
LWP failed with code[404] message[Can't chdir to pub]
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Mon, 21 Jun 2010 10:27:01 GMT
There's a new CPAN.pm version (v1.9402) available!
[Current version is v1.7602]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrade
while we are running...
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/modules/03modlist.data.gz
LWP failed with code[404] message[Can't chdir to pub]
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
Running install for module XXX
Running make for I/IN/INGY/XXX-0.16.tar.gz
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/authors/id/I/IN/INGY/XXX-0.16.tar.gz
LWP failed with code[404] message[Can't chdir to pub]
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/authors/id/I/IN/INGY/XXX-0.16.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/authors/id/I/IN/INGY/CHECKSUMS
Fetching with LWP:
ftp://cpan.pair.com/pub/CPAN/authors/id/I/IN/INGY/CHECKSUMS.gz
Fetching with Net::FTP:
ftp://cpan.pair.com/pub/CPAN/authors/id/I/IN/INGY/CHECKSUMS
Checksum for /root/.cpan/sources/authors/id/I/IN/INGY/XXX-0.16.tar.gz ok
Scanning cache /root/.cpan/build for sizes
XXX-0.16/
XXX-0.16/Changes
XXX-0.16/inc/
XXX-0.16/lib/
XXX-0.16/Makefile.PL
XXX-0.16/MANIFEST
XXX-0.16/META.yml
XXX-0.16/README
XXX-0.16/t/
XXX-0.16/t/test.t
XXX-0.16/t/yyy.t
XXX-0.16/lib/XXX.pm
XXX-0.16/inc/Module/
XXX-0.16/inc/Module/Install/
XXX-0.16/inc/Module/Install.pm
XXX-0.16/inc/Module/Install/Base.pm
XXX-0.16/inc/Module/Install/Can.pm
XXX-0.16/inc/Module/Install/Fetch.pm
XXX-0.16/inc/Module/Install/Makefile.pm
XXX-0.16/inc/Module/Install/Metadata.pm
XXX-0.16/inc/Module/Install/Win32.pm
XXX-0.16/inc/Module/Install/WriteAll.pm
CPAN.pm: Going to build I/IN/INGY/XXX-0.16.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for XXX
cp lib/XXX.pm blib/lib/XXX.pm
Manifying blib/man3/XXX.3pm
lib/XXX.pm:105: Unknown command paragraph "=encoding utf8"
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /skel/usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/*.t
t/test.t .. ok
t/yyy.t ... Can't locate YYY.pm in @INC (@INC contains:
/root/.cpan/build/XXX-0.16/inc /root/.cpan/build/XXX-0.16/blib/lib
/root/.cpan/build/XXX-0.16/blib/arch /usr/local/vwh/library/perl/i386-
linux-thread-multi /usr/local/vwh/library/perl/i386-linux-thread-multi
/usr/local/vwh/library/perl /usr/local/vwh/library/CPAN/i386-linux-
thread-multi /usr/local/vwh/library/CPAN/i386-linux-thread-multi
/usr/local/vwh/library/CPAN /usr/local/vwh/library/perl/i386-linux-
thread-multi /usr/local/vwh/library/perl
/usr/local/vwh/library/CPAN/i386-linux-thread-multi
/usr/local/vwh/library/CPAN /usr/lib/perl5/site_perl/5.8.8/i386-linux-
thread-multi /usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5
/usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3
/usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.7
/usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3
/usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/5.8.8 .) at t/yyy.t line 3.
BEGIN failed--compilation aborted at t/yyy.t line 3.
# Looks like your test exited with 2 before it could output anything.
t/yyy.t ... Dubious, test returned 2 (wstat 512, 0x200)
Failed 1/1 subtests
Test Summary Report
-------------------
t/yyy.t (Wstat: 512 Tests: 0 Failed: 0)
Non-zero exit status: 2
Parse errors: Bad plan. You planned 1 tests but ran 0.
Files=2, Tests=1, 0 wallclock secs ( 0.06 usr 0.00 sys + 0.11 cusr
0.03 csys = 0.20 CPU)
Result: FAIL
Failed 1/2 test programs. 0/1 subtests failed.
make: *** [test_dynamic] Error 2
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
[root@martin:~/bin]