I just downloaded FreeBSD 9.0 amd64 and am using it to set up a home server. I've hit a snag trying to install Perl 5.14 from the lang/perl5.14 port.
The port will compile correctly, but it fails the make test suite. Here are the errors from the test suite:
Then the bottom is:
I've tried to install Perl 5.12 with the same results. I originally thought it might be a problem in the ports tree, so I reinstalled FreeBSD 8.2 amd64, but had no problems with it. I'm not a Perl programmer, so I have little idea how to go about resolving this.
The only other ports I've installed are shells/bash, editors/nano and maybe archivers/zip. Here's the current listing from pkg_info:
Thanks for any help.
The port will compile correctly, but it fails the make test suite. Here are the errors from the test suite:
Code:
# Failed test 'extract() for 'double_dir.zip' reports success (PP: 0 Bin: 1)'
# at t/01_Archive-Extract.t line 456.
# Failed test 'Found correct number of output files ()'
# at t/01_Archive-Extract.t line 469.
# got: '0'
# expected: '2'
# Failed test 'Found correct output file 'x/w''
# at t/01_Archive-Extract.t line 476.
# got: undef
# expected: 'x/w'
# Failed test 'Output file '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/x/w' exists'
# at t/01_Archive-Extract.t line 479.
# Failed test 'Extract dir found'
# at t/01_Archive-Extract.t line 481.
# Failed test 'Extract dir exists'
# at t/01_Archive-Extract.t line 483.
# Failed test 'Extract dir is expected '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/x''
# at t/01_Archive-Extract.t line 485.
# got: undef
# expected: '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/x'
# Failed test 'extract() for 'double_dir.zip' reports success (PP: 0 Bin: 1)'
# at t/01_Archive-Extract.t line 456.
# Failed test 'Found correct number of output files ()'
# at t/01_Archive-Extract.t line 469.
# got: '0'
# expected: '2'
# Failed test 'Found correct output file 'x/w''
# at t/01_Archive-Extract.t line 476.
# Failed test 'Output file '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/x/w' exists'
# at t/01_Archive-Extract.t line 479.
# Failed test 'Extract dir found'
# at t/01_Archive-Extract.t line 481.
# Failed test 'Extract dir exists'
# at t/01_Archive-Extract.t line 483.
# Failed test 'Extract dir is expected '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/x''
# at t/01_Archive-Extract.t line 485.
# got: undef
# expected: '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/x'
# Failed test 'extract() for 'y.jar' reports success (PP: 0 Bin: 1)'
# at t/01_Archive-Extract.t line 456.
# Failed test 'Found correct number of output files ()'
# at t/01_Archive-Extract.t line 469.
# got: '0'
# expected: '2'
# Failed test 'Found correct output file 'y/z''
# at t/01_Archive-Extract.t line 476.
# got: undef
# expected: 'y/z'
# Failed test 'Output file '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y/z' exists'
# at t/01_Archive-Extract.t line 479.
# Failed test 'Extract dir found'
# at t/01_Archive-Extract.t line 481.
# Failed test 'Extract dir exists'
# at t/01_Archive-Extract.t line 483.
# Failed test 'Extract dir is expected '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y''
# at t/01_Archive-Extract.t line 485.
# got: undef
# expected: '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y'
# Failed test 'extract() for 'y.jar' reports success (PP: 0 Bin: 1)'
# at t/01_Archive-Extract.t line 456.
# Failed test 'Found correct number of output files ()'
# at t/01_Archive-Extract.t line 469.
# got: '0'
# expected: '2'
# Failed test 'Found correct output file 'y/z''
# at t/01_Archive-Extract.t line 476.
# got: undef
# expected: 'y/z'
# Failed test 'Output file '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y/z' exists'
# at t/01_Archive-Extract.t line 479.
# Failed test 'Extract dir found'
# at t/01_Archive-Extract.t line 481.
# Failed test 'Extract dir exists'
# at t/01_Archive-Extract.t line 483.
# Failed test 'Extract dir is expected '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y''
# at t/01_Archive-Extract.t line 485.
# got: undef
# expected: '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y'
^M../cpan/Archive-Extract/t/01_Archive-Extract.t .................... 218/?
# Failed test 'extract() for 'y.zip' reports success (PP: 0 Bin: 1)'
# at t/01_Archive-Extract.t line 456.
# Failed test 'Found correct number of output files ()'
# at t/01_Archive-Extract.t line 469.
# got: '0'
# expected: '2'
# Failed test 'Found correct output file 'y/z''
# at t/01_Archive-Extract.t line 476.
# got: undef
# expected: 'y/z'
# Failed test 'Output file '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out/y/z' exists'
# at t/01_Archive-Extract.t line 479.
# Failed test 'Extract dir is expected '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out''
# at t/01_Archive-Extract.t line 485.
# got: undef
# expected: '/usr/ports/lang/perl5.14/work/perl-5.14.2/cpan/Archive-Extract/t/out'
^M../cpan/Archive-Extract/t/01_Archive-Extract.t .................... 1066/? # Looks like you failed 98 tests of 1560.
^M ^M../cpan/Archive-Extract/t/01_Archive-Extract.t
.................... Dubious, test returned 98 (wstat 25088, 0x6200)
Failed 98/1560 subtests
(less 478 skipped subtests: 984 okay)
Then the bottom is:
Code:
Test Summary Report
-------------------
../cpan/Archive-Extract/t/01_Archive-Extract.t (Wstat: 25088 Tests: 1560 Failed: 98)
Failed tests: 87, 89-94, 98, 100-105, 111, 113-118, 122
124-129, 255, 257-262, 266, 268-273, 495
497-502, 506, 508-513, 663, 665-670, 674
676-681, 759, 761-766, 770, 772-777, 831
833-838, 842, 844-849
Non-zero exit status: 98
../ext/POSIX/t/posix.t (Wstat: 0 Tests: 66 Failed: 0)
TODO passed: 11
Files=2089, Tests=464818, 816 wallclock secs (49.34 usr 8.55 sys + 433.38 cusr 57.27 csys = 548.54 CPU)
Result: FAIL
*** Error code 98
Stop in /usr/ports/lang/perl5.14/work/perl-5.14.2.
*** Error code 1
Stop in /usr/ports/lang/perl5.14.
I've tried to install Perl 5.12 with the same results. I originally thought it might be a problem in the ports tree, so I reinstalled FreeBSD 8.2 amd64, but had no problems with it. I'm not a Perl programmer, so I have little idea how to go about resolving this.
The only other ports I've installed are shells/bash, editors/nano and maybe archivers/zip. Here's the current listing from pkg_info:
Code:
bash-4.2.20 The GNU Project's Bourne Again SHell
bison-2.5,1 A parser generator from FSF, (mostly) compatible with Yacc
gettext-0.18.1.1 GNU gettext package
libiconv-1.13.1_1 A character set conversion library
libtool-2.4.2 Generic shared library support script
m4-1.4.16,1 GNU m4
nano-2.2.6 Nano's ANOther editor, an enhanced free Pico clone
portaudit-0.5.17 Checks installed ports against a list of security vulnerabi
unzip-6.0_1 List, test and extract compressed files in a ZIP archive
zip-3.0 Create/update ZIP files compatible with pkzip
Thanks for any help.