* Package: sys-apps/lshw-02.18b-r1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking lshw-B.02.18.tar.gz to /var/tmp/portage/sys-apps/lshw-02.18b-r1/work >>> Source unpacked in /var/tmp/portage/sys-apps/lshw-02.18b-r1/work >>> Preparing source in /var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18 ... * Applying lshw-02.18b-gentoo.patch ... [ ok ] * Applying lshw-02.18b-gettext-array.patch ... [ ok ] * Applying lshw-02.18b-sgx.patch ... [ ok ] * Looking in src/po for new locales ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18 ... make -j1 SQLITE=0 all make -C src all make[1]: Entering directory '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18/src' make -C core all make[2]: Entering directory '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18/src/core' x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c hw.cc -o hw.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c main.cc -o main.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c print.cc -o print.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c mem.cc -o mem.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c dmi.cc -o dmi.o dmi.cc: In function ‘void dmi_table(const u8*, int, hwNode&, int, int)’: dmi.cc:1496:48: warning: ‘%d’ directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 8 [-Wformat-truncation=] 1496 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ^~ dmi.cc:1496:44: note: directive argument in the range [1, 65535] 1496 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ^~~~~~~ dmi.cc:1496:23: note: ‘snprintf’ output between 4 and 12 bytes into a destination of size 10 1496 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c device-tree.cc -o device-tree.o device-tree.cc: In function ‘void scan_devtree_memory(hwNode&)’: device-tree.cc:431:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 431 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ^ device-tree.cc:431:13: note: ‘snprintf’ output between 2 and 11 bytes into a destination of size 10 431 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cpuinfo.cc -o cpuinfo.o cpuinfo.cc: In function ‘hwNode* getcpu(hwNode&, int)’: cpuinfo.cc:25:49: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 25 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ^~ cpuinfo.cc:25:44: note: directive argument in the range [0, 2147483647] 25 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ^~~~~~~~ cpuinfo.cc:25:11: note: ‘snprintf’ output between 6 and 15 bytes into a destination of size 10 25 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c osutils.cc -o osutils.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c pci.cc -o pci.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c version.cc -o version.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cpuid.cc -o cpuid.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c ide.cc -o ide.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cdrom.cc -o cdrom.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c pcmcia-legacy.cc -o pcmcia-legacy.o x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c scsi.cc -o scsi.o scsi.cc: In function ‘std::string scsi_handle(unsigned int, int, int, int)’: scsi.cc:222:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 222 | snprintf(buffer, sizeof(buffer), "%02d", channel); | ^ scsi.cc:222:11: note: ‘snprintf’ output between 3 and 11 bytes into a destination of size 10 222 | snprintf(buffer, sizeof(buffer), "%02d", channel); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc:228:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 228 | snprintf(buffer, sizeof(buffer), "%02d", id); | ^ scsi.cc:228:11: note: ‘snprintf’ output between 3 and 11 bytes into a destination of size 10 228 | snprintf(buffer, sizeof(buffer), "%02d", id); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc:234:41: warning: ‘snprintf’ output may be truncated before the last format character [-Wformat-truncation=] 234 | snprintf(buffer, sizeof(buffer), "%02d", lun); | ^ scsi.cc:234:11: note: ‘snprintf’ output between 3 and 11 bytes into a destination of size 10 234 | snprintf(buffer, sizeof(buffer), "%02d", lun); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c dasd.cc -o dasd.o dasd.cc: In function ‘bool scan_dasd(hwNode&)’: dasd.cc:45:18: error: ‘basename’ was not declared in this scope; did you mean ‘rename’? 45 | dev_name = basename(devices.gl_pathv[dev_num]); | ^~~~~~~~ | rename make[2]: *** [Makefile:19: dasd.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18/src/core' make[1]: *** [Makefile:49: core] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18/src' make: *** [Makefile:6: all] Error 2 * ERROR: sys-apps/lshw-02.18b-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/lshw-02.18b-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/lshw-02.18b-r1::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:lshw-02.18b-r1:20200314-200142.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/lshw-02.18b-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/lshw-02.18b-r1/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18' * S: '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18'