Subject: | Bug during installation of Test::Pod |
Good morning,
I was installing using CPAN, on RH Linux 6.2, running Perl 5.00503.
I got the following error:
Running make for B/BD/BDFOY/Test-Pod-0.72.tar.gz
Is already unwrapped into directory /root/.cpan/build/Test-Pod-0.72
CPAN.pm: Going to build B/BD/BDFOY/Test-Pod-0.72.tar.gz
mkdir blib
mkdir blib/lib
mkdir blib/lib/Test
cp lib/Pod.pm blib/lib/Test/Pod.pm
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Test
mkdir blib/arch/auto/Test/Pod
Manifying blib/man3/Test::Pod.3
sh: blib/man3/Test::Pod.3: No such file or directory
Couldn't install blib/man3/Test::Pod.3
/usr/bin/make -j3 -- OK
Running make test
mkdir blib/lib/auto/Test
mkdir blib/lib/auto/Test/Pod
mkdir blib/man3
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.00503/i686-linux -I/usr/lib/perl5/5.00503 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/check_pod....ok
1/5 skipped: Waiting on Pod::Checker fix
t/load.........ok
t/pod_ok.......ok 2/5# Failed test (t/pod_ok.t at line 42)
t/pod_ok.......NOK 3# STDERR is:
# # Failed test (t/pod_ok.t at line 36)
# # Pod had errors in [t/pod/bad.pod]
# # *** WARNING: No numeric argument for =over at line 9 in file t/pod/bad.pod
# # *** ERROR: =over on line 9 without closing =back (at head1) at line 13 in file t/pod/bad.pod
# # t/pod/bad.pod has 1 pod syntax error.
#
# not:
# # Failed test (t/pod_ok.t at line 36)
# # Pod had errors in [t/pod/bad.pod]
# # *** ERROR: =over on line 9 without closing =back (at head1) at line 13 in file t/pod/bad.pod
# # t/pod/bad.pod has 1 pod syntax error.
#
# as expected
t/pod_ok.......FAILED test 3
Failed 1/5 tests, 80.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/pod_ok.t 5 1 20.00% 3
1 subtest skipped.
Failed 1/3 test scripts, 66.67% okay. 1/11 subtests failed, 90.91% okay.
make: *** [test_dynamic] Error 11
/usr/bin/make test -- NOT OK
It took me a minute to figure out the difference between the two -- an unexpected line was printed to STDERR:
# # *** WARNING: No numeric argument for =over at line 9 in file
Thanks,
Chris