Bug#1019757: perl: Subroutine JSON::PP::Boolean::(-- redefined with 5.36

Niko Tyni ntyni at debian.org
Thu Sep 29 20:35:29 BST 2022


Control: unblock 1019353 with -1

On Wed, Sep 14, 2022 at 07:57:01PM +0100, Niko Tyni wrote:
> Package: perl
> Version: 5.36.0-2
> User: debian-perl at lists.debian.org
> Usertags: perl-5.36-transition
> Forwarded: https://github.com/Perl/perl5/issues/20246
> X-Debbugs-Cc: libmetacpan-client-perl at packages.debian.org
> Control: affects -1 libmetacpan-client-perl
> Control: block 1019353 with -1
> 
> This warns with Perl >= 5.36:
> 
>   % perl -we 'use Cpanel::JSON::XS (); use JSON::PP'
>   Subroutine JSON::PP::Boolean::(0+ redefined at /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 52.
>   Subroutine JSON::PP::Boolean::(++ redefined at /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 52.
>   Subroutine JSON::PP::Boolean::(-- redefined at /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 52.
> 
> I have filed https://github.com/makamaka/JSON-PP/issues/76 against
> JSON::PP about this, but it's currently unclear if it should rather be
> "fixed" on the Perl side ( https://github.com/Perl/perl5/issues/20246 ).
> 
> The immediate impact is that (at least) libmetacpan-client-perl now
> fails its autopkgtest checks because of the warning, as seen at

[...]

> Not sure yet what to do about this but it doesn't feel like it should
> be a hard blocker for the Perl 5.36 transition. Adding the metadata for
> now anyway so we don't forget about it.

I think we still want to release with Perl 5.36 even if this isn't
fixed in time for bookworm.

I've just uploaded libmetacpan-client-perl 2.030000-2 with the warnings
whitelisted so the autopkgtest checks won't block the 5.36 transition.

I've also prodded the upstream ticket a bit, hoping that somebody would
determine if it needs to be fixed in Perl or JSON::PP.
-- 
Niko Tyni   ntyni at debian.org




More information about the Perl-maintainers mailing list