Bug 2058224 - glibc: Fix localedef compilation of C.UTF-8 (empty LC_MONETARY keywords)
Summary: glibc: Fix localedef compilation of C.UTF-8 (empty LC_MONETARY keywords)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: glibc
Version: 9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: glibc team
QA Contact: Sergey Kolosov
URL:
Whiteboard:
Depends On:
Blocks: 2060777
TreeView+ depends on / blocked
 
Reported: 2022-02-24 14:29 UTC by Carlos O'Donell
Modified: 2023-07-18 14:29 UTC (History)
9 users (show)

Fixed In Version: glibc-2.34-27.el9_0
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2060777 (view as bug list)
Environment:
Last Closed: 2022-05-17 15:48:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-113672 0 None None None 2022-02-24 14:36:19 UTC
Red Hat Product Errata RHBA-2022:3917 0 None None None 2022-05-17 15:49:12 UTC
Sourceware 28845 0 P2 NEW ld-monetary.c should be updated to match ISO C and other standards. 2022-02-24 14:29:49 UTC

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


Note You need to log in before you can comment on or make changes to this bug.