Bug#850225: libcatmandu-importer-getjson-perl: warnings when libjson-xs-perl is not installed

Niko Tyni ntyni at debian.org
Thu Jan 5 08:35:49 UTC 2017


Package: libcatmandu-importer-getjson-perl
Version: 0.50-1
Severity: minor
User: debian-perl at lists.debian.org
Usertags: autopkgtest

As noticed by the autopkgtest checks on ci.debian.net
 http://ci.debian.net/packages/libc/libcatmandu-importer-getjson-perl/unstable/amd64/

this package recently started to warn when used:

 % perl -we 'use Catmandu::Importer::getJSON'
 Subroutine JSON::PP::Boolean::(++ redefined at /usr/share/perl/5.24/overload.pm line 50.
 Subroutine JSON::PP::Boolean::(-- redefined at /usr/share/perl/5.24/overload.pm line 50.
 Subroutine JSON::PP::Boolean::(0+ redefined at /usr/share/perl/5.24/overload.pm line 50.

This only happens when libjson-xs-perl is not installed, which can happen
for instance when installing with 'apt --no-install-recommends'.

The change was probably triggered by libcatmandu-perl_1.034-[12] adding
a dependency on libcpanel-json-xs-perl. This seems to be an issue between
Cpanel::JSON::XS and JSON::PP, see
 https://github.com/rurban/Cpanel-JSON-XS/issues/65

Not sure what to do about it, this all seems a mess. #842464 is similar.
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list