Subject: | Test failure |
perl 5.8.9, perlbrew, Test-Compile 0.24
other modules look working.
bash-4.1$ ./Build test
Use of uninitialized value in length at /home/vse/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/Module/Build/Base.pm line 2767.
t/00compile.t ...................... 1/12
# Failed test 'Compile test for blib/lib/BackPAN/Index.pm'
# at /home/vse/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/Test/Compile.pm line 152.
# blib/lib/BackPAN/Index.pm does not compile
# Failed test 'Compile test for blib/lib/BackPAN/Index/Schema.pm'
# at /home/vse/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/Test/Compile.pm line 152.
# blib/lib/BackPAN/Index/Schema.pm does not compile
# Failed test 'Compile test for blib/lib/BackPAN/Index/Release.pm'
# at /home/vse/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/Test/Compile.pm line 152.
# blib/lib/BackPAN/Index/Release.pm does not compile
# Failed test 'Compile test for blib/lib/BackPAN/Index/File.pm'
# at /home/vse/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/Test/Compile.pm line 152.
# blib/lib/BackPAN/Index/File.pm does not compile
# Failed test 'Compile test for blib/lib/BackPAN/Index/Dist.pm'
# at /home/vse/perl5/perlbrew/perls/perl-5.8.9/lib/site_perl/5.8.9/Test/Compile.pm line 152.
# blib/lib/BackPAN/Index/Dist.pm does not compile
# Looks like you failed 5 tests of 12.
t/00compile.t ...................... Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/12 subtests
t/00setup.t ........................ 1/4 # Fetching the BackPAN index and creating the database. This may take a while.
t/00setup.t ........................ ok
t/Parse-BACKPAN-Packages/args.t .... ok
t/Parse-BACKPAN-Packages/simple.t .. ok
t/as_hash.t ........................ ok
t/authors.t ........................ ok
t/cgi.t ............................ ok
t/distributions.t .................. ok
t/file.t ........................... ok
t/only_authors.t ................... ok
t/pod.t ............................ skipped: Author test
t/pod_coverage.t ................... skipped: Author test
t/stringify.t ...................... ok
t/types.t .......................... ok
Test Summary Report
-------------------
t/00compile.t (Wstat: 1280 Tests: 12 Failed: 5)
Failed tests: 1-2, 5, 7-8
Non-zero exit status: 5
Files=14, Tests=127, 38 wallclock secs ( 0.06 usr 0.01 sys + 19.64 cusr 1.72 csys = 21.43 CPU)
Result: FAIL
Failed 1/14 test programs. 5/127 subtests failed.
bash-4.1$
but at the same time:
bash-4.1$ perl -Iblib/lib -c blib/lib/BackPAN/Index.pm
blib/lib/BackPAN/Index.pm syntax OK
bash-4.1$ perl -Ilib -c lib/BackPAN/Index.pm
lib/BackPAN/Index.pm syntax OK