Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/f40-build-805846-144849/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Wrote: /builddir/build/SRPMS/lshw-B.02.20-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/f40-build-805846-144849/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2LvXi2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lshw-B.02.20 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lshw-B.02.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lshw-B.02.20 + rm -rf /builddir/build/BUILD/lshw-B.02.20-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lshw-B.02.20-SPECPARTS + /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-B.02.20-cmake.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.es7Bw8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + 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 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DNOLOGO=ON -DHWDATA=OFF -DPOLICYKIT=ON -DSQLITE=ON -DBUILD_SHARED_LIBS=OFF -DGUI=ON -GNinja CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 14.0.1 -- The CXX compiler identification is GNU 14.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Git (missing: GIT_EXECUTABLE) -- lshw: B.02.20 -- Found PkgConfig: /usr/bin/pkg-config (found version "2.1.0") -- Checking for module 'sqlite3' -- Found sqlite3, version 3.45.1 -- Enabling SQLite support -- zlib support disabled -- Found Gettext: /usr/bin/msgmerge (found version "0.22") -- gettext found: ca es fr -- Checking for modules 'gtk+-3.0;gmodule-2.0' -- Found gtk+-3.0, version 3.24.41 -- Found gmodule-2.0, version 2.80.0 -- Configuring done (8.7s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/lshw-B.02.20/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/blockio.cc.o -MF src/CMakeFiles/core.dir/core/blockio.cc.o.d -o src/CMakeFiles/core.dir/core/blockio.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/blockio.cc [2/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/burner.cc.o -MF src/CMakeFiles/core.dir/core/burner.cc.o.d -o src/CMakeFiles/core.dir/core/burner.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/burner.cc /builddir/build/BUILD/lshw-B.02.20/src/core/burner.cc:446:12: warning: ‘int disc_is_rewritable(int)’ defined but not used [-Wunused-function] 446 | static int disc_is_rewritable (int fd) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lshw-B.02.20/src/core/burner.cc:420:12: warning: ‘int disc_is_appendable(int)’ defined but not used [-Wunused-function] 420 | static int disc_is_appendable (int fd) | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lshw-B.02.20/src/core/burner.cc:394:12: warning: ‘int get_disc_type(int)’ defined but not used [-Wunused-function] 394 | static int get_disc_type (int fd) | ^~~~~~~~~~~~~ /builddir/build/BUILD/lshw-B.02.20/src/core/burner.cc:346:12: warning: ‘int get_read_write_speed(int, int*, int*)’ defined but not used [-Wunused-function] 346 | static int get_read_write_speed (int fd, int *read_speed, int *write_speed) | ^~~~~~~~~~~~~~~~~~~~ [3/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/abi.cc.o -MF src/CMakeFiles/core.dir/core/abi.cc.o.d -o src/CMakeFiles/core.dir/core/abi.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/abi.cc [4/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/cdrom.cc.o -MF src/CMakeFiles/core.dir/core/cdrom.cc.o.d -o src/CMakeFiles/core.dir/core/cdrom.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/cdrom.cc [5/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/cpuid.cc.o -MF src/CMakeFiles/core.dir/core/cpuid.cc.o.d -o src/CMakeFiles/core.dir/core/cpuid.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/cpuid.cc [6/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/cpufreq.cc.o -MF src/CMakeFiles/core.dir/core/cpufreq.cc.o.d -o src/CMakeFiles/core.dir/core/cpufreq.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/cpufreq.cc [7/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/disk.cc.o -MF src/CMakeFiles/core.dir/core/disk.cc.o.d -o src/CMakeFiles/core.dir/core/disk.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/disk.cc [8/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/db.cc.o -MF src/CMakeFiles/core.dir/core/db.cc.o.d -o src/CMakeFiles/core.dir/core/db.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc [9/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/display.cc.o -MF src/CMakeFiles/core.dir/core/display.cc.o.d -o src/CMakeFiles/core.dir/core/display.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/display.cc [10/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/dump.cc.o -MF src/CMakeFiles/core.dir/core/dump.cc.o.d -o src/CMakeFiles/core.dir/core/dump.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/dump.cc [11/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/fat.cc.o -MF src/CMakeFiles/core.dir/core/fat.cc.o.d -o src/CMakeFiles/core.dir/core/fat.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/fat.cc [12/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/fb.cc.o -MF src/CMakeFiles/core.dir/core/fb.cc.o.d -o src/CMakeFiles/core.dir/core/fb.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/fb.cc [13/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/cpuinfo.cc.o -MF src/CMakeFiles/core.dir/core/cpuinfo.cc.o.d -o src/CMakeFiles/core.dir/core/cpuinfo.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/cpuinfo.cc [14/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/graphics.cc.o -MF src/CMakeFiles/core.dir/core/graphics.cc.o.d -o src/CMakeFiles/core.dir/core/graphics.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/graphics.cc [15/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/heuristics.cc.o -MF src/CMakeFiles/core.dir/core/heuristics.cc.o.d -o src/CMakeFiles/core.dir/core/heuristics.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/heuristics.cc [16/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/dmi.cc.o -MF src/CMakeFiles/core.dir/core/dmi.cc.o.d -o src/CMakeFiles/core.dir/core/dmi.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/dmi.cc [17/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/device-tree.cc.o -MF src/CMakeFiles/core.dir/core/device-tree.cc.o.d -o src/CMakeFiles/core.dir/core/device-tree.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/device-tree.cc /builddir/build/BUILD/lshw-B.02.20/src/core/device-tree.cc: In function ‘void add_memory_bank_spd(std::string, hwNode&)’: /builddir/build/BUILD/lshw-B.02.20/src/core/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); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lshw-B.02.20/src/core/device-tree.cc: In function ‘void scan_devtree_memory(hwNode&)’: /builddir/build/BUILD/lshw-B.02.20/src/core/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); | ^~ /builddir/build/BUILD/lshw-B.02.20/src/core/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:980, from /usr/include/c++/14/cstdio:42, from /usr/include/c++/14/ext/string_conversions.h:45, from /usr/include/c++/14/bits/basic_string.h:4154, from /usr/include/c++/14/string:54, from /builddir/build/BUILD/lshw-B.02.20/src/core/hw.h:4, from /builddir/build/BUILD/lshw-B.02.20/src/core/device-tree.h:4, from /builddir/build/BUILD/lshw-B.02.20/src/core/device-tree.cc:15: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void scan_devtree_memory(hwNode&)’ at /builddir/build/BUILD/lshw-B.02.20/src/core/device-tree.cc:1189:13: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 2 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 ()); | ~~~~~~~~~~~~~~~~~ [18/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/input.cc.o -MF src/CMakeFiles/core.dir/core/input.cc.o.d -o src/CMakeFiles/core.dir/core/input.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/input.cc [19/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/ide.cc.o -MF src/CMakeFiles/core.dir/core/ide.cc.o.d -o src/CMakeFiles/core.dir/core/ide.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/ide.cc [20/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/isapnp.cc.o -MF src/CMakeFiles/core.dir/core/isapnp.cc.o.d -o src/CMakeFiles/core.dir/core/isapnp.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/isapnp.cc [21/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/ideraid.cc.o -MF src/CMakeFiles/core.dir/core/ideraid.cc.o.d -o src/CMakeFiles/core.dir/core/ideraid.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/ideraid.cc [22/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/jedec.cc.o -MF src/CMakeFiles/core.dir/core/jedec.cc.o.d -o src/CMakeFiles/core.dir/core/jedec.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/jedec.cc [23/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/main.cc.o -MF src/CMakeFiles/core.dir/core/main.cc.o.d -o src/CMakeFiles/core.dir/core/main.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/main.cc [24/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/lvm.cc.o -MF src/CMakeFiles/core.dir/core/lvm.cc.o.d -o src/CMakeFiles/core.dir/core/lvm.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/lvm.cc [25/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/mem.cc.o -MF src/CMakeFiles/core.dir/core/mem.cc.o.d -o src/CMakeFiles/core.dir/core/mem.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/mem.cc [26/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/mounts.cc.o -MF src/CMakeFiles/core.dir/core/mounts.cc.o.d -o src/CMakeFiles/core.dir/core/mounts.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/mounts.cc [27/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/mmc.cc.o -MF src/CMakeFiles/core.dir/core/mmc.cc.o.d -o src/CMakeFiles/core.dir/core/mmc.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/mmc.cc [28/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/nvme.cc.o -MF src/CMakeFiles/core.dir/core/nvme.cc.o.d -o src/CMakeFiles/core.dir/core/nvme.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/nvme.cc [29/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/hw.cc.o -MF src/CMakeFiles/core.dir/core/hw.cc.o.d -o src/CMakeFiles/core.dir/core/hw.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/hw.cc /builddir/build/BUILD/lshw-B.02.20/src/core/hw.cc: In function ‘std::string generateId(const std::string&, int)’: /builddir/build/BUILD/lshw-B.02.20/src/core/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:980, from /usr/include/c++/14/cstdio:42, from /usr/include/c++/14/ext/string_conversions.h:45, from /usr/include/c++/14/bits/basic_string.h:4154, from /usr/include/c++/14/string:54, from /builddir/build/BUILD/lshw-B.02.20/src/core/hw.h:4, from /builddir/build/BUILD/lshw-B.02.20/src/core/hw.cc:2: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘std::string generateId(const std::string&, int)’ at /builddir/build/BUILD/lshw-B.02.20/src/core/hw.cc:795:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___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 ()); | ~~~~~~~~~~~~~~~~~ [30/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/network.cc.o -MF src/CMakeFiles/core.dir/core/network.cc.o.d -o src/CMakeFiles/core.dir/core/network.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/network.cc /builddir/build/BUILD/lshw-B.02.20/src/core/network.cc: In function ‘bool scan_network(hwNode&)’: /builddir/build/BUILD/lshw-B.02.20/src/core/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)); | ^ [31/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/options.cc.o -MF src/CMakeFiles/core.dir/core/options.cc.o.d -o src/CMakeFiles/core.dir/core/options.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/options.cc [32/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/parisc.cc.o -MF src/CMakeFiles/core.dir/core/parisc.cc.o.d -o src/CMakeFiles/core.dir/core/parisc.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/parisc.cc [33/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/osutils.cc.o -MF src/CMakeFiles/core.dir/core/osutils.cc.o.d -o src/CMakeFiles/core.dir/core/osutils.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/osutils.cc [34/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/pcmcia.cc.o -MF src/CMakeFiles/core.dir/core/pcmcia.cc.o.d -o src/CMakeFiles/core.dir/core/pcmcia.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/pcmcia.cc [35/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/pcmcia-legacy.cc.o -MF src/CMakeFiles/core.dir/core/pcmcia-legacy.cc.o.d -o src/CMakeFiles/core.dir/core/pcmcia-legacy.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/pcmcia-legacy.cc [36/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/pnp.cc.o -MF src/CMakeFiles/core.dir/core/pnp.cc.o.d -o src/CMakeFiles/core.dir/core/pnp.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/pnp.cc [37/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/partitions.cc.o -MF src/CMakeFiles/core.dir/core/partitions.cc.o.d -o src/CMakeFiles/core.dir/core/partitions.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/partitions.cc [38/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/s390.cc.o -MF src/CMakeFiles/core.dir/core/s390.cc.o.d -o src/CMakeFiles/core.dir/core/s390.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/s390.cc [39/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/pci.cc.o -MF src/CMakeFiles/core.dir/core/pci.cc.o.d -o src/CMakeFiles/core.dir/core/pci.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/pci.cc /builddir/build/BUILD/lshw-B.02.20/src/core/pci.cc: In function ‘bool scan_resources(hwNode&, pci_dev&)’: /builddir/build/BUILD/lshw-B.02.20/src/core/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]; | ~~~~~~~~~~~~~^ /builddir/build/BUILD/lshw-B.02.20/src/core/pci.cc:229:13: note: while referencing ‘pci_dev::base_addr’ 229 | pciaddr_t base_addr[6]; /* Base addresses */ | ^~~~~~~~~ /builddir/build/BUILD/lshw-B.02.20/src/core/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]; | ~~~~~~~~^ /builddir/build/BUILD/lshw-B.02.20/src/core/pci.cc:230:13: note: while referencing ‘pci_dev::size’ 230 | pciaddr_t size[6]; /* Region sizes */ | ^~~~ [40/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/smp.cc.o -MF src/CMakeFiles/core.dir/core/smp.cc.o.d -o src/CMakeFiles/core.dir/core/smp.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/smp.cc [41/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/sound.cc.o -MF src/CMakeFiles/core.dir/core/sound.cc.o.d -o src/CMakeFiles/core.dir/core/sound.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/sound.cc [42/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/print.cc.o -MF src/CMakeFiles/core.dir/core/print.cc.o.d -o src/CMakeFiles/core.dir/core/print.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/print.cc [43/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/spd.cc.o -MF src/CMakeFiles/core.dir/core/spd.cc.o.d -o src/CMakeFiles/core.dir/core/spd.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/spd.cc [44/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/version.cc.o -MF src/CMakeFiles/core.dir/core/version.cc.o.d -o src/CMakeFiles/core.dir/core/version.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/version.cc [45/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/vio.cc.o -MF src/CMakeFiles/core.dir/core/vio.cc.o.d -o src/CMakeFiles/core.dir/core/vio.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/vio.cc [46/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/scsi.cc.o -MF src/CMakeFiles/core.dir/core/scsi.cc.o.d -o src/CMakeFiles/core.dir/core/scsi.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/scsi.cc [47/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/virtio.cc.o -MF src/CMakeFiles/core.dir/core/virtio.cc.o.d -o src/CMakeFiles/core.dir/core/virtio.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/virtio.cc [48/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/sysfs.cc.o -MF src/CMakeFiles/core.dir/core/sysfs.cc.o.d -o src/CMakeFiles/core.dir/core/sysfs.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/sysfs.cc [49/62] cd /builddir/build/BUILD/lshw-B.02.20/src/po && /usr/bin/msgfmt -o /builddir/build/BUILD/lshw-B.02.20/redhat-linux-build/src/po/ca.gmo ca.po [50/62] cd /builddir/build/BUILD/lshw-B.02.20/src/po && /usr/bin/msgfmt -o /builddir/build/BUILD/lshw-B.02.20/redhat-linux-build/src/po/es.gmo es.po [51/62] cd /builddir/build/BUILD/lshw-B.02.20/src/po && /usr/bin/msgfmt -o /builddir/build/BUILD/lshw-B.02.20/redhat-linux-build/src/po/fr.gmo fr.po [52/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/lshw.dir/lshw.cc.o -MF src/CMakeFiles/lshw.dir/lshw.cc.o.d -o src/CMakeFiles/lshw.dir/lshw.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/lshw.cc [53/62] /usr/bin/gcc -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/gui/CMakeFiles/gtk-lshw.dir/callbacks.c.o -MF src/gui/CMakeFiles/gtk-lshw.dir/callbacks.c.o.d -o src/gui/CMakeFiles/gtk-lshw.dir/callbacks.c.o -c /builddir/build/BUILD/lshw-B.02.20/src/gui/callbacks.c [54/62] /usr/bin/gcc -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/gui/CMakeFiles/gtk-lshw.dir/gtk-lshw.c.o -MF src/gui/CMakeFiles/gtk-lshw.dir/gtk-lshw.c.o.d -o src/gui/CMakeFiles/gtk-lshw.dir/gtk-lshw.c.o -c /builddir/build/BUILD/lshw-B.02.20/src/gui/gtk-lshw.c /builddir/build/BUILD/lshw-B.02.20/src/gui/gtk-lshw.c: In function ‘main’: /builddir/build/BUILD/lshw-B.02.20/src/gui/gtk-lshw.c:78:3: warning: ‘G_APPLICATION_FLAGS_NONE’ is deprecated: Use 'G_APPLICATION_DEFAULT_FLAGS' instead [-Wdeprecated-declarations] 78 | GtkApplication *app = gtk_application_new ("org.ezix.gtk-lshw", G_APPLICATION_FLAGS_NONE); | ^~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30, from /builddir/build/BUILD/lshw-B.02.20/src/gui/gtk-lshw.c:3: /usr/include/glib-2.0/gio/gioenums.h:1545:3: note: declared here 1545 | G_APPLICATION_FLAGS_NONE GIO_DEPRECATED_ENUMERATOR_IN_2_74_FOR(G_APPLICATION_DEFAULT_FLAGS), | ^~~~~~~~~~~~~~~~~~~~~~~~ [55/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/usb.cc.o -MF src/CMakeFiles/core.dir/core/usb.cc.o.d -o src/CMakeFiles/core.dir/core/usb.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/usb.cc /builddir/build/BUILD/lshw-B.02.20/src/core/usb.cc: In function ‘bool addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int)’: /builddir/build/BUILD/lshw-B.02.20/src/core/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 /builddir/build/BUILD/lshw-B.02.20/src/core/usb.cc:125:52: /builddir/build/BUILD/lshw-B.02.20/src/core/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:980, from /usr/include/c++/14/cstdio:42, from /usr/include/c++/14/ext/string_conversions.h:45, from /usr/include/c++/14/bits/basic_string.h:4154, from /usr/include/c++/14/string:54, from /builddir/build/BUILD/lshw-B.02.20/src/core/hw.h:4, from /builddir/build/BUILD/lshw-B.02.20/src/core/usb.h:4, from /builddir/build/BUILD/lshw-B.02.20/src/core/usb.cc:12: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘std::string usbhandle(unsigned int, unsigned int, unsigned int)’ at /builddir/build/BUILD/lshw-B.02.20/src/core/usb.cc:90:11, inlined from ‘bool addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int)’ at /builddir/build/BUILD/lshw-B.02.20/src/core/usb.cc:125:52: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___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 ()); | ~~~~~~~~~~~~~~~~~ [56/62] /usr/bin/gcc -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/gui/CMakeFiles/gtk-lshw.dir/stock.c.o -MF src/gui/CMakeFiles/gtk-lshw.dir/stock.c.o.d -o src/gui/CMakeFiles/gtk-lshw.dir/stock.c.o -c /builddir/build/BUILD/lshw-B.02.20/src/gui/stock.c [57/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/CMakeFiles/core.dir/core/volumes.cc.o -MF src/CMakeFiles/core.dir/core/volumes.cc.o.d -o src/CMakeFiles/core.dir/core/volumes.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/core/volumes.cc [58/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/gui/CMakeFiles/gtk-lshw.dir/engine.cc.o -MF src/gui/CMakeFiles/gtk-lshw.dir/engine.cc.o.d -o src/gui/CMakeFiles/gtk-lshw.dir/engine.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/gui/engine.cc [59/62] : && /usr/bin/cmake -E rm -f src/libcore.a && /usr/bin/ar qc src/libcore.a src/CMakeFiles/core.dir/core/abi.cc.o src/CMakeFiles/core.dir/core/blockio.cc.o src/CMakeFiles/core.dir/core/burner.cc.o src/CMakeFiles/core.dir/core/cdrom.cc.o src/CMakeFiles/core.dir/core/cpufreq.cc.o src/CMakeFiles/core.dir/core/cpuid.cc.o src/CMakeFiles/core.dir/core/cpuinfo.cc.o src/CMakeFiles/core.dir/core/db.cc.o src/CMakeFiles/core.dir/core/device-tree.cc.o src/CMakeFiles/core.dir/core/disk.cc.o src/CMakeFiles/core.dir/core/display.cc.o src/CMakeFiles/core.dir/core/dmi.cc.o src/CMakeFiles/core.dir/core/dump.cc.o src/CMakeFiles/core.dir/core/fat.cc.o src/CMakeFiles/core.dir/core/fb.cc.o src/CMakeFiles/core.dir/core/graphics.cc.o src/CMakeFiles/core.dir/core/heuristics.cc.o src/CMakeFiles/core.dir/core/hw.cc.o src/CMakeFiles/core.dir/core/ide.cc.o src/CMakeFiles/core.dir/core/ideraid.cc.o src/CMakeFiles/core.dir/core/input.cc.o src/CMakeFiles/core.dir/core/isapnp.cc.o src/CMakeFiles/core.dir/core/jedec.cc.o src/CMakeFiles/core.dir/core/lvm.cc.o src/CMakeFiles/core.dir/core/main.cc.o src/CMakeFiles/core.dir/core/mem.cc.o src/CMakeFiles/core.dir/core/mmc.cc.o src/CMakeFiles/core.dir/core/mounts.cc.o src/CMakeFiles/core.dir/core/network.cc.o src/CMakeFiles/core.dir/core/nvme.cc.o src/CMakeFiles/core.dir/core/options.cc.o src/CMakeFiles/core.dir/core/osutils.cc.o src/CMakeFiles/core.dir/core/parisc.cc.o src/CMakeFiles/core.dir/core/partitions.cc.o src/CMakeFiles/core.dir/core/pci.cc.o src/CMakeFiles/core.dir/core/pcmcia-legacy.cc.o src/CMakeFiles/core.dir/core/pcmcia.cc.o src/CMakeFiles/core.dir/core/pnp.cc.o src/CMakeFiles/core.dir/core/print.cc.o src/CMakeFiles/core.dir/core/s390.cc.o src/CMakeFiles/core.dir/core/scsi.cc.o src/CMakeFiles/core.dir/core/smp.cc.o src/CMakeFiles/core.dir/core/sound.cc.o src/CMakeFiles/core.dir/core/spd.cc.o src/CMakeFiles/core.dir/core/sysfs.cc.o src/CMakeFiles/core.dir/core/usb.cc.o src/CMakeFiles/core.dir/core/version.cc.o src/CMakeFiles/core.dir/core/vio.cc.o src/CMakeFiles/core.dir/core/virtio.cc.o src/CMakeFiles/core.dir/core/volumes.cc.o && /usr/bin/ranlib src/libcore.a && : [60/62] /usr/bin/g++ -I/builddir/build/BUILD/lshw-B.02.20/redhat-linux-build -I/builddir/build/BUILD/lshw-B.02.20/src/core -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cloudproviders -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -MD -MT src/gui/CMakeFiles/gtk-lshw.dir/print-gui.cc.o -MF src/gui/CMakeFiles/gtk-lshw.dir/print-gui.cc.o.d -o src/gui/CMakeFiles/gtk-lshw.dir/print-gui.cc.o -c /builddir/build/BUILD/lshw-B.02.20/src/gui/print-gui.cc [61/62] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic src/gui/CMakeFiles/gtk-lshw.dir/callbacks.c.o src/gui/CMakeFiles/gtk-lshw.dir/gtk-lshw.c.o src/gui/CMakeFiles/gtk-lshw.dir/stock.c.o src/gui/CMakeFiles/gtk-lshw.dir/engine.cc.o src/gui/CMakeFiles/gtk-lshw.dir/print-gui.cc.o -o src/gui/gtk-lshw -lsqlite3 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 src/libcore.a -lresolv && : FAILED: src/gui/gtk-lshw : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic src/gui/CMakeFiles/gtk-lshw.dir/callbacks.c.o src/gui/CMakeFiles/gtk-lshw.dir/gtk-lshw.c.o src/gui/CMakeFiles/gtk-lshw.dir/stock.c.o src/gui/CMakeFiles/gtk-lshw.dir/engine.cc.o src/gui/CMakeFiles/gtk-lshw.dir/print-gui.cc.o -o src/gui/gtk-lshw -lsqlite3 -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 src/libcore.a -lresolv && : /usr/bin/ld: src/libcore.a(db.cc.o): undefined reference to symbol 'sqlite3_prepare' /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libsqlite3.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [62/62] : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic src/CMakeFiles/lshw.dir/lshw.cc.o -o src/lshw -lsqlite3 src/libcore.a -lresolv && : FAILED: src/lshw : && /usr/bin/g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -rdynamic src/CMakeFiles/lshw.dir/lshw.cc.o -o src/lshw -lsqlite3 src/libcore.a -lresolv && : /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::database::~database()': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:63:(.text+0x44): undefined reference to `sqlite3_close' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::value::asReal() const': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:236:(.text+0x66e): undefined reference to `sqlite3_finalize' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::value::print(std::ostream&) const': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:246:(.text+0x698): undefined reference to `sqlite3_reset' /usr/bin/ld: src/libcore.a(db.cc.o): in function `std::basic_ostream >& std::operator<< >(std::basic_ostream >&, char const*)': /usr/include/c++/14/ostream:673:(.text+0x6f0): undefined reference to `sqlite3_column_count' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::~statement()': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:299:(.text+0x75e): undefined reference to `sqlite3_column_type' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::reset()': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:373:(.text+0x77e): undefined reference to `sqlite3_column_int64' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::exception::exception(char const*)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:28:(.text+0x7b2): undefined reference to `sqlite3_column_text' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::reset()': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:374:(.text+0x7d8): undefined reference to `sqlite3_column_double' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::value::value(long long)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:129:(.text+0x8b0): undefined reference to `sqlite3_column_name' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::column(std::__cxx11::basic_string, std::allocator > const&) const': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:412:(.text+0xa18): undefined reference to `sqlite3_open' /usr/bin/ld: /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:410:(.text+0xa92): undefined reference to `sqlite3_prepare' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::operator[](unsigned int) const': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:422:(.text+0xb2a): undefined reference to `sqlite3_finalize' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::operator[](std::__cxx11::basic_string, std::allocator > const&) const': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:425:(.text+0xb42): undefined reference to `sqlite3_prepare' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::statement(sqlite::database&, std::__cxx11::basic_string, std::allocator > const&)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:277:(.text+0xc20): undefined reference to `sqlite3_bind_null' /usr/bin/ld: /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:284:(.text+0xc56): undefined reference to `sqlite3_bind_double' /usr/bin/ld: /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:284:(.text+0xc80): undefined reference to `sqlite3_bind_text' /usr/bin/ld: /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:287:(.text+0xcc2): undefined reference to `sqlite3_bind_text' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::prepare(std::__cxx11::basic_string, std::allocator > const&)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:306:(.text+0xcfa): undefined reference to `sqlite3_bind_int64' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::statement::bind(int, sqlite::value const&)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:341:(.text+0xf18): undefined reference to `sqlite3_step' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::exception::exception(char const*)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:28:(.text+0x1016): undefined reference to `sqlite3_finalize' /usr/bin/ld: src/libcore.a(db.cc.o): in function `sqlite::exception::exception(sqlite3*)': /builddir/build/BUILD/lshw-B.02.20/src/core/db.cc:321:(.text._ZN6sqlite9exceptionC2EP7sqlite3[_ZN6sqlite9exceptionC5EP7sqlite3]+0x2e): undefined reference to `sqlite3_errmsg' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.es7Bw8 (%build) Bad exit status from /var/tmp/rpm-tmp.es7Bw8 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec