Subject: | many test failures |
cpanm (App::cpanminus) 1.7001 on perl 5.018001 built for darwin-2level
Work directory is /Users/ether/.cpanm/work/1386462330.79456
You have make /usr/bin/make
You have LWP 6.05
You have /usr/bin/tar: bsdtar 2.6.2 - libarchive 2.6.2
You have /usr/bin/unzip
Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.72)
Checking if you have ExtUtils::Install 1.46 ... Yes (1.59)
Searching Archive::Zip on mirror http://mirrors.gossamer-threads.com/CPAN ...
Downloading index file http://mirrors.gossamer-threads.com/CPAN/modules/02packages.details.txt.gz ...
--> Working on Archive::Zip
Fetching http://mirrors.gossamer-threads.com/CPAN/authors/id/P/PH/PHRED/Archive-Zip-1.34.tar.gz
-> OK
Unpacking Archive-Zip-1.34.tar.gz
Entering Archive-Zip-1.34
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.72)
Configuring Archive-Zip-1.34
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Archive::Zip
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have File::Temp 0 ... Yes (0.23)
Checking if you have File::Path 0 ... Yes (2.09)
Checking if you have IO::Handle 0 ... Yes (1.34)
Checking if you have Time::Local 0 ... Yes (1.2300)
Checking if you have Compress::Raw::Zlib 2.017 ... Yes (2.060)
Checking if you have Test::More 0.42 ... Yes (1.001002)
Checking if you have File::Basename 0 ... Yes (2.84)
Checking if you have File::Copy 0 ... Yes (2.26)
Checking if you have IO::File 0 ... Yes (1.16)
Checking if you have File::Spec 0.80 ... Yes (3.40)
Checking if you have IO::Seekable 0 ... Yes (1.10)
Checking if you have File::Find 0 ... Yes (1.23)
Building and testing Archive-Zip-1.34
cp lib/Archive/Zip.pm blib/lib/Archive/Zip.pm
cp lib/Archive/Zip/ZipFileMember.pm blib/lib/Archive/Zip/ZipFileMember.pm
cp lib/Archive/Zip/FileMember.pm blib/lib/Archive/Zip/FileMember.pm
cp lib/Archive/Zip/StringMember.pm blib/lib/Archive/Zip/StringMember.pm
cp lib/Archive/Zip/DirectoryMember.pm blib/lib/Archive/Zip/DirectoryMember.pm
cp lib/Archive/Zip/Archive.pm blib/lib/Archive/Zip/Archive.pm
cp lib/Archive/Zip/NewFileMember.pm blib/lib/Archive/Zip/NewFileMember.pm
cp lib/Archive/Zip/Tree.pm blib/lib/Archive/Zip/Tree.pm
cp lib/Archive/Zip/BufferedFileHandle.pm blib/lib/Archive/Zip/BufferedFileHandle.pm
cp lib/Archive/Zip/FAQ.pod blib/lib/Archive/Zip/FAQ.pod
cp lib/Archive/Zip/Member.pm blib/lib/Archive/Zip/Member.pm
cp lib/Archive/Zip/MockFileHandle.pm blib/lib/Archive/Zip/MockFileHandle.pm
cp lib/Archive/Zip/MemberRead.pm blib/lib/Archive/Zip/MemberRead.pm
cp script/crc32 blib/script/crc32
/Users/ether/perl5/perlbrew/perls/18.1/bin/perl -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/crc32
Manifying blib/man3/Archive::Zip::FAQ.0
Manifying blib/man3/Archive::Zip::MemberRead.0
Manifying blib/man3/Archive::Zip::Tree.0
Manifying blib/man3/Archive::Zip.0
PERL_DL_NONLAZY=1 /Users/ether/perl5/perlbrew/perls/18.1/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/01_compile.t ................ ok
print() on closed filehandle $out at t/10_chmod.t line 31.
Use of uninitialized value in bitwise and (&) at t/10_chmod.t line 17.
t/10_chmod.t .................. skipped: chmod() is not working on this machine.
# Failed test at t/02_main.t line 131.
# got: '2304'
# expected: '0'
t/04_readmember.t ............. ok
t/08_readmember_record_sep.t .. ok
# Failed test at t/02_main.t line 141.
t/07_filenames_of_0.t ......... ok
# Failed test at t/02_main.t line 233.
# got: '2304'
# expected: '0'
t/09_output_record_sep.t ...... ok
t/05_tree.t ................... ok
t/06_update.t ................. ok
t/11_explorer.t ............... ok
t/12_bug_47223.t .............. skipped: Only required on Win32.
# Looks like you failed 3 tests of 141.
t/02_main.t ...................
Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/141 subtests
t/13_bug_46303.t .............. ok
t/14_leading_separator.t ...... ok
t/15_decrypt.t ................ ok
t/16_decrypt.t ................ ok
error: member not found
at /Users/ether/.cpanm/work/1386462330.79456/Archive-Zip-1.34/blib/lib/Archive/Zip/Archive.pm line 186.
Archive::Zip::Archive::extractMember('Archive::Zip::Archive=HASH(0x100827720)', 'testdir/testing.txt') called at examples/extract.pl line 36
Extracting testdir/testing.txt from testout.zip failed
# Failed test at t/03_ex.t line 41.
# got: '65280'
# expected: '0'
Can't call method "desiredCompressionLevel" on an undefined value at /Users/ether/.cpanm/work/1386462330.79456/Archive-Zip-1.34/blib/lib/Archive/Zip/Archive.pm line 261.
# Failed test at t/03_ex.t line 45.
# got: '512'
# expected: '0'
# Failed test at t/03_ex.t line 59.
# got: 'testdir/file.txt:100
# testdir/string.txt:100
# testdir/fileC.txt:100
# testdir/stringU.txt:100
# '
# expected: 'testdir/testing.txt:100
# '
error: testdir/testing.txt is neither a file nor a directory
at /Users/ether/.cpanm/work/1386462330.79456/Archive-Zip-1.34/blib/lib/Archive/Zip/Archive.pm line 361.
Archive::Zip::Archive::addFileOrDirectory('Archive::Zip::Archive=HASH(0x100827720)', 'testdir/testing.txt') called at examples/selfex.pl line 29
# Failed test 'extracted/testdir/testing.txt exists'
# at t/03_ex.t line 74.
# got: undef
# expected: '1'
# Looks like you failed 4 tests of 17.
t/03_ex.t .....................
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/17 subtests
Test Summary Report
-------------------
t/02_main.t (Wstat: 768 Tests: 141 Failed: 3)
Failed tests: 31, 34, 63
Non-zero exit status: 3
t/03_ex.t (Wstat: 1024 Tests: 17 Failed: 4)
Failed tests: 4, 6, 10, 13
Non-zero exit status: 4
Files=16, Tests=245, 3 wallclock secs ( 0.12 usr 0.05 sys + 2.98 cusr 0.80 csys = 3.95 CPU)
Result: FAIL
Failed 2/16 test programs. 7/245 subtests failed.
make: *** [test_dynamic] Error 4
-> FAIL Installing Archive::Zip failed. See /Users/ether/.cpanm/work/1386462330.79456/build.log for details. Retry with --force to force install it.