#1141461 libwx-perl: header fix for compatibility with newer ExtUtils::ParseXS

Package:
libwx-perl
Source:
libwx-perl
Description:
interface to wxWidgets cross-platform GUI toolkit
Submitter:
Niko Tyni
Date:
2026-07-05 13:35:02 UTC
Severity:
normal
Tags:
#1141461#5
Date:
2026-07-05 07:51:49 UTC
From:
To:
Package: libwx-perl
Version: 1:0.9932-9
Severity: normal
Tags: patch
User: debian-perl@lists.debian.org
Usertags: perl-5.44-transition

This package fails to build with newer versions of ExtUtils::ParseXS,
including the one bundled with the upcoming Perl 5.44.0. The newer
ExtUtils::ParseXs is not packaged in Debian quite yet.

The build fails because EU::PXS has changed its processing order of
INCLUDE: directives, triggering latent bugs in several libwx-perl
XS source files. EU::PXS was largely rewritten during the Perl 5.44
development cycle, and the new ordering is more or less a bug fix.

The libwx-perl modules were relying on the old processing order to bring
in some of the Wx headers they need. The attached patch adds explicit
#include directives for them.

While the patch is not strictly needed in Debian before we move to Perl
5.44, it would help my testing if it could be included sooner. It should
be harmless and works with older EU::PXS versions as well. I have tested
that libwx-perl still builds fine in sid with the patch.

A failing build log is at

https://perl.debian.net/rebuild-logs/perl-5.44/libwx-perl_0.9932-9/libwx-perl_0.9932-9+b5_amd64-2026-07-04T07:25:45Z.build

and the same site also hosts an apt repository of rebuilt packages for
testing with Perl 5.44.

#1141461#8
Date:
2026-07-05 13:11:42 UTC
From:
To:
Hello,

Bug #1141461 in libwx-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/libwx-perl/-/commit/ac3c90966a04ccc43a645abed09820f5d0018ce1
Closes: #1141461
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1141461

#1141461#15
Date:
2026-07-05 13:33:52 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libwx-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 1141461@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 libwx-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: Sun, 05 Jul 2026 15:04:54 +0200
Source: libwx-perl
Architecture: source
Version: 1:0.9932-10
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: gregor herrmann <gregoa@debian.org>
Closes: 1141461
Changes:
 libwx-perl (1:0.9932-10) unstable; urgency=medium
 .
   * Add patch from Niko Tiny: Fix header includes for compatibility with
     newer EU::ParseXS versions. (Closes: #1141461)
   * Declare compliance with Debian Policy 4.7.4.
   * Remove «Rules-Requires-Root: no», which is the current default.
   * Remove «Priority: optional», which is the current default.
   * Replace FSF postal address with a reference to
https://www.gnu.org/licenses/. Changes-By: lintian-brush.
   * Drop lintian overrides (removed or unused tags).
Checksums-Sha1:
 91c1a6d478bc369b402c652c41668eff663dfe7d 2618 libwx-perl_0.9932-10.dsc
 0b73b9f2d18ef842195632892ab964ad7d9cc628 24140 libwx-perl_0.9932-10.debian.tar.xz
Checksums-Sha256:
 3e95088d4e6f03075395ff79415d4c36268526f4bb84951ef9a18cc9f094c34e 2618 libwx-perl_0.9932-10.dsc
 4a7effd096c2c1492e91c0493c658659d5fc2062f81ab90987f8487b16606274 24140 libwx-perl_0.9932-10.debian.tar.xz
Files:
 fb4da93352f32a6a9a2aefebc50f69e3 2618 perl optional libwx-perl_0.9932-10.dsc
 0aa2e639cb0b38f4e1e9bab57b69141b 24140 perl optional libwx-perl_0.9932-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmpKWARfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgb9Jw//UEEo2DZ/946BX7ustj9FwqY1vRfAjmf+kt7fMXIIHl0Uo9SubmyvHAyb
iNZSr8F1vcTWWk8BFVzdSBF4uZ/58eEafdrJY5tNuj9vezJxdOquEqAffIgqL2Bt
qPD25DXnYNtN73tsQIq0V/i2HEDHe5+3WUKiyKFfkOO8caIT6FY9UjI42FrfEcPu
9mQq+f2fqYWlyBVLlD4rPVqaw/wJp7NiNkK8PN2ub/pFAzx6RWYrnzs624iEeOA0
s0/HNxOfgEbVVsFg+lBJed7Ee50lDvjBi8K660I8OGGcZU4dbKIyyca8p0vgazj+
tGGNt0HBsFt3Vk3dbRRWbqJIDot+tpdaeZBan6MqJxI8nZWncxvY1nxgOF8AZ6mO
aHiJCuosyv/R7BB0suUW05u3Xp9VED3BKpI/wkNs8fOKUJ5vjeIs3KrEPvDhotIc
MuD4o0Qge188YdJlzphRrcYCZFuqh/mOr5EGorNTnvqQTgK61EbPTQYDdzoe9hp3
kv0LVFTwWKLUsf/2CfCF1zBYfNoPivhaRwqaWDPlzXzs38ELv1wUJfbzbtzNwnWy
DVssBTR2Jos02Tz02wUyNBPIqhmiP+ZI0e4ZPF5NlUJy/qzpNB/m4QnmOdlopoCD
ZY2uL63SopNIqgE4VKyAH3NVXqZwCQ/3ohUZLto+lUHm7zCWh3o=
=SSR0
-----END PGP SIGNATURE-----