Control: reassign -1 libcpanel-json-xs-perl 4.30-1 Control: affects -1 request-tracker5
On Mon, Aug 08, 2022 at 12:21:17AM +0200, gregor herrmann wrote: > On Sun, 07 Aug 2022 21:09:49 +0300, Niko Tyni wrote: > > # Subroutine JSON::PP::Boolean::(++ redefined at > > /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 52. > > # at /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 52. > > # overload::OVERLOAD("JSON::PP::Boolean", "0+", > > CODE(0x561a9651eee0), "++", CODE(0x561a9651ef40), "--", > > CODE(0x561a9651efd0), "\"\"", ...) called at > > /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 61 > > # overload::import("overload", "0+", CODE(0x561a9651eee0), "++", > > CODE(0x561a9651ef40), "--", CODE(0x561a9651efd0), "\"\"", ...) called at > > /usr/lib/x86_64-linux-gnu/perl5/5.36/Cpanel/JSON/XS.pm line 2365 > > # Cpanel::JSON::XS::BEGIN() called at > > /usr/lib/x86_64-linux-gnu/perl5/5.36/Cpanel/JSON/XS.pm line 2366 > > Could this be https://github.com/rurban/Cpanel-JSON-XS/issues/198 in > libcpanel-json-xs-perl? Thanks! That bug didn't exist when I last looked :) It's not quite the same thing but certainly looks related. I get the overload warnings even with the older libjson-pp-perl bundled with Perl 5.36: % perl -we 'use Cpanel::JSON::XS (); use JSON::PP ()' Subroutine JSON::PP::Boolean::(-- redefined at /usr/lib/x86_64-linux-gnu/perl-base/overload.pm line 52. 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. Reassigning. I assume Cpanel-JSON-XS is the place that needs a fix. -- Niko