Bug#789845: libhtml-stripscripts-perl: FTBFS with perl 5.22: regexp deprecation

Dominic Hargreaves dom at earth.li
Wed Jun 24 21:22:51 UTC 2015


Source: libhtml-stripscripts-perl
Version: 1.05-1
Severity: important
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
Tags: sid stretch upstream

This package FTBFS with perl 5.22 (currently in experimental):

#   Failed test 'use HTML::StripScripts;'
#   at t/10basic.t line 7.
#     Tried to use 'HTML::StripScripts'.
#     Error:  Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^\s*([+-]?\d{1,20}(?:\.\d{ <-- HERE 1,20)?)\s*((?:\%|\*|ex|px|pc|cm|mm|in|pt|em)?)\s*$/ at /«PKGBUILDDIR»/blib/lib/HTML/StripScripts.pm line 1633.
# Compilation failed in require at t/10basic.t line 7.
# BEGIN failed--compilation aborted at t/10basic.t line 7.

etc..

This is fatal because of 

    use warnings FATAL => 'all';

in StripScripts.pm. This is arguably a bug in itself[1].

This bug will become release critical nearer the time of the perl 5.22
migration, expected during the (northern hemisphere) summer.

Cheers,
Dominic.

[1] <http://www.modernperlbooks.com/mt/2014/01/fatal-warnings-are-a-ticking-time-bomb.html>



More information about the pkg-perl-maintainers mailing list