Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.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-an23-build-315719-67722/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 setting SOURCE_DATE_EPOCH=1691366400 Wrote: /builddir/build/SRPMS/rust-1.71.1-1.an23.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-an23-build-315719-67722/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 setting SOURCE_DATE_EPOCH=1691366400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uQwhea + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-1.71.1-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.71.1-src.tar.xz + 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):' Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 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 -f -p1 --fuzz=0 patching file src/etc/rust-gdb Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch): + echo 'Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -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 -f -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 -f -p1 --fuzz=0 patching file src/bootstrap/config.rs Hunk #1 succeeded at 1823 (offset 18 lines). + echo 'Patch #101 (rustc-1.71.0-disable-http2.patch):' Patch #101 (rustc-1.71.0-disable-http2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/tools/cargo/Cargo.lock Hunk #2 FAILED at 1953. 1 out of 2 hunks FAILED -- saving rejects to file src/tools/cargo/Cargo.lock.rej patching file src/tools/cargo/Cargo.toml patching file src/tools/cargo/src/cargo/core/package.rs patching file src/tools/cargo/src/cargo/sources/registry/http_remote.rs patching file src/tools/cargo/src/cargo/util/network/mod.rs error: Bad exit status from /var/tmp/rpm-tmp.uQwhea (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.uQwhea (%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 598, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec