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 aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-396172-72216/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/rust-1.76.0-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an8.9-build-396172-72216/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vofv1b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4/dlmalloc/ + cd /builddir/build/BUILD + rm -rf rustc-1.76.0-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.76.0-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.76.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Use-lld-provided-by-system.patch):' Patch #1 (0001-Use-lld-provided-by-system.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/base/wasm.rs patching file compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs patching file compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.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/targets/powerpc64le_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/targets/s390x_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs + echo 'Patch #4 (0001-bootstrap-allow-disabling-target-self-contained.patch):' Patch #4 (0001-bootstrap-allow-disabling-target-self-contained.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file config.example.toml Hunk #1 succeeded at 820 (offset 13 lines). patching file src/bootstrap/src/core/build_steps/compile.rs patching file src/bootstrap/src/core/config/config.rs Hunk #1 succeeded at 579 (offset 46 lines). Hunk #2 succeeded at 588 (offset 46 lines). Hunk #3 succeeded at 1140 (offset 85 lines). Hunk #4 succeeded at 1826 (offset 221 lines). patching file src/bootstrap/src/lib.rs Hunk #1 succeeded at 1319 (offset -16 lines). + echo 'Patch #6 (rustc-1.76.0-unbundle-sqlite.patch):' Patch #6 (rustc-1.76.0-unbundle-sqlite.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 #100 (rustc-1.76.0-disable-libssh2.patch):' Patch #100 (rustc-1.76.0-disable-libssh2.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tools/cargo/Cargo.lock Hunk #2 succeeded at 2111 (offset -1 lines). patching file src/tools/cargo/Cargo.toml + echo 'Patch #102 (0001-rustc-Convert-to-ABI-v0.patch):' Patch #102 (0001-rustc-Convert-to-ABI-v0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_codegen_ssa/src/back/metadata.rs Hunk #1 succeeded at 326 (offset 5 lines). patching file compiler/rustc_codegen_ssa/src/target_features.rs Hunk #1 FAILED at 354. 1 out of 1 hunk FAILED -- saving rejects to file compiler/rustc_codegen_ssa/src/target_features.rs.rej patching file compiler/rustc_llvm/build.rs Hunk #1 succeeded at 261 (offset 6 lines). patching file compiler/rustc_target/src/abi/call/loongarch.rs Hunk #1 succeeded at 332 (offset 8 lines). patching file compiler/rustc_target/src/spec/targets/loongarch64_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/targets/loongarch64_unknown_none.rs error: Bad exit status from /var/tmp/rpm-tmp.Vofv1b (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Vofv1b (%prep) Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --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 aarch64 --nodeps /builddir/build/SPECS/rust.spec'