Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-113769-45879/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'e18e6bb7dcba465c9ddc97b965545a08', '-D', '/var/lib/mock/dist-an23-riscv64-build-113769-45879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/device-mapper-persistent-data-0.9.0-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-113769-45879/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4f999372f745446088b9dddd54bde0ba', '-D', '/var/lib/mock/dist-an23-riscv64-build-113769-45879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Xv5kpl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thin-provisioning-tools-0.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/v0.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd thin-provisioning-tools-0.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (device-mapper-persistent-data-avoid-strip.patch):' Patch #0 (device-mapper-persistent-data-avoid-strip.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .avoid_strip --fuzz=0 patching file Makefile.in Hunk #1 succeeded at 290 (offset 28 lines). + echo 'Patch #2 (0001-all-Fix-resource-leaks.patch):' Patch #2 (0001-all-Fix-resource-leaks.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup2 --fuzz=0 patching file base/file_utils.cc patching file thin-provisioning/cache_stream.cc Patch #3 (0002-thin_show_metadata-Fix-out-of-bounds-access.patch): + echo 'Patch #3 (0002-thin_show_metadata-Fix-out-of-bounds-access.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup3 --fuzz=0 patching file thin-provisioning/thin_show_metadata.cc Patch #4 (0003-build-Fix-customized-emitter-linkage.patch): + echo 'Patch #4 (0003-build-Fix-customized-emitter-linkage.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup4 --fuzz=0 patching file contrib/Makefile.in Patch #5 (0004-thin_dump-Fix-leaked-shared-object-handle.patch): + echo 'Patch #5 (0004-thin_dump-Fix-leaked-shared-object-handle.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup5 --fuzz=0 patching file thin-provisioning/shared_library_emitter.cc Patch #6 (0005-thin_show_duplicates-Fix-potential-errors.patch): + echo 'Patch #6 (0005-thin_show_duplicates-Fix-potential-errors.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup6 --fuzz=0 patching file thin-provisioning/thin_show_duplicates.cc Patch #7 (0006-thin_metadata_size-Fix-potential-string-overflow.patch): + echo 'Patch #7 (0006-thin_metadata_size-Fix-potential-string-overflow.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup7 --fuzz=0 patching file thin-provisioning/thin_metadata_size.cc Patch #8 (0007-all-Fix-uninitialized-class-members.patch): + echo 'Patch #8 (0007-all-Fix-uninitialized-class-members.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup8 --fuzz=0 patching file era/restore_emitter.cc patching file thin-provisioning/metadata_dumper.cc patching file thin-provisioning/thin_delta.cc Patch #9 (0008-thin_dump-Fix-warnings-on-potential-NULL-pointer.patch): + echo 'Patch #9 (0008-thin_dump-Fix-warnings-on-potential-NULL-pointer.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup9 --fuzz=0 patching file base/application.cc patching file base/application.h patching file thin-provisioning/thin_dump.cc Patch #10 (0009-build-Remove-unused-sources-from-the-regular-build.patch): + echo 'Patch #10 (0009-build-Remove-unused-sources-from-the-regular-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup10 --fuzz=0 patching file Makefile.in Hunk #4 succeeded at 373 (offset -1 lines). Patch #11 (0010-all-Remove-unreachable-code.patch): + echo 'Patch #11 (0010-all-Remove-unreachable-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup11 --fuzz=0 patching file block-cache/io_engine.cc patching file caching/hint_array.cc Patch #12 (0011-file_utils-Fix-resource-leak.patch): + echo 'Patch #12 (0011-file_utils-Fix-resource-leak.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup12 --fuzz=0 patching file base/file_utils.cc Patch #13 (0012-thin_delta-Clean-up-duplicated-code.patch): + echo 'Patch #13 (0012-thin_delta-Clean-up-duplicated-code.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup13 --fuzz=0 patching file thin-provisioning/thin_delta.cc Patch #14 (0013-build-Remove-lboost_iostreams-linker-flag.patch): + echo 'Patch #14 (0013-build-Remove-lboost_iostreams-linker-flag.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup14 --fuzz=0 patching file Makefile.in + echo 0.9.0-2.an23 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.T7zQJt + umask 022 + cd /builddir/build/BUILD + cd thin-provisioning-tools-0.9.0 + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/device-mapper-persistent-data-0.9.0-2.an23.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-113769-45879/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=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5d716fb47f104eea95507e1066d908fc', '-D', '/var/lib/mock/dist-an23-riscv64-build-113769-45879/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.Ihu8bh + umask 022 + cd /builddir/build/BUILD + cd thin-provisioning-tools-0.9.0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.owv4LI + umask 022 + cd /builddir/build/BUILD + cd thin-provisioning-tools-0.9.0 + autoconf configure.ac:87: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:87: the top level configure.ac:100: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:100: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:100: the top level configure.ac:112: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:112: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:112: the top level configure.ac:123: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:123: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:123: the top level configure.ac:136: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:136: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:136: the top level configure.ac:149: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:149: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:149: the top level configure.ac:157: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:157: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:157: the top level configure.ac:165: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:165: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:165: the top level configure.ac:173: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:173: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:173: the top level + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=riscv64-koji-linux-gnu --build=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-optimisation= configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... Invalid configuration `riscv64-koji-linux-gnu': machine `riscv64-koji' not recognized configure: error: /bin/sh ./autoconf/config.sub riscv64-koji-linux-gnu failed error: Bad exit status from /var/tmp/rpm-tmp.owv4LI (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.owv4LI (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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: # /usr/bin/systemd-nspawn -q -M 5d716fb47f104eea95507e1066d908fc -D /var/lib/mock/dist-an23-riscv64-build-113769-45879/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.fm9gof32:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/device-mapper-persistent-data.spec