Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

X Report information
Id: 26767
Status: resolved
Left: 0 min
Priority: 0/0
Queue: Apache2-AutoIndex-XSLT

Owner: Nobody
Requestors: DAXIM <daxim [...] cpan.org>
Cc:
AdminCc:

Severity: Normal
Broken in: 0.03
Fixed in: (no value)




X History Display mode: Brief headersFull headers
#   Sat Apr 28 12:42:33 2007 DAXIM - Ticket created  
Subject: perl Build test fails
[text/plain 756b]
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

[application/octet-stream 2k]
Message body not shown because it is too large or is not plain text.
Subject: output of perl Build test.txt

[text/plain 3.2k]
/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)

#   Fri Dec 14 11:04:10 2007 NICOLAW - Correspondence added  
[text/plain 918b]
Will patch in the next version and release very shortly.

Many thanks.

On Sat Apr 28 12:42:33 2007, DAXIM wrote:
> 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.


#   Fri Dec 14 11:04:12 2007 RT_System - Status changed from 'new' to 'open'  
#   Fri Dec 14 13:17:32 2007 NICOLAW - Correspondence added  
[text/plain 98b]
This should be fixed now. Version 0.04 released to CPAN. Yell if you
still have problems.

Thanks.
#   Fri Dec 14 13:17:36 2007 NICOLAW - Status changed from 'open' to 'resolved'