Bug#1111976: libaudio-scan-perl: FTBFS with Perl 5.42: Unparseable XSUB parameter
Niko Tyni
ntyni at debian.org
Sun Aug 24 17:23:57 BST 2025
Source: libaudio-scan-perl
Version: 1.01-2
Severity: important
Tags: ftbfs forky sid patch upstream
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=167903
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/libaudio-scan-perl_1.01-2/libaudio-scan-perl_1.01-2+b5_amd64-2025-08-20T07:17:49Z.build
"/usr/bin/perl" "/usr/share/perl/5.42/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.42/ExtUtils/typemap' Scan.xs > Scan.xsc
cp lib/Audio/Scan.pm blib/lib/Audio/Scan.pm
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Scan.bs blib/arch/auto/Audio/Scan/Scan.bs 644
Unparseable XSUB parameter: 'char *' in Scan.xs, line 217
Unparseable XSUB parameter: 'char *' in Scan.xs, line 269
Unparseable XSUB parameter: 'char *' in Scan.xs, line 285
Unparseable XSUB parameter: 'char *' in Scan.xs, line 309
Unparseable XSUB parameter: 'char *' in Scan.xs, line 325
Unparseable XSUB parameter: 'char *' in Scan.xs, line 363
Please specify prototyping behavior for Scan.xs (see perlxs manual)
make[1]: *** [Makefile:363: Scan.c] Error 1
This is because of changes in ExtUtils-ParseXS, which
now properly detects invalid XS syntax in this module. See
https://rt.cpan.org/Public/Bug/Display.html?id=162293 for a similar issue
in Crypt-SMIME. The attached patch adopts the technique suggested there
by Dave Mitchell: give the ignored first parameter a name but no type.
This works for on both Perl 5.40 and 5.42.
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-Fix-invalid-XS-syntax-that-breaks-the-build-with-Per.patch
Type: text/x-diff
Size: 2081 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250824/9693c3af/attachment.patch>
More information about the pkg-perl-maintainers
mailing list