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/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-342545-69972/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/rust.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 Wrote: /builddir/build/SRPMS/rust-1.71.1-1.0.1.an8.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/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-342545-69972/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/rust.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OJVVSX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-wasi-sdk-20 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-wasi-sdk-20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-wasi-sdk-20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.71.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.71.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.71.1-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): patching file compiler/rustc_target/src/spec/wasm_base.rs + echo 'Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch):' Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/etc/rust-gdb + echo 'Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch):' Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/powerpc64le_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/s390x_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/x86_64_unknown_linux_gnu.rs + echo 'Patch #4 (0001-Allow-using-external-builds-of-the-compiler-rt-profi.patch):' Patch #4 (0001-Allow-using-external-builds-of-the-compiler-rt-profi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.example.toml patching file library/profiler_builtins/build.rs patching file src/bootstrap/compile.rs patching file src/bootstrap/config.rs + echo 'Patch #5 (0001-bootstrap-config-fix-version-comparison-bug.patch):' Patch #5 (0001-bootstrap-config-fix-version-comparison-bug.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bootstrap/config.rs Hunk #1 succeeded at 1823 (offset 18 lines). Patch #100 (rustc-1.71.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.71.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/cargo/Cargo.lock patching file src/tools/cargo/Cargo.toml Patch #103 (0001-vendor-cc-add-loongarch64-support.patch): + echo 'Patch #103 (0001-vendor-cc-add-loongarch64-support.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vendor/cc/.cargo-checksum.json Hunk #1 FAILED at 1. 1 out of 1 hunk FAILED -- saving rejects to file vendor/cc/.cargo-checksum.json.rej patching file vendor/cc/src/lib.rs Hunk #1 succeeded at 2917 (offset 336 lines). error: Bad exit status from /var/tmp/rpm-tmp.OJVVSX (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OJVVSX (%prep) 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/rust.spec