* Package: sys-apps/lshw-02.18b-r1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: arm64 elibc_glibc kernel_linux sqlite static 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 -j40 SQLITE=1 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 aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -c lshw.cc -o lshw.o make[2]: Entering directory '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18/src/core' aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c hw.cc -o hw.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c main.cc -o main.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c print.cc -o print.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c mem.cc -o mem.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c dmi.cc -o dmi.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c device-tree.cc -o device-tree.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cpuinfo.cc -o cpuinfo.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c osutils.cc -o osutils.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c pci.cc -o pci.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c version.cc -o version.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cpuid.cc -o cpuid.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c ide.cc -o ide.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cdrom.cc -o cdrom.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c pcmcia-legacy.cc -o pcmcia-legacy.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c scsi.cc -o scsi.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c dasd.cc -o dasd.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c disk.cc -o disk.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c spd.cc -o spd.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c network.cc -o network.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c isapnp.cc -o isapnp.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c pnp.cc -o pnp.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c fb.cc -o fb.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c options.cc -o options.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c usb.cc -o usb.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c sysfs.cc -o sysfs.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c display.cc -o display.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c heuristics.cc -o heuristics.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c parisc.cc -o parisc.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c cpufreq.cc -o cpufreq.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c partitions.cc -o partitions.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c blockio.cc -o blockio.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c lvm.cc -o lvm.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c ideraid.cc -o ideraid.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c pcmcia.cc -o pcmcia.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c volumes.cc -o volumes.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c mounts.cc -o mounts.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c smp.cc -o smp.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c abi.cc -o abi.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c jedec.cc -o jedec.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c dump.cc -o dump.o cpuinfo.cc: In function ‘void cpuinfo_aarch64(hwNode&, std::string, std::string)’: cpuinfo.cc:240:30: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 240 | for(int i=0; i < aarch64_features.size(); i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c fat.cc -o fat.o volumes.cc: In function ‘bool detect_ntfs(hwNode&, source&)’: volumes.cc:990:21: warning: enum constant in boolean context [-Wint-in-bool-context] 990 | if(vi->flags && VOLUME_MODIFIED_BY_CHKDSK) | ^~~~~~~~~~~~~~~~~~~~~~~~~ volumes.cc:992:21: warning: enum constant in boolean context [-Wint-in-bool-context] 992 | if(vi->flags && VOLUME_MOUNTED_ON_NT4) | ^~~~~~~~~~~~~~~~~~~~~ volumes.cc:994:21: warning: enum constant in boolean context [-Wint-in-bool-context] 994 | if(vi->flags && VOLUME_UPGRADE_ON_MOUNT) | ^~~~~~~~~~~~~~~~~~~~~~~ volumes.cc:996:21: warning: enum constant in boolean context [-Wint-in-bool-context] 996 | if(vi->flags && VOLUME_RESIZE_LOG_FILE) | ^~~~~~~~~~~~~~~~~~~~~~ partitions.cc: In function ‘bool detect_gpt(source&, hwNode&)’: partitions.cc:506:33: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context] 506 | #define PARTITION_READONLY (1LL << 60) | ~~~~~^~~~~~ partitions.cc:1111:26: note: in expansion of macro ‘PARTITION_READONLY’ 1111 | if(p.Attributes && PARTITION_READONLY) | ^~~~~~~~~~~~~~~~~~ partitions.cc:507:33: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context] 507 | #define PARTITION_HIDDEN (1LL << 62) | ~~~~~^~~~~~ partitions.cc:1113:26: note: in expansion of macro ‘PARTITION_HIDDEN’ 1113 | if(p.Attributes && PARTITION_HIDDEN) | ^~~~~~~~~~~~~~~~ partitions.cc:508:33: warning: ‘<<’ in boolean context, did you mean ‘<’ ? [-Wint-in-bool-context] 508 | #define PARTITION_NOMOUNT (1LL << 63) | ~~~~~^~~~~~ partitions.cc:1115:26: note: in expansion of macro ‘PARTITION_NOMOUNT’ 1115 | if(p.Attributes && PARTITION_NOMOUNT) | ^~~~~~~~~~~~~~~~~ aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c virtio.cc -o virtio.o aarch64-unknown-linux-gnu-g++ -O2 -pipe -march=native -Wall -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DSQLITE -Wall -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c db.cc -o db.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); | ^~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from cpuinfo.h:4, from cpuinfo.cc:2: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 6 and 15 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ device-tree.cc: In function ‘void scan_devtree_memory(hwNode&)’: device-tree.cc:481:21: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 481 | read(fd, &dimminfo[0x80], (64 << ((dimminfo[0] & 0x70) >> 4))); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ device-tree.cc:483:21: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’, declared with attribute warn_unused_result [-Wunused-result] 483 | read(fd, &dimminfo[0x80], (1 << (dimminfo[1]) )); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ volumes.cc: In function ‘std::string dos_serial(long unsigned int)’: volumes.cc:449:43: warning: ‘%04lx’ directive output may be truncated writing 4 bytes into a region of size between 3 and 11 [-Wformat-truncation=] 449 | snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); | ^~~~~ volumes.cc:449:36: note: directive argument in the range [0, 65535] 449 | snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from volumes.h:4, from volumes.cc:12: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 10 and 18 bytes into a destination of size 16 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc: In function ‘std::string scsi_handle(unsigned int, int, int, int)’: scsi.cc:222:41: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 222 | snprintf(buffer, sizeof(buffer), "%02d", channel); | ^ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from mem.h:4, from scsi.cc:2: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 3 and 11 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc:228:41: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 228 | snprintf(buffer, sizeof(buffer), "%02d", id); | ^ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from mem.h:4, from scsi.cc:2: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 3 and 11 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc:234:41: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 234 | snprintf(buffer, sizeof(buffer), "%02d", lun); | ^ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from mem.h:4, from scsi.cc:2: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 3 and 11 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from network.cc:35: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘bool scan_network(hwNode&)’ at network.cc:399:14: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound 33 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ device-tree.cc:431:41: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 431 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ^ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from device-tree.h:4, from device-tree.cc:15: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 2 and 11 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partitions.cc:741:49: warning: ‘.’ directive output may be truncated writing 1 byte into a region of size between 0 and 7 [-Wformat-truncation=] 741 | snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); | ^ partitions.cc:741:46: note: directive argument in the range [0, 255] 741 | snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); | ^~~~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from partitions.h:4, from partitions.cc:18: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 5 and 13 bytes into a destination of size 8 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dmi.cc: In function ‘bool scan_dmi_sysfs(hwNode&)’: 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); | ^~~~~~~ In file included from /usr/include/stdio.h:867, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/cstdio:42, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/ext/string_conversions.h:43, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/bits/basic_string.h:6493, from /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/include/g++-v9/string:55, from hw.h:4, from dmi.h:4, from dmi.cc:80: /usr/include/bits/stdio2.h:67:35: note: ‘__builtin___snprintf_chk’ output between 4 and 12 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 |  __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-unknown-linux-gnu-ar rs liblshw.a hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia-legacy.o scsi.o dasd.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o partitions.o blockio.o lvm.o ideraid.o pcmcia.o volumes.o mounts.o smp.o abi.o jedec.o dump.o fat.o virtio.o db.o aarch64-unknown-linux-gnu-ar: creating liblshw.a make[2]: Leaving directory '/var/tmp/portage/sys-apps/lshw-02.18b-r1/work/lshw-B.02.18/src/core' aarch64-unknown-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -static -L./core/ -Wl,--as-needed -o lshw lshw.o -llshw -lresolv -lsqlite3 /usr/lib/gcc/aarch64-unknown-linux-gnu/9.3.0/../../../../aarch64-unknown-linux-gnu/bin/ld: cannot find -lsqlite3 collect2: error: ld returned 1 exit status make[1]: *** [Makefile:52: lshw] Error 1 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/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'