Package: libhtml-stripscripts-perl
Version: 1.06-4
Severity: important
Tags: trixie sid
User: debian-p...@lists.debian.org
Usertags: perl-5.40-transition

This package fails its autopkgtest checks with Perl 5.40 (currently
in experimental.)

  
https://ci.debian.net/packages/libh/libhtml-stripscripts-perl/unstable/amd64/50044348/

This is because of an intentional behaviour change in Perl 5.40:

  
https://metacpan.org/dist/perl/view/pod/perldelta.pod#Changes-to-Existing-Diagnostics

    Name "%s::%s" used only once: possible typo

    This warning now honors being marked as fatal. [GH #13814]

  See https://github.com/Perl/perl5/issues/13814 for more information.

Now, /usr/share/perl5/HTML/StripScripts.pm

  use warnings FATAL => 'all';

so the warning now correctly causes the check to exit with an error code.

A fix might be to add "no warnings 'once';" to the block where the
offending variable is used.

-- 
Niko Tyni   nt...@debian.org

Reply via email to