Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 886887 Details for
Bug 926337
sys-apps/pciutils-3.11.1 - sysfs.c:456:53: error: call to undeclared function 'basename'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
pciutils-3.11.1:20240307-092518.log (text/plain), 6.96 KB, created by
ernsteiswuerfel
on 2024-03-07 09:40:59 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2024-03-07 09:40:59 UTC
Size:
6.96 KB
patch
obsolete
>[32m * [39;49;00mPackage: sys-apps/pciutils-3.11.1:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: base-system@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_musl kernel_linux kmod udev zlib >[32m * [39;49;00mFEATURES: 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 ... > [32m*[0m Will copy sources from /var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1 > [32m*[0m 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 ... > [32m*[0m 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 ... > [32m*[0m 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]: *** [<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 > [31;01m*[0m ERROR: sys-apps/pciutils-3.11.1::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-apps/pciutils-3.11.1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-apps/pciutils-3.11.1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/sys-apps/pciutils-3.11.1:20240307-092518.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/pciutils-3.11.1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/pciutils-3.11.1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1-abi_x86_64.amd64' > [31;01m*[0m S: '/var/tmp/portage/sys-apps/pciutils-3.11.1/work/pciutils-3.11.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 926337
: 886887 |
886888