Package: libjson-perl Version: 2.61-1 Severity: serious Tags: stretch sid fixed-upstream
As noticed by the reproducible builds CI system, this package fails to build on current sid, apparently due to changes in libjson-xs-perl >= 3.0. Upstream has released JSON-2.90 with this: ## JSON version 2.9 ##################################################### CAUTION!!! INCOMPATIBLE CHANGE JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally on loading time for making these modules inherit JSON::Boolean. But since JSON::XS v3.0 it use Types::Serialiser as boolean class. Then now JSON.pm breaks boolean classe overload features and -support_by_pp if JSON::XS v3.0 or later is installed. JSON::true and JSON::false returned JSON::Boolean objects. For workaround, they return JSON::PP::Boolean objects in this version. isa_ok(JSON::true, 'JSON::PP::Boolean'); And it discards a feature: ok(JSON::true eq 'true'); In other word, JSON::PP::Boolean overload numeric only. ok( JSON::true == 1 ); ########################################################################## >From the build log: Recursive inheritance detected in package 'Types::Serialiser::BooleanBase' at (eval 9) line 76. BEGIN failed--compilation aborted at t/xe04support_by_pp.t line 7. # Looks like your test exited with 255 before it could output anything. [...] Test Summary Report ------------------- t/xe04support_by_pp.t (Wstat: 5632 Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 3 tests but ran 0. t/xe05_indent_length.t (Wstat: 5632 Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 7 tests but ran 0. t/xe10_bignum.t (Wstat: 5632 Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 6 tests but ran 0. t/xe12_boolean.t (Wstat: 5632 Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 4 tests but ran 0. t/xe19_xs_and_suportbypp.t (Wstat: 5632 Tests: 0 Failed: 0) Non-zero exit status: 22 Parse errors: Bad plan. You planned 2 tests but ran 0. Files=58, Tests=3810, 11 wallclock secs ( 1.28 usr 0.11 sys + 9.58 cusr 0.33 csys = 11.30 CPU) Result: FAIL -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org