Created attachment 886833 [details] build.log [...] clang -Os -march=x86-64-v2 -pipe -std=gnu11 -include include/config.h -DBTRFS_FLAT_INCLUDES -D_XOPEN_SOURCE=700 -fno-strict-aliasing -fPIC -Wall -Wunused-but-set-parameter -I. -I./include -DCRYPTOPROVIDER_BUILTIN=1 -DCOMPRESSION_LZO=1 -DCOMPRESSION_ZSTD=1 -Wno-address-of-packed-member -Wimplicit-fallthrough -Wmissing-prototypes -Wshadow -c common/device-utils.c -o common/device-utils.o \ common/device-utils.c:350:9: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | name = basename(path); | ^ common/device-utils.c:350:7: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion] 350 | name = basename(path); | ^ ~~~~~~~~~~~~~~ 2 errors generated. make: *** [Makefile:479: common/device-utils.o] Error 1
Created attachment 886834 [details] emerge --info
Reported upstream at https://github.com/kdave/btrfs-progs/issues/778
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88baf5b6fe33648858e7a2a8c00aae1c4a990f12 commit 88baf5b6fe33648858e7a2a8c00aae1c4a990f12 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-04-25 12:20:19 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-04-25 12:21:11 +0000 sys-fs/btrfs-progs: backport musl-1.2.5 basename patch Closes: https://bugs.gentoo.org/926288 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> sys-fs/btrfs-progs/btrfs-progs-6.8.ebuild | 3 + .../files/btrfs-progs-6.8-musl-1.2.5.patch | 209 +++++++++++++++++++++ 2 files changed, 212 insertions(+)