Bug#521971: FTBFS for libembperl-perl

Niko Tyni ntyni at debian.org
Sun Aug 30 20:39:01 UTC 2009


tag 521971 - moreinfo unreproducible
tag 521971 patch
retitle 521971 libembperl-perl: FTBFS: Test failure with CGI.pm >= 3.38
thanks

On Wed, Aug 26, 2009 at 03:25:36PM -0700, Daniel Schepler wrote:
> 
> OK, this is interesting.  It builds fine for me using a clean pbuilder chroot.  
> But the error I reported is 100% reproducible using my pbuilder chroot 
> pointing to a local repository where all the packages are rebuilt.  And this 
> is on a different machine than the one I originally saw the bug on (under the 
> same circumstances).

Got it, the breakage happens if the separate libcgi-pm-perl package is
installed. An easy way to test it is

# perl -Iblib/lib -Iblib/arch test.pl -h 77

Bisecting over CPAN releases shows it broke with 3.38.
The relevant change is this one:

  7. Fixed overlap of attribute and parameter space described in
     http://rt.perl.org/rt3//Ticket/Display.html?id=24294

Embperl intentionally relies on CGI.pm internals because the param_fetch()
method is 'only' available with CGI.pm >= 2.43 or so. Patch attached.

I think the original report had a copy/paste error, it showed this
happening in the 'offline mode' phase of the test suite. This confused
me for quite some time because there was no way it could happen when
you look at the code.

I only see it in the 'mod_perl mode' phase, activated by the '-h'
option above.

Cheers,
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 521971.patch
Type: text/x-diff
Size: 440 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20090830/495669f2/attachment.patch>


More information about the pkg-perl-maintainers mailing list