Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/f30-build-37367-21389/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/lshw-B.02.18-18.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/f30-build-37367-21389/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xulZ3z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lshw-B.02.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/lshw-B.02.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lshw-B.02.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (lshw-B.02.18-scandir.patch):' Patch #1 (lshw-B.02.18-scandir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/core/abi.cc + echo 'Patch #2 (lshw-B.02.18-20cda77.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #2 (lshw-B.02.18-20cda77.patch): patching file .gitignore patching file Makefile patching file README.md patching file docs/Changelog patching file docs/lshw.xsd patching file src/Makefile patching file src/core/Makefile patching file src/core/abi.cc patching file src/core/cpuinfo.cc patching file src/core/dasd.cc patching file src/core/dasd.h patching file src/core/device-tree.cc patching file src/core/device-tree.h patching file src/core/dmi.cc patching file src/core/heuristics.cc patching file src/core/hw.cc patching file src/core/hw.h patching file src/core/ideraid.cc patching file src/core/isapnp.cc patching file src/core/main.cc patching file src/core/mem.cc patching file src/core/network.cc patching file src/core/osutils.cc patching file src/core/partitions.cc patching file src/core/pci.cc patching file src/core/pnp.cc patching file src/core/pnp.h patching file src/core/print.cc patching file src/core/s390.cc patching file src/core/s390.h patching file src/core/scsi.cc patching file src/core/sysfs.cc patching file src/core/sysfs.h patching file src/core/usb.cc patching file src/core/version.cc patching file src/core/vio.cc patching file src/core/vio.h patching file src/core/volumes.cc patching file src/gui/Makefile patching file src/gui/integration/gtk-lshw.appdata.xml patching file src/lshw.1 patching file src/lshw.cc patching file src/lshw.sgml patching file src/manuf.txt patching file src/oui.txt patching file src/pci.ids patching file src/pnp.ids patching file src/pnpid.txt patching file src/po/fr.po patching file src/usb.ids + echo 'Patch #3 (lshw-B.02.18-revert-json.patch):' Patch #3 (lshw-B.02.18-revert-json.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 -R patching file src/core/hw.cc Hunk #1 succeeded at 1400 (offset 32 lines). Hunk #2 succeeded at 1645 (offset 32 lines). Hunk #3 succeeded at 1667 (offset 32 lines). Patch #4 (lshw-B.02.18-cmake.patch): + echo 'Patch #4 (lshw-B.02.18-cmake.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file CMakeLists.txt patching file Makefile patching file README.md patching file lshw.spec.in patching file src/CMakeLists.txt patching file src/Makefile patching file src/core/Makefile patching file src/core/config.h.in (renamed from src/core/config.h) patching file src/core/db.cc patching file src/core/dump.cc patching file src/core/version.h patching file src/gui/CMakeLists.txt patching file src/gui/Makefile patching file src/gui/integration/gtk-lshw.desktop.in (renamed from src/gui/integration/gtk-lshw.desktop) patching file src/gui/integration/lshw-gui.in patching file src/gui/integration/org.ezix.lshw.gui.policy.in patching file src/gui/stock.c patching file src/po/CMakeLists.txt patching file src/po/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A3MSjF + umask 022 + cd /builddir/build/BUILD + cd lshw-B.02.18 + mkdir build + pushd build ~/build/BUILD/lshw-B.02.18/build ~/build/BUILD/lshw-B.02.18 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_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 -DBUILD_SHARED_LIBS=OFF -GNinja -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done BUILDSTDERR: -- lshw: B.012.18 BUILDSTDERR: -- SQLite support disabled BUILDSTDERR: -- zlib support disabled -- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") -- gettext found: fr -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") -- Checking for modules 'gtk+-2.0;gmodule-2.0' -- Found gtk+-2.0, version 2.24.32 -- Found gmodule-2.0, version 2.58.1 -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: CMAKE_VERBOSE_MAKEFILE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/lshw-B.02.18/build + /usr/bin/ninja -v -j4 [1/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/blockio.cc [2/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/burner.cc ../src/core/burner.cc:446:12: warning: 'int disc_is_rewritable(int)' defined but not used [-Wunused-function] static int disc_is_rewritable (int fd) ^~~~~~~~~~~~~~~~~~ ../src/core/burner.cc:420:12: warning: 'int disc_is_appendable(int)' defined but not used [-Wunused-function] static int disc_is_appendable (int fd) ^~~~~~~~~~~~~~~~~~ ../src/core/burner.cc:394:12: warning: 'int get_disc_type(int)' defined but not used [-Wunused-function] static int get_disc_type (int fd) ^~~~~~~~~~~~~ ../src/core/burner.cc:346:12: warning: 'int get_read_write_speed(int, int*, int*)' defined but not used [-Wunused-function] static int get_read_write_speed (int fd, int *read_speed, int *write_speed) ^~~~~~~~~~~~~~~~~~~~ [3/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/abi.cc [4/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/cdrom.cc [5/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/cpuid.cc [6/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/cpufreq.cc [7/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/db.cc [8/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/display.cc [9/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/disk.cc [10/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/dump.cc [11/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/fat.cc [12/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/fb.cc [13/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/cpuinfo.cc ../src/core/cpuinfo.cc: In function 'hwNode* getcpu(hwNode&, int)': ../src/core/cpuinfo.cc:32:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); ^~~~~~~~ ../src/core/cpuinfo.cc:32:44: note: directive argument in the range [0, 2147483647] In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/cpuinfo.h:4, from ../src/core/cpuinfo.cc:2: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 15 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [14/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/heuristics.cc [15/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/ide.cc [16/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/dmi.cc [17/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/device-tree.cc ../src/core/device-tree.cc: In function 'void add_memory_bank_spd(std::__cxx11::string, hwNode&)': ../src/core/device-tree.cc:860:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)', declared with attribute warn_unused_result [-Wunused-result] read(fd, &dimminfo[0x80], len - 0x80); ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/core/device-tree.cc: In function 'void scan_devtree_memory(hwNode&)': ../src/core/device-tree.cc:1129:38: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%d", currentmc); ^~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/device-tree.h:4, from ../src/core/device-tree.cc:15: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [18/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/isapnp.cc [19/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/ideraid.cc [20/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/jedec.cc [21/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/lvm.cc [22/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/main.cc [23/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/mem.cc [24/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/mounts.cc [25/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/options.cc [26/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/hw.cc [27/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/network.cc [28/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/parisc.cc [29/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/osutils.cc [30/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/pcmcia.cc [31/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/pcmcia-legacy.cc [32/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/pnp.cc [33/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/partitions.cc ../src/core/partitions.cc: In function 'bool detect_gpt(source&, hwNode&)': ../src/core/partitions.cc:741:46: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 7 [-Wformat-truncation=] snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); ^~~~~~~~~ ../src/core/partitions.cc:741:46: note: directive argument in the range [0, 255] In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/partitions.h:4, from ../src/core/partitions.cc:18: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 5 and 13 bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [34/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/pci.cc [35/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/s390.cc [36/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/smp.cc [37/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/spd.cc [38/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/print.cc [39/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/version.cc [40/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/scsi.cc ../src/core/scsi.cc: In function 'std::__cxx11::string scsi_handle(unsigned int, int, int, int)': ../src/core/scsi.cc:222:36: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%02d", channel); ^~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/mem.h:4, from ../src/core/scsi.cc:2: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 11 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/core/scsi.cc:228:36: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%02d", id); ^~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/mem.h:4, from ../src/core/scsi.cc:2: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 11 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/core/scsi.cc:234:36: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%02d", lun); ^~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/mem.h:4, from ../src/core/scsi.cc:2: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 3 and 11 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [41/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/vio.cc [42/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/sysfs.cc [43/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/virtio.cc [44/56] cd /builddir/build/BUILD/lshw-B.02.18/src/po && /usr/bin/msgfmt -o /builddir/build/BUILD/lshw-B.02.18/build/src/po/fr.gmo fr.po [45/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/lshw.cc [46/56] /usr/bin/cc -I. -I../src/core -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/gui/callbacks.c [47/56] /usr/bin/cc -I. -I../src/core -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/gui/gtk-lshw.c [48/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/usb.cc [49/56] /usr/bin/c++ -I. -I../src/core -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/core/volumes.cc ../src/core/volumes.cc: In function 'bool detect_fat(hwNode&, source&)': ../src/core/volumes.cc:449:36: warning: '%04lx' directive output may be truncated writing 4 bytes into a region of size between 3 and 11 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); ^~~~~~~~~~~~~ ../src/core/volumes.cc:449:36: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/volumes.h:4, from ../src/core/volumes.cc:12: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 10 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/core/volumes.cc: In function 'bool detect_ntfs(hwNode&, source&)': ../src/core/volumes.cc:449:36: warning: '%04lx' directive output may be truncated writing 4 bytes into a region of size between 3 and 11 [-Wformat-truncation=] snprintf(buffer, sizeof(buffer), "%04lx-%04lx", serial >> 16, serial & 0xffff); ^~~~~~~~~~~~~ ../src/core/volumes.cc:449:36: note: directive argument in the range [0, 65535] In file included from /usr/include/stdio.h:873, from /usr/include/c++/8/cstdio:42, from /usr/include/c++/8/ext/string_conversions.h:43, from /usr/include/c++/8/bits/basic_string.h:6400, from /usr/include/c++/8/string:52, from ../src/core/hw.h:4, from ../src/core/volumes.h:4, from ../src/core/volumes.cc:12: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 10 and 18 bytes into a destination of size 16 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [50/56] /usr/bin/cc -I. -I../src/core -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/gui/stock.c [51/56] /usr/bin/c++ -I. -I../src/core -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/gui/engine.cc In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from ../src/gui/engine.h:4, from ../src/gui/engine.cc:1: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from ../src/gui/engine.h:4, from ../src/gui/engine.cc:1: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ [52/56] : && /usr/bin/cmake -E remove 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/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/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/mounts.cc.o src/CMakeFiles/core.dir/core/network.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/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 && : [53/56] /usr/bin/cc -I. -I../src/core -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -MD -MT src/gui/CMakeFiles/gtk-lshw.dir/support.c.o -MF src/gui/CMakeFiles/gtk-lshw.dir/support.c.o.d -o src/gui/CMakeFiles/gtk-lshw.dir/support.c.o -c ../src/gui/support.c [54/56] : && /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic src/CMakeFiles/lshw.dir/lshw.cc.o -o src/lshw -lresolv src/libcore.a && : FAILED: src/lshw : && /usr/bin/c++ -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -rdynamic src/CMakeFiles/lshw.dir/lshw.cc.o -o src/lshw -lresolv src/libcore.a && : /usr/bin/ld: src/libcore.a(version.cc.o): in function `txtquery': /builddir/build/BUILD/lshw-B.02.18/build/../src/core/version.cc:44: undefined reference to `__res_querydomain' /usr/bin/ld: /builddir/build/BUILD/lshw-B.02.18/build/../src/core/version.cc:49: undefined reference to `__dn_expand' /usr/bin/ld: /builddir/build/BUILD/lshw-B.02.18/build/../src/core/version.cc:58: undefined reference to `__dn_expand' collect2: error: ld returned 1 exit status [55/56] /usr/bin/c++ -I. -I../src/core -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 ../src/gui/print-gui.cc In file included from /usr/include/gtk-2.0/gtk/gtk.h:89, from ../src/gui/print-gui.h:5, from ../src/gui/print-gui.cc:7: /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:59:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:60:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:61:8: warning: unnecessary parentheses in declaration of '__gtk_reserved3' [-Wparentheses] void (*__gtk_reserved3); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:62:8: warning: unnecessary parentheses in declaration of '__gtk_reserved4' [-Wparentheses] void (*__gtk_reserved4); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:63:8: warning: unnecessary parentheses in declaration of '__gtk_reserved5' [-Wparentheses] void (*__gtk_reserved5); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:64:8: warning: unnecessary parentheses in declaration of '__gtk_reserved6' [-Wparentheses] void (*__gtk_reserved6); ^ /usr/include/gtk-2.0/gtk/gtkfilechooserbutton.h:65:8: warning: unnecessary parentheses in declaration of '__gtk_reserved7' [-Wparentheses] void (*__gtk_reserved7); ^ In file included from /usr/include/gtk-2.0/gtk/gtk.h:173, from ../src/gui/print-gui.h:5, from ../src/gui/print-gui.cc:7: /usr/include/gtk-2.0/gtk/gtkstatusicon.h:76:8: warning: unnecessary parentheses in declaration of '__gtk_reserved1' [-Wparentheses] void (*__gtk_reserved1); ^ /usr/include/gtk-2.0/gtk/gtkstatusicon.h:77:8: warning: unnecessary parentheses in declaration of '__gtk_reserved2' [-Wparentheses] void (*__gtk_reserved2); ^ ninja: build stopped: subcommand failed. RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.A3MSjF (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.A3MSjF (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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 --target riscv64 --nodeps /builddir/build/SPECS/lshw.spec