Bug#1043425: libmethod-signatures-perl: FTBFS with Perl 5.38: Smartmatch is deprecated

Niko Tyni ntyni at debian.org
Sun Aug 20 20:23:33 BST 2023


Control: tag -1 patch

On Thu, Aug 10, 2023 at 09:20:42PM +0300, Niko Tyni wrote:
> Source: libmethod-signatures-perl
> Version: 20170211-3
> Severity: important
> Tags: ftbfs trixie sid
> User: debian-perl at lists.debian.org
> Usertags: perl-5.38-transition
> 
> This package fails to build from source with Perl 5.38 (currently in
> experimental.)
> 
>   http://perl.debian.net/rebuild-logs/perl-5.38-throwaway/libmethod-signatures-perl_20170211-3/libmethod-signatures-perl_20170211-3_amd64-2023-08-04T06:11:02Z.build
> 
>     #   Failed test 'no warnings for using smartmatch'
>     #   at t/where.t line 21.
>     # found warning: Smartmatch is deprecated at (eval 34) line 1.
>     # didn't expect to find a warning

Here's a patch for this issue.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Skip-smartmatch-warnings-test-for-newer-perls.patch
Type: text/x-diff
Size: 1971 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20230820/676b987f/attachment.patch>


More information about the pkg-perl-maintainers mailing list