Bug 2420900 - gettext FTBFS in rawhide (eln mass rebuild)
Summary: gettext FTBFS in rawhide (eln mass rebuild)
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gettext
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Manish Tiwari
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-10 02:21 UTC by Jens Petersen
Modified: 2026-08-03 16:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-08-03 16:15:30 UTC
Type: ---
Embargoed:
matiwari: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-2822 0 None None None 2025-12-18 07:40:00 UTC

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


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