Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/dist-an23-build-203178-61049/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658188800 Wrote: /builddir/build/SRPMS/lshw-B.02.19.2-6.0.1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'], chrootPath='/var/lib/mock/dist-an23-build-203178-61049/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658188800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.P83zMO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lshw-B.02.19.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lshw-B.02.19.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lshw-B.02.19.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (lshw-B.02.18-scandir.patch):' Patch #1 (lshw-B.02.18-scandir.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/abi.cc Hunk #1 succeeded at 38 (offset 2 lines). + echo 'Patch #2 (lshw-B.02.18-revert-json.patch):' Patch #2 (lshw-B.02.18-revert-json.patch): + /usr/bin/patch --no-backup-if-mismatch -f -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 #3 (lshw-B.02.19.2-cmake.patch): + echo 'Patch #3 (lshw-B.02.19.2-cmake.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 Patch #4 (lshw-B.02.19.2-Add-the-FindPkgConfig-to-CMakeLists.patch): + echo 'Patch #4 (lshw-B.02.19.2-Add-the-FindPkgConfig-to-CMakeLists.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file CMakeLists.txt Patch #5 (0001-report-CPU-family-model-stepping.patch): + echo 'Patch #5 (0001-report-CPU-family-model-stepping.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/cpuinfo.cc patching file src/core/hw.cc Hunk #1 succeeded at 2428 (offset -4 lines). patching file src/core/hw.h + echo 'Patch #6 (0002-move-PnP-devices-to-the-ISA-LPC-bridge.patch):' Patch #6 (0002-move-PnP-devices-to-the-ISA-LPC-bridge.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/pnp.cc Patch #7 (0003-correctly-format-SMBIOS-UUID.patch): + echo 'Patch #7 (0003-correctly-format-SMBIOS-UUID.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/dmi.cc Patch #8 (0004-cosmetic-clean-up.patch): + echo 'Patch #8 (0004-cosmetic-clean-up.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/mmc.cc Patch #9 (0005-begin-work-on-input-devices.patch): + echo 'Patch #9 (0005-begin-work-on-input-devices.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/hw.cc patching file src/core/input.cc patching file src/core/input.h patching file src/core/main.cc + echo 'Patch #10 (0006-cosmetic-fixes.patch):' Patch #10 (0006-cosmetic-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/input.cc + echo 'Patch #11 (0007-detect-sound-devices.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #11 (0007-detect-sound-devices.patch): patching file src/core/main.cc patching file src/core/sound.cc patching file src/core/sound.h patching file src/core/sysfs.cc patching file src/core/sysfs.h + echo 'Patch #12 (0008-detect-framebuffers.patch):' Patch #12 (0008-detect-framebuffers.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/graphics.cc patching file src/core/graphics.h patching file src/core/main.cc Patch #13 (0009-try-to-connect-input-devices-to-the-right-parent.patch): + echo 'Patch #13 (0009-try-to-connect-input-devices-to-the-right-parent.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/input.cc Patch #14 (0010-devtree-Add-chip-id-from-the-dimm-module.patch): + echo 'Patch #14 (0010-devtree-Add-chip-id-from-the-dimm-module.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/device-tree.cc Patch #15 (0011-devtree-Add-chip-id-from-CPU-node.patch): + echo 'Patch #15 (0011-devtree-Add-chip-id-from-CPU-node.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/device-tree.cc Patch #16 (0012-volumes-fix-segfault-in-apfs-volume-code.patch): + echo 'Patch #16 (0012-volumes-fix-segfault-in-apfs-volume-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/volumes.cc Patch #17 (0013-merge-Github-PR-53.patch): + echo 'Patch #17 (0013-merge-Github-PR-53.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/cpuinfo.cc + echo 'Patch #18 (0014-devtree-Add-capabilites-to-the-OPAL-Firmware.patch):' Patch #18 (0014-devtree-Add-capabilites-to-the-OPAL-Firmware.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/device-tree.cc Patch #19 (0015-fix-issue-with-logical-names-being-truncated-dev-sda.patch): + echo 'Patch #19 (0015-fix-issue-with-logical-names-being-truncated-dev-sda.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/hw.cc Patch #20 (0016-code-clean-up-for-read-3.patch): + echo 'Patch #20 (0016-code-clean-up-for-read-3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/cpuinfo.cc patching file src/core/osutils.cc + echo 'Patch #21 (0017-report-product-model-on-Power-systems.patch):' Patch #21 (0017-report-product-model-on-Power-systems.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/device-tree.cc Patch #22 (0001-Fix-few-memory-leaks.patch): + echo 'Patch #22 (0001-Fix-few-memory-leaks.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/parisc.cc patching file src/core/spd.cc patching file src/core/sysfs.cc Patch #23 (0002-Build-against-gtk3-instead-of-gtk2.patch): + echo 'Patch #23 (0002-Build-against-gtk3-instead-of-gtk2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file README.md patching file lshw.spec.in patching file src/gui/CMakeLists.txt patching file src/gui/gtk-lshw.ui Patch #24 (0003-Remove-deprecated-stock-messages.patch): + echo 'Patch #24 (0003-Remove-deprecated-stock-messages.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/gtk-lshw.c + echo 'Patch #25 (0004-Remove-hack-which-is-apparently-not-useful-anymore.patch):' Patch #25 (0004-Remove-hack-which-is-apparently-not-useful-anymore.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/stock.c Hunk #1 succeeded at 90 (offset 1 line). Hunk #2 succeeded at 101 (offset 1 line). Hunk #3 succeeded at 124 (offset 1 line). Patch #26 (0005-Use-GtkFileChooserNative-instead-of-GtkFileChooserDi.patch): + echo 'Patch #26 (0005-Use-GtkFileChooserNative-instead-of-GtkFileChooserDi.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/engine.cc + echo 'Patch #27 (0006-Replace-deprecated-GtkIconFactory-with-GHashTable.patch):' Patch #27 (0006-Replace-deprecated-GtkIconFactory-with-GHashTable.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/engine.cc patching file src/gui/print-gui.cc patching file src/gui/print-gui.h patching file src/gui/stock.c Hunk #1 succeeded at 17 (offset 1 line). Hunk #2 succeeded at 89 (offset 1 line). Hunk #3 succeeded at 96 (offset 1 line). Hunk #4 succeeded at 109 (offset 1 line). Hunk #5 succeeded at 158 (offset 1 line). patching file src/gui/stock.h Patch #28 (0007-Replace-the-last-GtkStock-in-overwrite-dialog.patch): + echo 'Patch #28 (0007-Replace-the-last-GtkStock-in-overwrite-dialog.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/engine.cc Patch #29 (0008-Remove-deprecated-widgets.patch): + echo 'Patch #29 (0008-Remove-deprecated-widgets.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/gtk-lshw.ui + echo 'Patch #30 (0009-Remove-deprecated-use_action_appearance-property.patch):' Patch #30 (0009-Remove-deprecated-use_action_appearance-property.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/gtk-lshw.ui + echo 'Patch #31 (0010-Move-to-GtkApplication.patch):' Patch #31 (0010-Move-to-GtkApplication.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/gtk-lshw.c patching file src/gui/gtk-lshw.ui Patch #32 (0011-Replace-signals-with-GSimpleActions.patch): + echo 'Patch #32 (0011-Replace-signals-with-GSimpleActions.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/callbacks.c patching file src/gui/callbacks.h patching file src/gui/gtk-lshw.c patching file src/gui/gtk-lshw.ui Patch #33 (0012-Enable-Disable-GSimpleAction-instead-of-button-sensi.patch): + echo 'Patch #33 (0012-Enable-Disable-GSimpleAction-instead-of-button-sensi.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/engine.cc patching file src/gui/gtk-lshw.c patching file src/gui/gtk-lshw.ui patching file src/gui/stock.c Hunk #1 succeeded at 14 (offset 1 line). Hunk #2 succeeded at 150 (offset 1 line). + echo 'Patch #34 (0013-Move-from-GtkMenuBar-to-GMenu.patch):' Patch #34 (0013-Move-from-GtkMenuBar-to-GMenu.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/gtk-lshw.c patching file src/gui/gtk-lshw.ui patching file src/gui/stock.c Hunk #1 succeeded at 15 (offset 1 line). Hunk #2 succeeded at 120 (offset 1 line). Hunk #3 succeeded at 153 (offset 1 line). patching file src/gui/stock.h Patch #35 (0014-Replace-the-about-GtkDialog-with-a-GtkAboutDialog.patch): + echo 'Patch #35 (0014-Replace-the-about-GtkDialog-with-a-GtkAboutDialog.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/callbacks.c patching file src/gui/callbacks.h patching file src/gui/gtk-lshw.ui patching file src/gui/stock.c + echo 'Patch #36 (0015-Update-docs-TODO.patch):' Patch #36 (0015-Update-docs-TODO.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file docs/TODO + echo 'Patch #37 (0016-Update-docs-TODO.patch):' Patch #37 (0016-Update-docs-TODO.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file docs/TODO Patch #38 (0017-update-man-page.patch): + echo 'Patch #38 (0017-update-man-page.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/lshw.1 patching file src/lshw.sgml Patch #39 (0018-fix-man-page-after-previous-update.patch): + echo 'Patch #39 (0018-fix-man-page-after-previous-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/lshw.1 patching file src/lshw.sgml Patch #40 (rhelonly-cleanup-remove-unused-support.c-support.h-generated-.patch): + echo 'Patch #40 (rhelonly-cleanup-remove-unused-support.c-support.h-generated-.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/gui/callbacks.c patching file src/gui/engine.cc patching file src/gui/gtk-lshw.c patching file src/gui/support.c patching file src/gui/support.h Patch #41 (0001-Report-correct-memory-size-on-SMBIOS-2.7.patch): + echo 'Patch #41 (0001-Report-correct-memory-size-on-SMBIOS-2.7.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/dmi.cc + echo 'Patch #42 (0001-devtree-Add-UUID-property.patch):' Patch #42 (0001-devtree-Add-UUID-property.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/device-tree.cc Patch #43 (0001-Fix-getting-size-of-memory-banks-32GiB.patch): + echo 'Patch #43 (0001-Fix-getting-size-of-memory-banks-32GiB.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/core/dmi.cc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QhJNi6 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lshw-B.02.19.2 + mkdir build + pushd build ~/build/BUILD/lshw-B.02.19.2/build ~/build/BUILD/lshw-B.02.19.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B anolis-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 -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_FULL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_FULL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=/var/lib -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -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 -DSQLITE=ON -GNinja CMake Warning: Ignoring extra path from command line: "/builddir/build/BUILD/lshw-B.02.19.2/build" -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.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 -- Found Git: /usr/bin/git (found version "2.39.1") -- lshw: B.02.19.2 -- Checking for module 'sqlite3' -- Found sqlite3, version 3.40.1 -- Enabling SQLite support -- zlib support disabled -- Found Gettext: /usr/bin/msgmerge (found version "0.21.1") -- gettext found: fr -- Checking for modules 'gtk+-3.0;gmodule-2.0' -- Found gtk+-3.0, version 3.24.36 -- Found gmodule-2.0, version 2.74.5 -- Configuring done -- Generating done 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.19.2/build/anolis-linux-build + /usr/bin/ninja -v -j64 ninja: error: loading 'build.ninja': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.QhJNi6 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.QhJNi6 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, 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 --target x86_64 --nodeps /builddir/build/SPECS/lshw.spec