Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-383727-71925/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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.72.1-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-383727-71925/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=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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.IDQT7w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-7018e24d8fe248596819d2e884761676f3542a04 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-7018e24d8fe248596819d2e884761676f3542a04.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-7018e24d8fe248596819d2e884761676f3542a04 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.72.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.72.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.72.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-Don-t-fail-early-if-try_run-returns-an-error.patch):' Patch #5 (0001-Don-t-fail-early-if-try_run-returns-an-error.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bootstrap/download.rs patching file src/bootstrap/run.rs patching file src/bootstrap/test.rs + echo 'Patch #6 (0001-Skip-ExpandYamlAnchors-when-the-config-is-missing.patch):' Patch #6 (0001-Skip-ExpandYamlAnchors-when-the-config-is-missing.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/bootstrap/test.rs Hunk #1 succeeded at 1147 (offset -3 lines). + echo 'Patch #7 (0001-llvm-wrapper-adapt-for-LLVM-API-change.patch):' Patch #7 (0001-llvm-wrapper-adapt-for-LLVM-API-change.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp + echo 'Patch #8 (0002-llvm-wrapper-update-for-LLVM-API-change.patch):' Patch #8 (0002-llvm-wrapper-update-for-LLVM-API-change.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp + echo 'Patch #100 (rustc-1.72.0-disable-libssh2.patch):' Patch #100 (rustc-1.72.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 + echo 'Patch #102 (0001-asm-Stabilize-loongarch64.patch):' Patch #102 (0001-asm-Stabilize-loongarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_ast_lowering/src/asm.rs Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file compiler/rustc_ast_lowering/src/asm.rs.rej patching file src/doc/unstable-book/src/language-features/asm-experimental-arch.md Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 7 out of 7 hunks ignored -- saving rejects to file src/doc/unstable-book/src/language-features/asm-experimental-arch.md.rej error: Bad exit status from /var/tmp/rpm-tmp.IDQT7w (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.IDQT7w (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'\n", 1)] 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 612, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'