Bug 2058224

Summary: glibc: Fix localedef compilation of C.UTF-8 (empty LC_MONETARY keywords)
Product: Red Hat Enterprise Linux 9 Reporter: Carlos O'Donell <codonell>
Component: glibcAssignee: glibc team <glibc-bugzilla>
Status: CLOSED ERRATA QA Contact: Sergey Kolosov <skolosov>
Severity: medium Docs Contact:
Priority: medium    
Version: 9.0CC: ashankar, codonell, dj, fweimer, glibc-bugzilla, mnewsome, pfrankli, pvlasin, sipoyare
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glibc-2.34-27.el9_0 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2060777 (view as bug list) Environment:
Last Closed: 2022-05-17 15:48:54 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: 2060777    

Description Carlos O'Donell 2022-02-24 14:29:50 UTC
We need a fix for upstream swbz#28845:
https://sourceware.org/bugzilla/show_bug.cgi?id=28845

Patch upstream:
https://sourceware.org/pipermail/libc-alpha/2022-February/136161.html

The patch is not yet included in a release.

Comment 1 Carlos O'Donell 2022-02-24 14:33:31 UTC
This is a regression from RHEL8. The new C.UTF-8 cannot be compiled without localdef -c due to a defect in LC_MONETARY handling.

Comment 3 Carlos O'Donell 2022-02-25 17:26:20 UTC
Final fix is in upstrem and the 2.35 release branch.

Comment 5 Florian Weimer 2022-02-28 10:33:22 UTC
To reproduce:

dnf install -y glibc-locale-source
localedef -i C -f UTF-8 C.UTF-8

The bug causes this error output:

[error] LC_MONETARY: value for field `mon_decimal_point' must not be an empty string
[error] no output file produced because errors were issued

With the fix, there is no error, and the C.UTF-8 locale is regenerated.

Comment 11 errata-xmlrpc 2022-05-17 15:48:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: glibc), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3917