Bug 2364631

Summary: perl-MusicBrainz-DiscID-0.06-21.fc43 FTBFS with ExtUtils::ParseXS ≥ 3.57: Unparseable XSUB parameter: 'offsets ...' in DiscID.xs, line 116
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perl-MusicBrainz-DiscIDAssignee: Gerald Cox <gbcox>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gbcox, jplesnik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: perl-MusicBrainz-DiscID-0.06-22.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-05-16 17:23:56 UTC 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: 2339432    
Attachments:
Description Flags
Fix for ExtUtils::ParseXS ≥ 3.57 none

Description Petr Pisar 2025-05-07 07:17:53 UTC
perl-MusicBrainz-DiscID-0.06-21.fc43 fails to build in Fedora 43:

"/usr/bin/perl" "/usr/share/perl5/vendor_perl/ExtUtils/xsubpp" -noprototypes -typemap '/usr/share/perl5/ExtUtils/typemap' -typemap '/home/test/fedora/perl-MusicBrainz-DiscID/perl-MusicBrainz-DiscID-0.06-build/MusicBrainz-DiscID-0.06/typemap'  DiscID.xs > DiscID.xsc
Running Mkbootstrap for DiscID ()
cp lib/MusicBrainz/DiscID.pm blib/lib/MusicBrainz/DiscID.pm
chmod 644 "DiscID.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- DiscID.bs blib/arch/auto/MusicBrainz/DiscID/DiscID.bs 644
Unparseable XSUB parameter: 'offsets ...' in DiscID.xs, line 116
make: *** [Makefile:362: DiscID.c] Error 1

This is triggered by upgrading perl-ExtUtils-ParseXS from 1:3.51-512.fc42 to 1:3.57-1.fc43

Comment 1 Gerald Cox 2025-05-07 16:20:29 UTC
Reported upstream.

Comment 2 Jitka Plesnikova 2025-05-15 12:17:02 UTC
Created attachment 2089957 [details]
Fix for ExtUtils::ParseXS ≥ 3.57

Comment 3 Gerald Cox 2025-05-16 17:13:39 UTC
(In reply to Jitka Plesnikova from comment #2)
> Created attachment 2089957 [details]
> Fix for ExtUtils::ParseXS ≥ 3.57

Thanks so much for the patch!  I've also notified upstream.

Comment 4 Fedora Update System 2025-05-16 17:20:42 UTC
FEDORA-2025-5b714bbbc3 (perl-MusicBrainz-DiscID-0.06-22.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-5b714bbbc3

Comment 5 Fedora Update System 2025-05-16 17:23:56 UTC
FEDORA-2025-5b714bbbc3 (perl-MusicBrainz-DiscID-0.06-22.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.