Bug#467279: libpod-webserver-perl: FTBFS with Perl 5.10 (test failure)

2008-05-28 Thread Gunnar Wolf
tags 467279 + patch, pending, upstream
thanks

It seems Perl 5.10 is stricter when it comes to dereferencing
not-yet-existing globs - This patch (although in an ugly way) does the
trick:

--- libpod-webserver-perl-3.04.yours/t/01_about_verbose.t   2006-06-02 
22:10:45.0 -0500
+++ libpod-webserver-perl-3.04/t/01_about_verbose.t 2008-05-28 
10:45:36.0 -0500
@@ -43,8 +43,8 @@
 if(defined ${$this . '::VERSION'} ) {
   $v{$this} = ${$this . '::VERSION'}
 } elsif(
-   defined *{$this . '::ISA'} or defined {$this . '::import'}
-   or ($this ne '' and grep defined *{$_}{'CODE'}, values %{$this . ::})
+   eval{defined *{$this . '::ISA'}} or eval{defined {$this . '::import'}}
+   or ($this ne '' and eval{grep defined *{$_}{'CODE'}, values %{$this . 
::}})
# If it has an ISA, an import, or any subs...
 ) {
   # It's a class/module with no version.

I am forwarding this bug to the upstream bugtracker:

http://rt.cpan.org/Ticket/Display.html?id=36248

-- 
Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#467279: libpod-webserver-perl: FTBFS with Perl 5.10 (test failure)

2008-02-24 Thread Niko Tyni
Package: libpod-webserver-perl
Version: 3.04-1.1
Severity: important
Tags: fixed-upstream
User: [EMAIL PROTECTED]
Usertags: perl-5.10-ftbfs

This package fails to build with Perl 5.10.0 (currently in experimental.)

According to the upstream changelog, this is fixed in 3.05.

From the build log:

PERL_DL_NONLAZY=1 /usr/bin/perl -MExtUtils::Command::MM -e test_harness(0, 
'blib/lib', 'blib/arch') t/*.t
t/01_about_verboseNot a GLOB reference at t/01_about_verbose.t line 43.
dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED test 2
Failed 1/2 tests, 50.00% okay
t/02_pod_webserverok
Failed Test  Stat Wstat Total Fail  List of Failed
---
t/01_about_verbose.t  255 65280 22  2
Failed 1/2 test scripts. 1/16 subtests failed.
Files=2, Tests=16,  0 wallclock secs ( 0.24 cusr +  0.04 csys =  0.28 CPU)
Failed 1/2 test programs. 1/16 subtests failed.
make[1]: *** [test_dynamic] Error 255
make[1]: Leaving directory `/build/niko/libpod-webserver-perl-3.04'
make: *** [install-stamp] Error 2

Cheers,
-- 
Niko Tyni   [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]