Bug 2431532 - perl-Wx-0.9932-41.fc44 FTBFS with perl-ExtUtils-ParseXS 3.61: Error: cannot parse function definition from 'WXPERL_W_VERSION_GE( 2, 9, 3 ) && wxUSE_RIBBON'
Summary: perl-Wx-0.9932-41.fc44 FTBFS with perl-ExtUtils-ParseXS 3.61: Error: cannot p...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-ExtUtils-ParseXS
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2431562
TreeView+ depends on / blocked
 
Reported: 2026-01-21 09:41 UTC by Petr Pisar
Modified: 2026-01-22 21:57 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2026-01-21 09:41:12 UTC
perl-Wx-0.9932-41.fc44 fails to build in Fedora 44:

make[2]: Entering directory '/home/test/fedora/perl-Wx/perl-Wx-0.9932-build/Wx-0.9932/ext/ribbon'
cp lib/Wx/Ribbon.pm ../../blib/lib/Wx/Ribbon.pm
Running Mkbootstrap for Ribbon ()
chmod 644 "Ribbon.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Ribbon.bs ../../blib/arch/auto/Wx/Ribbon/Ribbon.bs 644
"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp"  -noprototypes -nolinenumbers  -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/test/fedora/perl-Wx/perl-Wx-0.9932-build/Wx-0.9932/ext/ribbon/../../typemap' -typemap '/home/test/fedora/perl-Wx/perl-Wx-0.9932-build/Wx-0.9932/ext/ribbon/typemap'  Ribbon.xs > Ribbon.xsc
Error: cannot parse function definition from 'WXPERL_W_VERSION_GE( 2, 9, 3 ) && wxUSE_RIBBON' in /usr/bin/perl -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RibbonGallery.xsp, line 40
Error: 'endif' with no matching 'if' in /usr/bin/perl -I../.. -MExtUtils::XSpp::Cmd -e xspp -- -t typemap.xsp -t ../../typemap.xsp XS/RibbonGallery.xsp, line 686

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/22138005>. An upgrade of perl-ExtUtils-ParseXS from 1:3.60-1.fc44 to 1:3.61-1.fc44 is suspicious.

Comment 1 Miro Hrončok 2026-01-22 20:45:58 UTC
For good measure, I am trying to build this with perl-ExtUtils-ParseXS-3.60-1.fc44

Comment 2 Miro Hrončok 2026-01-22 21:00:04 UTC
OK, that works. And I saw similar errors in slic3r, see https://bugzilla.redhat.com/show_bug.cgi?id=2429724#c2

I am going to assume this is an unintended perl-ExtUtils-ParseXS regression.

Comment 3 Miro Hrončok 2026-01-22 21:57:13 UTC
Yes indeed, this also affects slic3r.


Note You need to log in before you can comment on or make changes to this bug.