Bug 2318488

Summary: perl-5.40.0-511.fc42 FTBFS: %install phase fails after iconv command
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perlAssignee: Jitka Plesnikova <jplesnik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: iarnell, jplesnik, kasal, mmaslano, mspacek, perl-devel, ppisar, psabata, rhughes, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/perl
Whiteboard:
Fixed In Version: perl-5.40.0-512.fc42 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-15 22:40:07 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: 2300528    

Description Petr Pisar 2024-10-14 08:13:11 UTC
perl-5.40.0-511.fc42 fails to build in Fedora 42:

+ for i in perl588delta.1 perldelta.1
+ iconv -c -f MS-ANSI -t UTF-8 perl588delta.1 --output new-perl588delta.1
+ rm perl588delta.1
+ mv new-perl588delta.1 perl588delta.1
+ for i in perl588delta.1 perldelta.1
+ iconv -c -f MS-ANSI -t UTF-8 perldelta.1 --output new-perldelta.1
error: Bad exit status from /var/tmp/rpm-tmp.6jC2uo (%install)

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/18868618>. An upgrade of rpm-build or glibc is suspicious.

Comment 1 Jitka Plesnikova 2024-10-14 15:23:18 UTC
It is broken since glibc build glibc-2.40.9000-4.fc42.

# iconv -f MS-ANSI -t UTF-8 perldelta.1 --output new-perldelta.1
iconv: illegal input sequence at position 56926

The invalid input is probably "Дилян Палаузов."

Comment 2 Jitka Plesnikova 2024-10-15 11:16:23 UTC
I checked that all core non-ASCII POD files and test script contains '=encoding utf8'. The conversion is no longer needed.

Comment 3 Fedora Update System 2024-10-15 14:06:17 UTC
FEDORA-2024-7ab599b152 (perl-5.40.0-512.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7ab599b152

Comment 4 Fedora Update System 2024-10-15 22:40:07 UTC
FEDORA-2024-7ab599b152 (perl-5.40.0-512.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.