Created attachment 886887 [details] build.log [...] clang -Os -march=x86-64-v2 -pipe -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o caps.o caps.c clang -Os -march=x86-64-v2 -pipe -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -c -o sysfs.o sysfs.c sysfs.c:456:53: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 456 | pci_set_property(d, PCI_FILL_IOMMU_GROUP, basename(group_link)); | ^ sysfs.c:456:53: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 456 | pci_set_property(d, PCI_FILL_IOMMU_GROUP, basename(group_link)); | ^~~~~~~~~~~~~~~~~~~~ ./internal.h:131:58: note: passing argument to parameter 'value' here 131 | char *pci_set_property(struct pci_dev *d, u32 key, char *value); | ^ 2 errors generated. make[1]: *** [<builtin>: sysfs.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1-abi_x86_64.amd64/lib' make: *** [Makefile:79: lib/libpci.so.3.11.1] Error 2
Created attachment 886888 [details] emerge --info
pciutils-3.12.0 builds and installs fine with musl-1.2.5
(In reply to Andreas K. Hüttel from comment #2) > pciutils-3.12.0 builds and installs fine with musl-1.2.5 Sorry, but 3.12.0 still fails on my system.
Created attachment 892888 [details] build.log (3.12.0, amd64)
Created attachment 892889 [details] emerge --info
Opened an upstream issue about it: https://github.com/pciutils/pciutils/issues/182
Fixed upstream by: https://github.com/pciutils/pciutils/commit/89cb2ae87236604b0e8ededd0fd7d9425c2d8cb6
Thank you for doing the reports! commit 70e6b1f5c899438bf42723122462f98986902785 Author: Sam James <sam@gentoo.org> Date: Wed Jun 12 06:02:21 2024 +0100 sys-apps/pciutils: add 3.13.0 Signed-off-by: Sam James <sam@gentoo.org>