Bug 2420900

Summary: gettext FTBFS in rawhide (eln mass rebuild)
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: gettextAssignee: Manish Tiwari <matiwari>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dueno, i18n-bugs, matiwari, nphilipp, petersen, sundeep_anand
Target Milestone: ---Flags: matiwari: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-03 16:15:30 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:

Description Jens Petersen 2025-12-10 02:21:21 UTC
In the recent ELN mass rebuild, gettext failed to rebuild due to latest gcc getting more strict:

https://koji.fedoraproject.org/koji/taskinfo?taskID=139870804
https://kojipkgs.fedoraproject.org/work/tasks/804/139870804/build.log

Like this:

In file included from /usr/include/features.h:540,
                 from /usr/include/uchar.h:26,
                 from ./uchar.h:45,
                 from c32isalnum.c:21:
./wchar.h:856:23: error: expected identifier or '(' before '_Generic'
  856 | _GL_EXTERN_C wchar_t *wmemchr (const wchar_t *__s, wchar_t __wc, size_t __n)
      |                       ^~~~~~~

and many similar errors: not sure if an #include can fix this or something?

Might be good to alert upstream too.

Reproducible: Always

Steps to Reproduce:
1. rebuild gettext in rawhide (I didn't try F43, though it has seem gcc)

Actual Results:
Fails

Expected Results:
Success

Comment 1 Jens Petersen 2025-12-12 06:43:42 UTC
0.26 scratch build succeeds for f43 though, so maybe it is not gcc.

https://koji.fedoraproject.org/koji/taskinfo?taskID=139907765

Comment 2 Manish Tiwari 2025-12-18 06:28:02 UTC
- Raised a pull request to fix this issue : https://src.fedoraproject.org/rpms/gettext/pull-request/38
- This issue occurred due to gnulib macro conflicts with glibc 2.42 C23 standard library definitions
- https://sourceware.org/git/?p=glibc.git;a=commit;h=cd748a63ab1a7ae846175c532a3daab341c62690

Comment 3 Manish Tiwari 2025-12-19 09:31:55 UTC
- gettext-0.26 successfully built : https://bodhi.fedoraproject.org/updates/FEDORA-2025-fb4c1fb923
- https://koji.fedoraproject.org/koji/buildinfo?buildID=2882133
- Added upstream provided patch to fix build failure with glibc 2.42 C23 const-preserving macros
- https://lists.gnu.org/archive/html/bug-gnulib/2025-11/msg00220.html