Created attachment 913424 [details] The build log First I tried with GCC 15 and then with GCC 14 but both fail. Steps to reproduce: 1. Have a musl system. 2. Try to compile Groff. Actual results: Build failure. Expected results: Compiled and installed successfully
Created attachment 913425 [details] emerge --info
I meant that you have to try to compile which in order to reproduce the bug
Haven't tried but can likely get past the getopt bit with CPPFLAGS=-D__GNU_LIBRARY__ (it'll make it use musl's implementation which is fine), but pretty sure it has more problems with C23 and may still need -std=gnu17
(In reply to Ionen Wolkens from comment #3) > Haven't tried but can likely get past the getopt bit with > CPPFLAGS=-D__GNU_LIBRARY__ (it'll make it use musl's implementation which is > fine), but pretty sure it has more problems with C23 and may still need > -std=gnu17 I wonder if there would be any use in finally getting it to work completely in C23
(In reply to meartzheast877 from comment #4) > I wonder if there would be any use in finally getting it to work completely > in C23 It's been nearly a decade since the last release and we'd just carry patches forever, I think it may as well just be a append-cflags. And ultimately it's a package we're slowly trying to get rid of.
*** Bug 947143 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3067c3c51dccd3111f9d010c28663abb9577b749 commit 3067c3c51dccd3111f9d010c28663abb9577b749 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-02-09 05:30:28 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-09 05:30:40 +0000 sys-apps/which: add 2.23 Closes: https://bugs.gentoo.org/945958 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/which/Manifest | 1 + sys-apps/which/which-2.23.ebuild | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+)