Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 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/f37-build-680161-76793/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1669161600 Wrote: /builddir/build/SRPMS/device-mapper-persistent-data-0.9.0-8.0.riscv64.fc37.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/f37-build-680161-76793/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1669161600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qyzyxK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thin-provisioning-tools-0.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.9.0.tar.gz + 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 #1 (0001-Update-dependencies.patch):' Patch #1 (0001-Update-dependencies.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .toml_update --fuzz=0 patching file Cargo.toml Patch #15 (0014-cargo-update.patch): + echo 'Patch #15 (0014-cargo-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .backup15 --fuzz=0 patching file Cargo.lock + tar xf /builddir/build/SOURCES/dmpd090-vendor3.tar.gz + mkdir -p .cargo + cat Patch #0 (device-mapper-persistent-data-avoid-strip.patch): + echo '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 + echo 'Patch #9 (0008-thin_dump-Fix-warnings-on-potential-NULL-pointer.patch):' 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 Patch #15 (0014-cargo-update.patch): + echo 'Patch #15 (0014-cargo-update.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .riscv64 --fuzz=0 patching file Cargo.lock Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file Cargo.lock.rej error: Bad exit status from /var/tmp/rpm-tmp.qyzyxK (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qyzyxK (%prep) Child return code was: 1