Created attachment 886841 [details] build.log [...] clang -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-apps/attr-2.5.2-r1/work/attr-2.5.2 -I./include -I./include -I/var/tmp/portage/sys-apps/attr-2.5.2-r1/work/attr-2.5.2/include -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -DNDEBUG -Os -march=x86-64-v2 -pipe -fvisibility=hidden -c -o tools/attr.o /var/tmp/portage/sys-apps/attr-2.5.2-r1/work/attr-2.5.2/tools/attr.c /var/tmp/portage/sys-apps/attr-2.5.2-r1/work/attr-2.5.2/tools/attr.c:69:13: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | progname = basename(argv[0]); | ^ /var/tmp/portage/sys-apps/attr-2.5.2-r1/work/attr-2.5.2/tools/attr.c:69:11: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 69 | progname = basename(argv[0]); | ^ ~~~~~~~~~~~~~~~~~ 2 errors generated. make[1]: *** [Makefile:992: tools/attr.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/attr-2.5.2-r1/work/attr-2.5.2-abi_x86_64.amd64' make: *** [Makefile:1240: all-recursive] Error 1
Created attachment 886842 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b0abe03311391d346cd1c5a80f1b96318585d64 commit 4b0abe03311391d346cd1c5a80f1b96318585d64 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-04-28 12:10:42 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-04-28 12:11:48 +0000 sys-apps/attr: Add musl-1.2.5 build fix Closes: https://bugs.gentoo.org/926294 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-apps/attr/attr-2.5.2-r1.ebuild | 4 ++++ sys-apps/attr/attr-9999.ebuild | 4 ++++ sys-apps/attr/files/attr-2.5.2-r1-musl-1.2.5.patch | 23 ++++++++++++++++++++++ 3 files changed, 31 insertions(+)