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/libblockdev.spec'], chrootPath='/var/lib/mock/dist-an23-build-173214-59001/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/libblockdev.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=1638835200 Wrote: /builddir/build/SRPMS/libblockdev-2.24-8.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/libblockdev.spec'], chrootPath='/var/lib/mock/dist-an23-build-173214-59001/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/libblockdev.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=1638835200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.n7mdg8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libblockdev-2.24 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libblockdev-2.24.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libblockdev-2.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-exec-Fix-setting-locale-for-util-calls.patch):' Patch #0 (0001-exec-Fix-setting-locale-for-util-calls.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/utils/exec.c patching file tests/utils_test.py Patch #1 (0002-exec-polling-fixes.patch): + echo 'Patch #1 (0002-exec-polling-fixes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/utils/exec.c patching file src/utils/exec.c patching file src/utils/exec.h patching file tests/utils_test.py patching file tests/utils_test.py + echo 'Patch #2 (0003-LVM-thin-metadata-calculation-fix.patch):' Patch #2 (0003-LVM-thin-metadata-calculation-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/lib/plugin_apis/btrfs.api patching file src/lib/plugin_apis/crypto.api patching file src/lib/plugin_apis/lvm.api patching file src/lib/plugin_apis/mdraid.api patching file src/lib/plugin_apis/lvm.api patching file src/plugins/lvm.h patching file tests/lvm_dbus_tests.py patching file tests/lvm_test.py patching file dist/libblockdev.spec.in patching file src/lib/plugin_apis/lvm.api patching file src/plugins/lvm-dbus.c patching file src/plugins/lvm.c Hunk #2 succeeded at 210 (offset -2 lines). Hunk #3 succeeded at 230 (offset -2 lines). Hunk #4 succeeded at 313 (offset -2 lines). Hunk #5 succeeded at 813 (offset -2 lines). patching file src/python/gi/overrides/BlockDev.py patching file tests/library_test.py patching file tests/lvm_dbus_tests.py patching file tests/lvm_test.py patching file tests/utils.py patching file src/plugins/lvm-dbus.c patching file src/plugins/lvm.c Hunk #1 succeeded at 698 (offset -2 lines). Hunk #2 succeeded at 710 (offset -2 lines). Hunk #3 succeeded at 732 (offset -2 lines). Hunk #4 succeeded at 752 (offset -2 lines). Hunk #5 succeeded at 846 (offset -2 lines). Hunk #6 succeeded at 860 (offset -2 lines). Hunk #7 succeeded at 1981 (offset -2 lines). Hunk #8 succeeded at 2006 (offset -2 lines). Hunk #9 succeeded at 2025 (offset -2 lines). Hunk #10 succeeded at 2035 (offset -2 lines). patching file src/lib/plugin_apis/lvm.api patching file src/plugins/lvm.h patching file tests/lvm_dbus_tests.py patching file tests/lvm_test.py Patch #3 (0004-Fix-default-key-size-for-non-XTS-ciphers.patch): + echo 'Patch #3 (0004-Fix-default-key-size-for-non-XTS-ciphers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/plugins/crypto.c patching file src/plugins/crypto.h patching file tests/crypto_test.py + echo 'Patch #4 (0005-Add-workarounds-for-some-LVM-test-issues.patch):' Patch #4 (0005-Add-workarounds-for-some-LVM-test-issues.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/lvm_dbus_tests.py patching file tests/lvm_test.py patching file tests/lvm_dbus_tests.py patching file tests/lvm_test.py patching file tests/lvm_dbus_tests.py patching file tests/lvm_test.py + echo 'Patch #5 (0006-Fix-vdo-stats-calculation.patch):' Patch #5 (0006-Fix-vdo-stats-calculation.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/plugins/vdo_stats.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GDdide + 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 libblockdev-2.24 + autoreconf -ivf autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 274. autoreconf: error: aclocal failed with exit status: 2 error: Bad exit status from /var/tmp/rpm-tmp.GDdide (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GDdide (%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/libblockdev.spec