Bug#629293: libtie-regexphash-perl: FTBFS with perl 5.14: test failures

gregor herrmann gregoa at debian.org
Wed Nov 16 20:14:03 UTC 2011


On Sun, 05 Jun 2011 12:33:27 +0100, Dominic Hargreaves wrote:

> This package fails to build with perl 5.14, currently in experimental:
> 
> t/01-RegexpHash.t .. ok
> Use of uninitialized value $pat in regexp compilation at /build/dom-libtie-regexphash-perl_0.15-2-i386-0UlrxE/libtie-regexphash-perl-0.15/blib/lib/Tie/RegexpHash.pm line 309.
> 
> #   Failed test at t/02-RegexpHash.t line 44.
> # Looks like you failed 1 test of 13.
> t/02-RegexpHash.t .. 
> Dubious, test returned 1 (wstat 256, 0x100)
> 
> This is <https://rt.cpan.org/Public/Bug/Display.html?id=66875>

This is a bit tricky; as the warning suggests, this is not (only?) a
problem in the tests but really in the code:
lib/Tie/RegexpHash.pm does all kind of nasty mangling with the
regexes _as strings_ (and stringification of regexps has changed in
5.14).

Probably using the re pragma could help here, but it requires a major
surgical intervention.

Since libtie-regexphash-perl has no build or runtime rdeps we can
remove it at least from testing ...


Cheers,
gregor
 
-- 
 .''`.   Homepage: http://info.comodo.priv.at/ - OpenPGP key ID: 0x8649AA06
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Joan Baez & Mercedes Sosa: Gracias A La Vida
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20111116/e2293b42/attachment.pgp>


More information about the pkg-perl-maintainers mailing list