Bug#1111896: libhtml-html5-writer-perl: FTBFS with Perl 5.42: Undefined subroutine &Scalar::Util::refaddr called
Niko Tyni
ntyni at debian.org
Sat Aug 23 13:29:41 BST 2025
Source: libhtml-html5-writer-perl
Version: 0.201-5
Severity: important
Tags: ftbfs forky sid upstream
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=157587
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/libhtml-html5-writer-perl_0.201-5/libhtml-html5-writer-perl_0.201-5_amd64-2025-08-22T10:47:46Z.build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/libhtml-html5-writer-perl-UUUwtB/libhtml-html5-writer-perl-0.201=. -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/libhtml-html5-writer-perl-UUUwtB/libhtml-html5-writer-perl-0.201=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro"
Checking if your kit is complete...
Looks good
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.
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