Bug#1111980: libkiokudb-perl: FTBFS with Perl 5.42: t/coderefs.t failure

Niko Tyni ntyni at debian.org
Sun Aug 24 18:10:34 BST 2025


Source: libkiokudb-perl
Version: 0.57-3
Severity: important
Tags: ftbfs forky sid patch upstream
User: debian-perl at lists.debian.org
Usertags: perl-5.42-transition

This package fails to build with Perl 5.42 (currently in experimental.)

  https://perl.debian.net/rebuild-logs/perl-5.42-throwaway/libkiokudb-perl_0.57-3/libkiokudb-perl_0.57-3_amd64-2025-08-22T10:46:20Z.build

   #   Failed test 'FQ reference only'
   #   at t/coderefs.t line 475.
   #     Structures begin differing at:
   #          $got->{package} = 'builtin'
   #     $expected->{package} = 'Scalar::Util'
   # Looks like you failed 1 test of 104.

This is because newer versions of Scalar::Util started to use
the builtin version of weaken() et al. where available. See

  https://github.com/Dual-Life/Scalar-List-Utils/pull/132/files

The attached patch adapts the test to the changed Scalar::Util
behaviour. It makes the test pass for me on both Perl 5.40
(Scalar::Util 1.63) and Perl 5.42 (Scalar::Util 1.68_01).
 
If you want to test changes against Perl 5.42 in experimental and run
into uninstallability problems, there is a test repository of rebuilt
Debian sid packages for amd64 available at <https://perl.debian.net/>.

Thanks for your work on Debian,
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adapt-to-Scalar-Util-change-to-use-builtin-functions.patch
Type: text/x-diff
Size: 1211 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250824/711c9955/attachment.patch>


More information about the pkg-perl-maintainers mailing list