Bug#1043028: libtest-valgrind-perl: FTBFS with Perl 5.38: t/20-bad.t failure

Niko Tyni ntyni at debian.org
Fri Aug 4 16:53:54 BST 2023


Source: libtest-valgrind-perl
Version: 1.19-4
Severity: important
Tags: ftbfs trixie sid patch
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=149286
User: debian-perl at lists.debian.org
Usertags: perl-5.38-transition

This package fails to build from source with Perl 5.38 (currently in
experimental.)

  http://perl.debian.net/rebuild-logs/perl-5.38-throwaway/libtest-valgrind-perl_1.19-4/libtest-valgrind-perl_1.19-4_amd64-2023-08-04T06:09:38Z.build

   # Using valgrind 3.19.0 located at /usr/bin/valgrind
   # Using suppressions from /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.perl/Test-Valgrind/suppressions/1.19/memcheck-3.19.0-bd70d6cc6d8860d399045326be838ffd.supp
   # # leaking some bytes!
   #   10,000 bytes in 1 blocks are still reachable in loss record 18 of 18
   #     malloc (/usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) [?:?]
   #     tv_leak (/<<PKGBUILDDIR>>/blib/arch/auto/Test/Valgrind/Valgrind.so) [Valgrind.xs:34]
   #     XS_Test__Valgrind_leak (/<<PKGBUILDDIR>>/blib/arch/auto/Test/Valgrind/Valgrind.so) [Valgrind.xs:54]
   #     ? (/usr/bin/perl) [?:?]
   #     Perl_runops_standard (/usr/bin/perl) [?:?]
   #     perl_run (/usr/bin/perl) [?:?]
   #     main (/usr/bin/perl) [?:?]
   
   #   Failed test 'Leak_StillReachable'
   #   at /<<PKGBUILDDIR>>/blib/lib/Test/Valgrind/Session.pm line 598.
   #          got: 1
   #     expected: 0
   
   #   Failed test 'caught one extra leak'
   #   at /<<PKGBUILDDIR>>/blib/lib/Test/Valgrind.pm line 307.
   #          got: '0'
   #     expected: '1'
   
   #   Failed test 'no extra leak caught, hence no bytes leaked'
   #   at /<<PKGBUILDDIR>>/blib/lib/Test/Valgrind.pm line 307.
   
   #   Failed test 'no extra leak caught, hence no block leaked'
   #   at /<<PKGBUILDDIR>>/blib/lib/Test/Valgrind.pm line 307.
   # Looks like your test exited with 1 just after 18.
   
   [...]
   
   Test Summary Report
   -------------------
   t/20-bad.t                  (Wstat: 256 (exited 1) Tests: 18 Failed: 4)
     Failed tests:  15-18
     Non-zero exit status: 1
   Files=10, Tests=200, 21 wallclock secs ( 0.05 usr  0.01 sys + 19.96 cusr  0.49 csys = 20.51 CPU)
   Result: FAIL

There's a patch/workaround in the upstream ticket (but I haven't tested it.)
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-perl-maintainers mailing list