D: [iurt_root_command] chroot Building target platforms: aarch64 Building for target aarch64 warning: /home/iurt/rpmbuild/SPECS/lshw.spec line 40: autopatch: no matching patches in range Installing /home/iurt/rpmbuild/SRPMS/@2311970:lshw-2.20-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.i6rIPR Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.aLRZVZ + umask 022 + cd /home/iurt/rpmbuild/BUILD/lshw-2.20-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/lshw-2.20-build + rm -rf lshw-B.02.20 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/lshw-B.02.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lshw-B.02.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find -type f + xargs chmod 644 + find -type d + xargs chmod 755 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.evgyk6 + umask 022 + cd /home/iurt/rpmbuild/BUILD/lshw-2.20-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lshw-B.02.20 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make SQLITE=1 all VERSION=2.20 make -C src all make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src' make -C core all make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c hw.cc -o hw.o hw.cc: In function 'std::string generateId(const std::string&, int)': hw.cc:795:39: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 795 | snprintf(buffer, sizeof(buffer), "%d", count); | ^ In file included from /usr/include/stdio.h:970, from /usr/include/c++/15/cstdio:47, from /usr/include/c++/15/ext/string_conversions.h:47, from /usr/include/c++/15/bits/basic_string.h:4444, from /usr/include/c++/15/string:56, from hw.h:4, from hw.cc:2: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'std::string generateId(const std::string&, int)' at hw.cc:795:11: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c main.cc -o main.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c print.cc -o print.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c mem.cc -o mem.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c dmi.cc -o dmi.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c device-tree.cc -o device-tree.o device-tree.cc: In function 'void add_memory_bank_spd(std::string, hwNode&)': device-tree.cc:908:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 908 | read(fd, &dimminfo[0x80], len - 0x80); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ device-tree.cc: In function 'void scan_devtree_memory(hwNode&)': device-tree.cc:1189:39: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 10 [-Wformat-truncation=] 1189 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ^~ device-tree.cc:1189:38: note: directive argument in the range [-2147483644, 2147483647] 1189 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ^~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/15/cstdio:47, from /usr/include/c++/15/ext/string_conversions.h:47, from /usr/include/c++/15/bits/basic_string.h:4444, from /usr/include/c++/15/string:56, from hw.h:4, from device-tree.h:4, from device-tree.cc:15: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'void scan_devtree_memory(hwNode&)' at device-tree.cc:1189:13: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 10 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c cpuinfo.cc -o cpuinfo.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c osutils.cc -o osutils.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c pci.cc -o pci.o pci.cc: In function 'bool scan_resources(hwNode&, pci_dev&)': pci.cc:636:34: warning: array subscript -4 is below array bounds of 'pciaddr_t [6]' {aka 'long long unsigned int [6]'} [-Warray-bounds=] 636 | u_int32_t pos = d.base_addr[i]; | ~~~~~~~~~~~~~^ pci.cc:229:13: note: while referencing 'pci_dev::base_addr' 229 | pciaddr_t base_addr[6]; /* Base addresses */ | ^~~~~~~~~ pci.cc:637:29: warning: array subscript -4 is below array bounds of 'pciaddr_t [6]' {aka 'long long unsigned int [6]'} [-Warray-bounds=] 637 | u_int32_t len = d.size[i]; | ~~~~~~~~^ pci.cc:230:13: note: while referencing 'pci_dev::size' 230 | pciaddr_t size[6]; /* Region sizes */ | ^~~~ g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c version.cc -o version.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c cpuid.cc -o cpuid.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c ide.cc -o ide.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c cdrom.cc -o cdrom.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c pcmcia-legacy.cc -o pcmcia-legacy.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c scsi.cc -o scsi.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c s390.cc -o s390.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c disk.cc -o disk.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c spd.cc -o spd.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c network.cc -o network.o network.cc: In function 'bool scan_network(hwNode&)': network.cc:791:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 33 equals destination size [-Wstringop-truncation] 791 | strncpy(buffer, interfaces[i].c_str(), sizeof(buffer)); | ^ g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c isapnp.cc -o isapnp.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c pnp.cc -o pnp.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c fb.cc -o fb.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c options.cc -o options.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c usb.cc -o usb.o usb.cc: In function 'bool addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int)': usb.cc:90:44: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 4 [-Wformat-truncation=] 90 | snprintf(buffer, sizeof(buffer), "USB:%u:%u", bus, dev); | ^~ In function 'std::string usbhandle(unsigned int, unsigned int, unsigned int)', inlined from 'bool addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int)' at usb.cc:125:52: usb.cc:90:36: note: directive argument in the range [1, 4294967295] 90 | snprintf(buffer, sizeof(buffer), "USB:%u:%u", bus, dev); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:970, from /usr/include/c++/15/cstdio:47, from /usr/include/c++/15/ext/string_conversions.h:47, from /usr/include/c++/15/bits/basic_string.h:4444, from /usr/include/c++/15/string:56, from hw.h:4, from usb.h:4, from usb.cc:12: In function 'int snprintf(char*, size_t, const char*, ...)', inlined from 'std::string usbhandle(unsigned int, unsigned int, unsigned int)' at usb.cc:90:11, inlined from 'bool addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int)' at usb.cc:125:52: /usr/include/bits/stdio2.h:68:35: note: '__builtin___snprintf_chk' output between 8 and 26 bytes into a destination of size 10 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c sysfs.cc -o sysfs.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c display.cc -o display.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c heuristics.cc -o heuristics.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c parisc.cc -o parisc.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c cpufreq.cc -o cpufreq.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c partitions.cc -o partitions.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c blockio.cc -o blockio.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c lvm.cc -o lvm.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c ideraid.cc -o ideraid.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c pcmcia.cc -o pcmcia.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c volumes.cc -o volumes.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c mounts.cc -o mounts.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c smp.cc -o smp.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c abi.cc -o abi.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c jedec.cc -o jedec.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c dump.cc -o dump.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c fat.cc -o fat.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c virtio.cc -o virtio.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c vio.cc -o vio.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c nvme.cc -o nvme.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c mmc.cc -o mmc.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c input.cc -o input.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c sound.cc -o sound.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c graphics.cc -o graphics.o g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c db.cc -o db.o 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 s390.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 vio.o nvme.o mmc.o input.o sound.o graphics.o db.o ar: creating liblshw.a make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"2.20\" -DREMOTE_VERSION_CHECK -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -c lshw.cc -o lshw.o g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv -lsqlite3 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.4Hf3d6 + umask 022 + cd /home/iurt/rpmbuild/BUILD/lshw-2.20-build + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT ++ dirname /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT + mkdir -p /home/iurt/rpmbuild/BUILD/lshw-2.20-build + mkdir /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lshw-B.02.20 + '[' 1 -eq 1 ']' + echo 'warning: %makeinstall is deprecated, try %make_install instead' warning: %makeinstall is deprecated, try %make_install instead + /usr/bin/make prefix=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr exec_prefix=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr bindir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/bin sbindir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/sbin sysconfdir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/etc datadir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/share includedir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/include libdir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/lib64 libexecdir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/libexec localstatedir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/var sharedstatedir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/var/lib mandir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/share/man infodir=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT/usr/share/info install DESTDIR=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT SQLITE=1 /usr/bin/make -C src install make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src' /bin/sh: line 1: git: command not found make -C core all /bin/sh: line 1: git: command not found /bin/sh: line 1: git: command not found make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/core' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/core' /bin/sh: line 1: git: command not found g++ -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv -lsqlite3 /bin/sh: line 1: git: command not found /bin/sh: line 1: git: command not found install -p -d -m 0755 /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/sbin /bin/sh: line 1: git: command not found /bin/sh: line 1: git: command not found install -p -m 0755 lshw /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/sbin install -p -d -m 0755 /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/man/man1 install -p -m 0644 lshw.1 /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/man/man1 install -p -d -m 0755 /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/lshw install -p -m 0644 pci.ids usb.ids oui.txt manuf.txt pnp.ids pnpid.txt /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/lshw make -C po install make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/po' msgfmt -v -o ca.mo ca.po 363 translated messages. msgfmt -v -o es.mo es.po 363 translated messages. install -D ca.mo /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/locale/ca/LC_MESSAGES/lshw.mo ; install -D es.mo /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/locale/es/LC_MESSAGES/lshw.mo ; install -D fr.mo /home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT//usr/share/locale/fr/LC_MESSAGES/lshw.mo ; make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/po' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src' + /usr/bin/make -O -j16 V=1 VERBOSE=1 install-gui DESTDIR=/home/iurt/rpmbuild/BUILD/lshw-2.20-build/BUILDROOT SQLITE=1 /usr/bin/make -C src install-gui make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src' /bin/sh: line 1: git: command not found make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src' make -C core all /bin/sh: line 1: git: command not found /bin/sh: line 1: git: command not found make[2]: Nothing to be done for 'all'. make -C gui all /bin/sh: line 1: git: command not found /bin/sh: line 1: git: command not found make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/gui' Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/gui' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/gui' Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found gcc -g -Wall -I../core -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DSQLITE -g -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -c gtk-lshw.c -o gtk-lshw.o Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found Package gtk+-3.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-3.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtk+-3.0' not found gtk-lshw.c:3:10: fatal error: gtk/gtk.h: No such file or directory 3 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:36: gtk-lshw.o] Error 1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/lshw-2.20-build/lshw-B.02.20/src/gui' make[1]: *** [Makefile:85: gui] Error 2 make: *** [Makefile:6: install-gui] Error 2 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.4Hf3d6 (%install) RPM build warnings: /home/iurt/rpmbuild/SPECS/lshw.spec line 40: autopatch: no matching patches in range RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.4Hf3d6 (%install) I: [iurt_root_command] ERROR: chroot