* Package: sys-apps/pciutils-3.11.1:0  * Repository: gentoo  * Maintainer: base-system@gentoo.org  * USE: abi_x86_64 amd64 elibc_musl kernel_linux kmod udev zlib  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pciutils-3.11.1.tar.gz to /var/tmp/portage/sys-apps/pciutils-3.11.1/work >>> Source unpacked in /var/tmp/portage/sys-apps/pciutils-3.11.1/work >>> Preparing source in /var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1 ... * Will copy sources from /var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 HOST=x86_64-gentoo-linux-musl CROSS_COMPILE=x86_64-gentoo-linux-musl- CC=clang AR=llvm-ar PKG_CONFIG=x86_64-gentoo-linux-musl-pkg-config RANLIB=llvm-ranlib DNS=no IDSDIR=$(SHAREDIR)/hwdata MANDIR=$(SHAREDIR)/man PREFIX=/usr SHARED=yes STRIP= ZLIB=yes PCI_COMPRESSED_IDS=0 PCI_IDS=pci.ids LIBDIR=${PREFIX}/lib LIBKMOD=yes HWDB=yes 'OPT=-Os -march=x86-64-v2 -pipe' all cd lib && ./configure Configuring libpci for your system... x86_64--linux x86_64 linux Looking for access methods... sysfs proc mem-ports ecam i386-ports dump Checking for zlib support... yes (set manually) Checking for DNS support... no (set manually) Checking for libkmod... yes (set manually) Checking for udev hwdb support... yes (set manually) Checking whether to build a shared library... yes (set manually) make -C lib all make[1]: Entering directory '/var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1-abi_x86_64.amd64/lib' 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 init.o init.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 access.o access.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 generic.o generic.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 dump.o dump.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 names.o names.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 filter.o filter.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 names-hash.o names-hash.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 names-parse.o names-parse.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 names-net.o names-net.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 names-cache.o names-cache.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 names-hwdb.o names-hwdb.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 params.o params.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 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]: *** [: 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 * ERROR: sys-apps/pciutils-3.11.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/pciutils-3.11.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/pciutils-3.11.1::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-apps/pciutils-3.11.1:20240307-092518.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/pciutils-3.11.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/pciutils-3.11.1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1'