Bug 2207594

Summary: perl-POSIX is missing a dependency on perl(locale)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: perlAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: iarnell, jplesnik, kasal, mmaslano, mspacek, perl-devel, ppisar, psabata, rhughes, spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: perl-5.36.1-497.fc39 perl-5.36.1-497.fc38 perl-5.36.1-494.fc37 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-19 01:16:15 UTC Type: ---
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: 2203031    

Description Petr Pisar 2023-05-16 10:26:09 UTC
When debugging a CI timeout of perl-Crypt-URandom, I found that
"perl -MPOSIX -e 'POSIX::strerror(0);'" does not halt if perl-locale package is not installed.

The cause is that POSIX::AUTOLOAD() actually compiles "require locale;" and the failure, for an unclear reason, triggers an endless loop. I did not investigate why the loop happens, but the missing dependency is a clear packaging mistake.

It seems that all Fedoras are affected.

I'm going to fix it in all Fedoras, if you do not object.

Reproducible: Always

Comment 1 Petr Pisar 2023-05-16 11:07:51 UTC
Fedora 36 ended a support today <https://docs.fedoraproject.org/en-US/releases/eol/>. I cannot submit a build for it (Unknown build target: f36-candidate).

Comment 2 Fedora Update System 2023-05-16 11:17:32 UTC
FEDORA-2023-7bc811fcc9 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7bc811fcc9

Comment 3 Fedora Update System 2023-05-16 11:19:04 UTC
FEDORA-2023-529af2dbc2 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-529af2dbc2

Comment 4 Fedora Update System 2023-05-17 01:22:15 UTC
FEDORA-2023-7bc811fcc9 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-7bc811fcc9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-7bc811fcc9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-05-17 02:03:57 UTC
FEDORA-2023-529af2dbc2 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-529af2dbc2`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-529af2dbc2

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-05-19 01:16:15 UTC
FEDORA-2023-7bc811fcc9 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2023-05-19 01:24:11 UTC
FEDORA-2023-529af2dbc2 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.