Bug#1078117: libtest-expander-perl: autopkgtest regression with Perl 5.40: syntax.t failure

Niko Tyni ntyni at debian.org
Sat Aug 24 16:47:58 BST 2024


Control: tag -1 patch

On Wed, Aug 07, 2024 at 11:10:28AM +0300, Niko Tyni wrote:
> Package: libtest-expander-perl
> Version: 2.5.0-2
> Severity: important
> User: debian-perl at lists.debian.org
> Usertags: perl-5.40-transition
> 
> This package fails its autopkgtest checks with Perl 5.40 (currently
> in experimental.)

>  89s     # Name "Test::Expander::BAIL_OUT" used only once: possible typo at /usr/share/perl5/Test/Expander.pm line 83.
>  89s     not ok 2 - /usr/bin/perl -wc /usr/share/perl5/Test/Expander.pm exited successfully

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

Patch doing this attached.
-- 
Niko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Silence-a-fatalized-used-only-once-warning.patch
Type: text/x-diff
Size: 1170 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20240824/d3986068/attachment.patch>


More information about the pkg-perl-maintainers mailing list