Bug#1040534: libcatmandu-dbi-perl: FTBFS with newer versions of JSON::PP: t/09-serializer-json-string.t failure

Niko Tyni ntyni at debian.org
Fri Jul 7 12:32:01 BST 2023


Source: libcatmandu-dbi-perl
Version: 0.12-2
Severity: important
Tags: ftbfs upstream
User: debian-perl at lists.debian.org
Usertags: perl-5.38-transition
Forwarded: https://github.com/LibreCat/Catmandu-DBI/issues/35

This package fails to build with JSON::PP >= 4.08, including
the one packaged separately in libjson-pp-perl as of bookworm
and sid, and the one bundled with Perl 5.38 (currently in
experimental.)

  #   Failed test at t/09-serializer-json-string.t line 34.
  # Looks like you failed 1 test of 8.
  t/09-serializer-json-string.t .. 
  ok 1 - use Catmandu::Serializer::json_string;
  ok 2 - require Catmandu::Serializer::json_string;
  ok 3
  ok 4
  ok 5
  not ok 6
  ok 7
  ok 8
  1..8
  Dubious, test returned 1 (wstat 256, 0x100)
  Failed 1/8 subtests 
  t/author-pod-syntax.t .......... skipped: these tests are for testing by the author
  
  Test Summary Report
  -------------------
  t/09-serializer-json-string.t (Wstat: 256 (exited 1) Tests: 8 Failed: 1)
    Failed test:  6
    Non-zero exit status: 1
  Files=10, Tests=52,  4 wallclock secs ( 0.03 usr  0.02 sys +  2.66 cusr  0.36 csys =  3.07 CPU)
  Result: FAIL

This can be triggered for instance by passing sbuild the argument

  --add-depends='libjson-pp-perl (>= 4.08000)'

The upstream ticket at https://github.com/LibreCat/Catmandu-DBI/issues/35
indicates the test may be faulty.

-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list