Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 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.10-build-472179-74003/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mxqka4wy:/etc/resolv.conf']) 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.80.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 aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an8.10-build-472179-74003/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'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mxqka4wy:/etc/resolv.conf']) 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.FNXj80 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-1.80.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.80.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.80.1-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 Hunk #1 succeeded at 85 (offset -6 lines). 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 patching file compiler/rustc_target/src/spec/targets/aarch64_unknown_none_softfloat.rs patching file compiler/rustc_target/src/spec/targets/aarch64_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 873 (offset 4 lines). patching file src/bootstrap/src/core/build_steps/compile.rs patching file src/bootstrap/src/core/config/config.rs Hunk #1 succeeded at 565 (offset -21 lines). Hunk #2 succeeded at 574 (offset -21 lines). Hunk #3 succeeded at 1145 (offset -9 lines). patching file src/bootstrap/src/lib.rs Hunk #1 succeeded at 1409 (offset 61 lines). + echo 'Patch #7 (0001-Make-issue-122805.rs-big-endian-compatible.patch):' Patch #7 (0001-Make-issue-122805.rs-big-endian-compatible.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tests/codegen/issues/issue-122805.rs Patch #100 (rustc-1.80.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.80.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 2192 (offset 1 line). patching file src/tools/cargo/Cargo.toml + echo 'Patch #101 (0001-rustc-Convert-to-ABI-v0.patch):' Patch #101 (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 332 (offset 1 line). patching file compiler/rustc_llvm/build.rs patching file compiler/rustc_target/src/abi/call/loongarch.rs 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 patching file compiler/rustc_target/src/target_features.rs Hunk #1 succeeded at 374 (offset -2 lines). Patch #102 (0002-deps-Sync-to-ABI-v0.patch): + echo 'Patch #102 (0002-deps-Sync-to-ABI-v0.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file vendor/libc-0.2.150/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs patching file vendor/libc-0.2.150/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs can't find file to patch at input line 185 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/vendor/libc-0.2.151/src/unix/linux_like/linux/arch/generic/mod.rs b/vendor/libc-0.2.151/src/unix/linux_like/linux/arch/generic/mod.rs |index b8e459631..83f97fbd9 100644 |--- a/vendor/libc-0.2.151/src/unix/linux_like/linux/arch/generic/mod.rs |+++ b/vendor/libc-0.2.151/src/unix/linux_like/linux/arch/generic/mod.rs -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 202 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs b/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs |index dc191f51f..4a6b96369 100644 |--- a/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs |+++ b/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 273 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs b/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs |index 3e1719a76..f0b66598c 100644 |--- a/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs |+++ b/vendor/libc-0.2.151/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs -------------------------- File to patch: Skip this patch? [y] Skipping patch. 6 out of 6 hunks ignored patching file vendor/libc-0.2.153/src/unix/linux_like/linux/gnu/b64/loongarch64/align.rs patching file vendor/libc-0.2.153/src/unix/linux_like/linux/gnu/b64/loongarch64/mod.rs patching file vendor/libffi-sys-2.3.0/libffi/src/loongarch64/ffi.c patching file vendor/libffi-sys-2.3.0/libffi/src/loongarch64/ffitarget.h patching file vendor/libffi-sys-2.3.0/libffi/src/loongarch64/sysv.S patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/general.rs patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/if_ether.rs patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/io_uring.rs patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/net.rs patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/netlink.rs patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/prctl.rs patching file vendor/linux-raw-sys-0.4.12/src/loongarch64/system.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/general.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/if_ether.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/io_uring.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/net.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/netlink.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/prctl.rs patching file vendor/linux-raw-sys-0.4.13/src/loongarch64/system.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/general.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/if_ether.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/io_uring.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/net.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/netlink.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/prctl.rs patching file vendor/linux-raw-sys-0.4.5/src/loongarch64/system.rs can't find file to patch at input line 17327 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/vendor/nix-0.26.4/src/sys/ioctl/linux.rs b/vendor/nix-0.26.4/src/sys/ioctl/linux.rs |index 0c0a20905..669d51790 100644 |--- a/vendor/nix-0.26.4/src/sys/ioctl/linux.rs |+++ b/vendor/nix-0.26.4/src/sys/ioctl/linux.rs -------------------------- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored error: Bad exit status from /var/tmp/rpm-tmp.FNXj80 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.FNXj80 (%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 610, 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'