Bug 2431532

Summary: 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'
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-ExtUtils-ParseXSAssignee: Jitka Plesnikova <jplesnik>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jplesnik, mhroncok, mspacek, paul, perl-devel, ppisar, spotrh, steve
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2431562    

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.