Subject: | perl Build test fails |
Linux 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686
athlon i386 GNU/Linux
Apache/2.0.59 (Unix) DAV/2 mod_perl/2.0.3 Perl/v5.8.8
Apache2::AutoIndex::XSLT 0.03
mp2 is configured with perl Makefile.PL MP_USE_GTOP=1 MP_COMPAT_1X=0
MP_APXS=/usr/local/apache2/bin/apxs
XML::Quote 1.02 is installed.
Test::Pod Test::Pod::Coverage not installed, figured it wouldn't be
essential.
---
perl Build test fails, see attached logs. The important bit of the
error message is
Can't locate object method "print" via package
"Apache2::RequestRec" at .../blib/lib/Apache2/AutoIndex/XSLT.pm line
175/193
I checked the docs, print is a method of Apache2::RequestIO. Adding
use Apache2::RequestIO qw();
to XSLT.pm makes the test run through ok.
Subject: | error_log |
Subject: | output of perl Build test.txt |
/usr/bin/perl -I /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/blib/lib -I /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/blib/arch t/TEST -clean
Use of uninitialized value in length at /usr/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 4000.
Use of uninitialized value in scalar assignment at /usr/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 4000.
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/t/TEST -clean
/usr/bin/perl -I /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/blib/lib -I /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/blib/arch t/TEST -bugreport -verbose=0
Use of uninitialized value in length at /usr/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 4000.
Use of uninitialized value in scalar assignment at /usr/lib/perl5/site_perl/5.8.8/Module/Build/Base.pm line 4000.
[warning] setting ulimit to allow core files
ulimit -c unlimited; /usr/bin/perl /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/t/TEST -bugreport -verbose=0
/usr/local/apache2/bin/httpd -d /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/t -f /home/daxim/tmp/Apache2-AutoIndex-XSLT-0.03/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
using Apache/2.0.59 (prefork MPM)
waiting 60 seconds for server to start: ..
waiting 60 seconds for server to start: ok (waited 1 secs)
server localhost:8529 started
t/10pod.............skipped
all skipped: Test::Pod 1.00 required for testing POD
t/11pod_coverage....skipped
all skipped: Test::Pod::Coverage 1.00 required for testing POD Coverage
t/20compile.........ok
t/30options.........NOK 1/14# Failed test 1 in t/30options.t at line 33
# Failed test 2 in t/30options.t at line 33 fail #2
# Failed test 3 in t/30options.t at line 33 fail #3
# Failed test 4 in t/30options.t at line 33 fail #4
# Failed test 5 in t/30options.t at line 33 fail #5
# Failed test 6 in t/30options.t at line 33 fail #6
# Failed test 7 in t/30options.t at line 33 fail #7
# Failed test 8 in t/30options.t at line 33 fail #8
# Failed test 9 in t/30options.t at line 33 fail #9
# Failed test 10 in t/30options.t at line 33 fail #10
# Failed test 11 in t/30options.t at line 33 fail #11
# Failed test 12 in t/30options.t at line 33 fail #12
# Failed test 13 in t/30options.t at line 33 fail #13
# Failed test 14 in t/30options.t at line 33 fail #14
t/30options.........FAILED tests 1-14
Failed 14/14 tests, 0.00% okay
t/31listing.........NOK 1/3# Failed test 1 in t/31listing.t at line 21
t/31listing.........NOK 2/3# Failed test 2 in t/31listing.t at line 21 fail #2
t/31listing.........NOK 3/3# Failed test 3 in t/31listing.t at line 21 fail #3
t/31listing.........FAILED tests 1-3
Failed 3/3 tests, 0.00% okay
t/40validxml........skipped
all skipped: no reason given
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/30options.t 14 14 1-14
t/31listing.t 3 3 1-3
3 tests skipped.
Failed 2/6 test scripts. 17/19 subtests failed.
Files=6, Tests=19, 1 wallclock secs ( 1.27 cusr + 0.15 csys = 1.42 CPU)
Failed 2/6 test programs. 17/19 subtests failed.
[warning] server localhost:8529 shutdown
[ error] error running tests (please examine t/logs/error_log)