Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-253837-24615/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxe5dwfv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxe5dwfv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8314f427a8ee42e7be797410d049a7e3', '-D', '/var/lib/mock/dist-ocs23-base-build-253837-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxe5dwfv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/lshw-B.02.19.2-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/dist-ocs23-base-build-253837-24615/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxe5dwfv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxe5dwfv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5a5f91148c954ea3adf058ad1f9dbdd9', '-D', '/var/lib/mock/dist-ocs23-base-build-253837-24615/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.dxe5dwfv:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.eRu1nD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lshw-B.02.19.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lshw-B.02.19.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lshw-B.02.19.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lshw-B.02.18-scandir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lshw-fix-mmc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/lshw-fix-segfault-in-apfs-volume-code.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.03Ovpr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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.19.2 + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make -C src all make[1]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src' make[1]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src' /bin/sh: line 1: git: command not found make -C core all /bin/sh: line 1: git: command not found make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c version.cc -o version.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c isapnp.cc -o isapnp.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c cpuid.cc -o cpuid.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c blockio.cc -o blockio.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c display.cc -o display.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c disk.cc -o disk.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c main.cc -o main.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c cpufreq.cc -o cpufreq.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mem.cc -o mem.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[1]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lshw.cc -o lshw.o make[1]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src' /bin/sh: line 1: git: command not found /bin/sh: line 1: git: command not found make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c cdrom.cc -o cdrom.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c s390.cc -o s390.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pcmcia.cc -o pcmcia.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c fb.cc -o fb.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c smp.cc -o smp.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c abi.cc -o abi.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c dump.cc -o dump.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c spd.cc -o spd.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lvm.cc -o lvm.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c parisc.cc -o parisc.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c fat.cc -o fat.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c jedec.cc -o jedec.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c heuristics.cc -o heuristics.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c virtio.cc -o virtio.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mounts.cc -o mounts.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c vio.cc -o vio.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c options.cc -o options.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c nvme.cc -o nvme.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pcmcia-legacy.cc -o pcmcia-legacy.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ideraid.cc -o ideraid.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pnp.cc -o pnp.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c network.cc -o network.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' network.cc: In function 'scan_network(hwNode&)': network.cc:401:14: warning: 'strncpy' specified bound 33 equals destination size [-Wstringop-truncation] 401 | strncpy(buffer, interfaces[i].c_str(), sizeof(buffer)); | ^ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c ide.cc -o ide.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c scsi.cc -o scsi.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' scsi.cc: In function 'scsi_handle(unsigned int, int, int, int)': scsi.cc:222:41: warning: '__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:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from mem.h:4, from scsi.cc:2: In function 'snprintf', inlined from 'scsi_handle(unsigned int, int, int, int)' at scsi.cc:222:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scsi.cc: In function 'scsi_handle(unsigned int, int, int, int)': scsi.cc:228:41: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 228 | snprintf(buffer, sizeof(buffer), "%02d", id); | ^ In function 'snprintf', inlined from 'scsi_handle(unsigned int, int, int, int)' at scsi.cc:228:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scsi.cc: In function 'scsi_handle(unsigned int, int, int, int)': scsi.cc:234:41: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 234 | snprintf(buffer, sizeof(buffer), "%02d", lun); | ^ In function 'snprintf', inlined from 'scsi_handle(unsigned int, int, int, int)' at scsi.cc:234:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 3 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c mmc.cc -o mmc.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c sysfs.cc -o sysfs.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c osutils.cc -o osutils.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c print.cc -o print.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c usb.cc -o usb.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' usb.cc: In function 'addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int) [clone .isra.0]': usb.cc:88: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=] 88 | snprintf(buffer, sizeof(buffer), "USB:%u:%u", bus, dev); | ^~ In function 'usbhandle(unsigned int, unsigned int, unsigned int)', inlined from 'addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int) [clone .isra.0]' at usb.cc:123:52: usb.cc:88:36: note: directive argument in the range [1, 4294967295] 88 | snprintf(buffer, sizeof(buffer), "USB:%u:%u", bus, dev); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from usb.h:4, from usb.cc:12: In function 'snprintf', inlined from 'usbhandle(unsigned int, unsigned int, unsigned int)' at usb.cc:88:11, inlined from 'addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int) [clone .isra.0]' at usb.cc:123:52: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 8 and 26 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c volumes.cc -o volumes.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' volumes.cc: In function 'detect_fat(hwNode&, source&)': volumes.cc:451:43: warning: '%04lx' directive output may be truncated writing 4 bytes into a region of size between 3 and 11 [-Wformat-truncation=] 451 | snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); | ^~~~~ In function 'dos_serial(unsigned long)', inlined from 'detect_fat(hwNode&, source&)' at volumes.cc:511:25: volumes.cc:451:36: note: directive argument in the range [0, 65535] 451 | snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); | ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from volumes.h:4, from volumes.cc:12: In function 'snprintf', inlined from 'dos_serial(unsigned long)' at volumes.cc:451:11, inlined from 'detect_fat(hwNode&, source&)' at volumes.cc:511:25: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 10 and 18 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ volumes.cc: In function 'detect_ntfs(hwNode&, source&)': volumes.cc:451:43: warning: '%04lx' directive output may be truncated writing 4 bytes into a region of size between 3 and 11 [-Wformat-truncation=] 451 | snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); | ^~~~~ In function 'dos_serial(unsigned long)', inlined from 'detect_ntfs(hwNode&, source&)' at volumes.cc:994:22: volumes.cc:451:36: note: directive argument in the range [0, 65535] 451 | snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); | ^~~~~~~~~~~~~ In function 'snprintf', inlined from 'dos_serial(unsigned long)' at volumes.cc:451:11, inlined from 'detect_ntfs(hwNode&, source&)' at volumes.cc:994:22: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 10 and 18 bytes into a destination of size 16 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c cpuinfo.cc -o cpuinfo.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' cpuinfo.cc: In function 'getcpu(hwNode&, int)': cpuinfo.cc:32:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 32 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ^~ cpuinfo.cc:32:44: note: directive argument in the range [0, 2147483647] 32 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ^~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from cpuinfo.h:4, from cpuinfo.cc:2: In function 'snprintf', inlined from 'getcpu(hwNode&, int)' at cpuinfo.cc:32:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 15 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c partitions.cc -o partitions.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' partitions.cc: In function 'uint32_t __efi_crc32(const void*, long unsigned int, uint32_t)': partitions.cc:629:21: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 629 | register uint32_t crc32val; | ^~~~~~~~ partitions.cc: In function 'detect_gpt(source&, hwNode&)': partitions.cc:748:49: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 7 [-Wformat-truncation=] 748 | snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); | ^ partitions.cc:748:46: note: directive argument in the range [0, 255] 748 | snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); | ^~~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from partitions.h:4, from partitions.cc:18: In function 'snprintf', inlined from 'detect_gpt(source&, hwNode&)' at partitions.cc:748:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 5 and 13 bytes into a destination of size 8 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partitions.cc: In function 'detect_dosmap(source&, hwNode&)': partitions.cc:1177:39: warning: '%08lx' directive output may be truncated writing between 8 and 16 bytes into a region of size 9 [-Wformat-truncation=] 1177 | snprintf(buffer, sizeof(buffer), "%08lx", signature); | ^~~~~ partitions.cc:1177:38: note: directive argument in the range [1, 18446744073709551615] 1177 | snprintf(buffer, sizeof(buffer), "%08lx", signature); | ^~~~~~~ In function 'snprintf', inlined from 'detect_dosmap(source&, hwNode&)' at partitions.cc:1177:13: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 9 and 17 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c pci.cc -o pci.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c dmi.cc -o dmi.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' dmi.cc: In function 'dmi_table(unsigned char const*, int, hwNode&, int, int, int) [clone .constprop.0]': dmi.cc:1555: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=] 1555 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ^~ dmi.cc:1555:44: note: directive argument in the range [0, 65535] 1555 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ^~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from dmi.h:4, from dmi.cc:80: In function 'snprintf', inlined from 'dmi_table(unsigned char const*, int, hwNode&, int, int, int) [clone .constprop.0]' at dmi.cc:1555:23: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 4 and 12 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c device-tree.cc -o device-tree.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' device-tree.cc: In function 'void add_memory_bank_spd(std::string, hwNode&)': device-tree.cc:861:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 861 | read(fd, &dimminfo[0x80], len - 0x80); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ device-tree.cc: In function 'scan_devtree_memory(hwNode&)': device-tree.cc:1140:41: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 1140 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ^ In file included from /usr/include/stdio.h:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from device-tree.h:4, from device-tree.cc:15: In function 'snprintf', inlined from 'scan_devtree_memory(hwNode&)' at device-tree.cc:1140:13: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c hw.cc -o hw.o make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' hw.cc: In function 'generateId(std::__cxx11::basic_string, std::allocator > const&, int)': hw.cc:795:39: warning: '__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:964, from /usr/include/c++/12/cstdio:42, from /usr/include/c++/12/ext/string_conversions.h:43, from /usr/include/c++/12/bits/basic_string.h:3968, from /usr/include/c++/12/string:53, from hw.h:4, from hw.cc:2: In function 'snprintf', inlined from 'generateId(std::__cxx11::basic_string, std::allocator > const&, int)' at hw.cc:795:11: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 11 bytes into a destination of size 10 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' 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 make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' ar: creating liblshw.a make[1]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src' g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv make[1]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src' /bin/sh: line 1: git: command not found + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vqUP2B + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 + cd lshw-B.02.19.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 'INSTALL=/usr/bin/install -p' /usr/bin/make -C src install make[1]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src' make -C core all /bin/sh: line 1: git: command not found make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/core' g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv /bin/sh: line 1: git: command not found /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/sbin /bin/sh: line 1: git: command not found /usr/bin/install -p -m 0755 lshw /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/sbin /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/share/man/man1 /usr/bin/install -p -m 0644 lshw.1 /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/share/man/man1 /usr/bin/install -p -d -m 0755 /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/share/lshw /usr/bin/install -p -m 0644 pci.ids usb.ids oui.txt manuf.txt pnp.ids pnpid.txt /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/share/lshw make -C po install make[2]: Entering directory '/builddir/build/BUILD/lshw-B.02.19.2/src/po' install -D fr.mo /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64//usr/share/locale/fr/LC_MESSAGES/lshw.mo ; make[2]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src/po' make[1]: Leaving directory '/builddir/build/BUILD/lshw-B.02.19.2/src' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 lshw + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed B.02.19.2-5.ocs23 --unique-debug-suffix -B.02.19.2-5.ocs23.x86_64 --unique-debug-src-base lshw-B.02.19.2-5.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/lshw-B.02.19.2 extracting debug info from /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/sbin/lshw 1220 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: lshw-B.02.19.2-5.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.tNYTze + umask 022 + cd /builddir/build/BUILD + cd lshw-B.02.19.2 + DOCDIR=/builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/share/doc/lshw + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/share/doc/lshw + cp -pr README.md /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/share/doc/lshw + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UduBQo + umask 022 + cd /builddir/build/BUILD + cd lshw-B.02.19.2 + LICENSEDIR=/builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/share/licenses/lshw + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/share/licenses/lshw + cp -pr COPYING /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64/usr/share/licenses/lshw + RPM_EC=0 ++ jobs -p + exit 0 Provides: lshw = B.02.19.2-5.ocs23 lshw(x86-64) = B.02.19.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: lshw-debugsource-B.02.19.2-5.ocs23.x86_64 Provides: lshw-debugsource = B.02.19.2-5.ocs23 lshw-debugsource(x86-64) = B.02.19.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lshw-debuginfo-B.02.19.2-5.ocs23.x86_64 Provides: debuginfo(build-id) = 74af8f097f5e8564ea8ad4a0c532b7a2f1174b24 lshw-debuginfo = B.02.19.2-5.ocs23 lshw-debuginfo(x86-64) = B.02.19.2-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lshw-debugsource(x86-64) = B.02.19.2-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lshw-B.02.19.2-5.ocs23.x86_64 Wrote: /builddir/build/RPMS/lshw-debugsource-B.02.19.2-5.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/lshw-debuginfo-B.02.19.2-5.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/lshw-B.02.19.2-5.ocs23.x86_64.rpm Child return code was: 0