Fedora Account System
Red Hat Associate
Red Hat Customer
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
0.26 scratch build succeeds for f43 though, so maybe it is not gcc. https://koji.fedoraproject.org/koji/taskinfo?taskID=139907765
- 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
- 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