Bug#1111895: libhtml-html5-builder-perl: FTBFS with Perl 5.42: Undefined subroutine &Scalar::Util::refaddr called
Niko Tyni
ntyni at debian.org
Sat Aug 23 13:24:02 BST 2025
Source: libhtml-html5-builder-perl
Version: 0.004-5
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/libhtml-html5-builder-perl_0.004-5/libhtml-html5-builder-perl_0.004-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-builder-perl-7jLXFu/libhtml-html5-builder-perl-0.004=. -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-builder-perl-7jLXFu/libhtml-html5-builder-perl-0.004=. -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]
- ExtUtils::MakeMaker ...loaded. (7.76 >= 6.42)
- Test::More ...missing. (would need 0.61)
- common::sense ...loaded. (3.75)
- Scalar::Util ...loaded. (1.21)
- HTML::HTML5::Writer ...loaded. (0.201)
- HTML::HTML5::Entities ...loaded. (0.004 >= 0.001)
- Carp ...loaded. (1.54)
- XML::LibXML ...loaded. (2.0134 >= 1.60)
*** Module::AutoInstall configuration finished.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for HTML::HTML5::Builder
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