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

#1111980#5
Date:
2025-08-24 17:10:34 UTC
From:
To:
Source: libkiokudb-perl
Version: 0.57-3
Severity: important
Tags: ftbfs forky sid patch upstream
User: debian-perl@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,

#1111980#8
Date:
2025-09-03 16:43:09 UTC
From:
To:
Hello,

Bug #1111980 in libkiokudb-perl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/perl-team/modules/packages/libkiokudb-perl/-/commit/80e18566fa583414ecec4a1b52e2cecc54379fc6
------------------------------------------------------------------------
Add patch for compatibility with Scalar::Util 1.64 (bundled with Perl 5.42).

Thanks: Niko Tyni for the patch.
Closes: #1111980
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1111980

#1111980#15
Date:
2025-09-03 17:06:37 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libkiokudb-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1111980@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gregoa@debian.org> (supplier of updated libkiokudb-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 03 Sep 2025 18:35:10 +0200
Source: libkiokudb-perl
Architecture: source
Version: 0.57-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 1111980
Changes:
 libkiokudb-perl (0.57-4) unstable; urgency=medium
 .
   * Add patch for compatibility with Scalar::Util 1.64 (bundled with
     Perl 5.42).
     Thanks to Niko Tyni for the patch. (Closes: #1111980)
   * Update years of packaging copyright.
   * Declare compliance with Debian Policy 4.7.2.
   * Remove «Rules-Requires-Root: no», which is the current default.
   * Remove «Priority: optional», which is the current default.
Checksums-Sha1:
 61d510973219699bd8ff273837afdad8301c0137 3207 libkiokudb-perl_0.57-4.dsc
 224be4bafe4724d1616d63e940925bf4f76a1411 5040 libkiokudb-perl_0.57-4.debian.tar.xz
Checksums-Sha256:
 af82ce72d8f3655537a0c114baae90bf870f03c49375c93dc67d119b480ef098 3207 libkiokudb-perl_0.57-4.dsc
 4f00ba2dd1d3116fbffbae9fa34a26cbce89117762791cc1d009c41526b471eb 5040 libkiokudb-perl_0.57-4.debian.tar.xz
Files:
 46a6bd3145fd19c060e43db8c5a170e2 3207 perl optional libkiokudb-perl_0.57-4.dsc
 c164dd6398b2b0a32a29a53cba5e4ce1 5040 perl optional libkiokudb-perl_0.57-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmi4cBJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgberA/+IzvNkkQDcbJHRdu10w3b7xYHnBIBey8Bqp6z4IWm+br+4NKimJUjuLyR
SqO3o4TTXMlaaGhnHN6aQu7rQyN0kY5SakL65JkUY2AMoAYEWHZf+mZjCEeIDGhS
TBTGsFu2GC6GBDkxVRs9M+QlhP1rCKB1E9G4Y9t3cZLE3eNPGZXQ9WccptlSlFsL
SBBPTh2mTHYXOhfuM4ebT1SCOTjzlp5zaFxXQUG6J7I+UxhU+rCVB3pwxOcMrN6R
C0evIIgsuK7IFO2Se9IFf90Ik5Bjg3Sj5xcW4oy14q4rDeN3U3513A2jeDvpsyuy
TKam2yYcmlnQBQ3oK+jNsWBYprNWXDbW1mVlqSHsP1jHXRToklh4r9TObnUvE2Bl
Rd5YqCkh20Mkd4kLGQUejdrPll3JZD3rgpNPSWcfp82dqBOURAnWEFvIV3MIgnf7
GrpJloxYJU3uXGzC2hSFEm9z8Q+EAzhAqbuE+7aWSRbi7J7tsv+q/1k51yKTeVgI
q371139CnYKmRMKkyNhYO6wgDAYOW3aPwZIrAimck11vtyK5i4TztgRKO2qyVssO
9fP3f8+AcB/VL4bBYJJ75MmgBJtmR7lgrDn/z9rpx5kxfowVi2ZEY5zavLouaxAL
AXzjm4CMpasHyNAGGutpeErH0DZXWFkhkArhPi/z+drvSUSLhN8=
=dQ0y
-----END PGP SIGNATURE-----