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