Bug#1111897: libicon-famfamfam-silk-perl: FTBFS with Perl 5.42: Undefined subroutine &Scalar::Util::refaddr called
Niko Tyni
ntyni at debian.org
Sat Aug 23 13:37:30 BST 2025
Source: libicon-famfamfam-silk-perl
Version: 0.002001003-3
Severity: important
Tags: ftbfs forky sid 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/libicon-famfamfam-silk-perl_0.002001003-3/libicon-famfamfam-silk-perl_0.002001003-3_amd64-2025-08-22T10:47:20Z.build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/libicon-famfamfam-silk-perl-dgmoPZ/libicon-famfamfam-silk-perl-0.002001003=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/libicon-famfamfam-silk-perl-dgmoPZ/libicon-famfamfam-silk-perl-0.002001003=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro"
*** Module::AutoInstall version 1.03
*** Checking for Perl dependencies...
[Core Features]
- Test::More ...missing. (would need 0.61)
- ExtUtils::MakeMaker ...loaded. (7.76 >= 6.42)
- MIME::Base64 ...loaded. (3.16_01)
- URI ...loaded. (5.30)
*** Module::AutoInstall configuration finished.
Cannot determine license info from lib/Icon/FamFamFam/Silk.pm
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Icon::FamFamFam::Silk
CPAN::Meta::YAML->errstr and $CPAN::Meta::YAML::errstr is deprecated at /usr/share/perl/5.42/CPAN/Meta.pm line 627.
Undefined subroutine &Scalar::Util::refaddr called
at /usr/share/perl/5.42/ExtUtils/MM_Any.pm line 1702.
END failed--call queue aborted.
It looks like this is because there's a bundled and stripped version of
Scalar::Util in inc/ that doesn't have refaddr(), but ExtUtils::MakeMaker
now requires it. I expect that removing the bundled version will fix
the issue.
There's a related upstream ticket at
https://rt.cpan.org/Public/Bug/Display.html?id=156121 but it seems to
be mainly about the CPAN::Meta::YAML deprecation warning (while I think
the refaddr() thing is the main issue here.)
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
More information about the pkg-perl-maintainers
mailing list