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-an23-build-python3.11-408194-72637/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.____5wow:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.____5wow:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b3263665d35b42b58c2c9d3ac8b6e730', '-D', '/var/lib/mock/dist-an23-build-python3.11-408194-72637/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.____5wow:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 37: %{?fedora} warning: Macro expanded in comment on line 43: %{?fedora} warning: Macro expanded in comment on line 46: %{?rhel} >= 10 warning: Macro expanded in comment on line 47: %global extra_targets x86_64-unknown-none warning: Macro expanded in comment on line 71: %{?fedora} warning: Macro expanded in comment on line 97: %{?fedora} >= 41 warning: Macro expanded in comment on line 107: %{?rhel} && 0%{?rhel} < 10 warning: Macro expanded in comment on line 113: %{?rhel} warning: Macro expanded in comment on line 233: %{bootstrap_version} warning: Macro expanded in comment on line 576: %{?rhel} warning: Macro expanded in comment on line 1111: %{?rhel} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729123200 Wrote: /builddir/build/SRPMS/rust-1.82.0-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 37: %{?fedora} Macro expanded in comment on line 43: %{?fedora} Macro expanded in comment on line 46: %{?rhel} >= 10 Macro expanded in comment on line 47: %global extra_targets x86_64-unknown-none Macro expanded in comment on line 71: %{?fedora} Macro expanded in comment on line 97: %{?fedora} >= 41 Macro expanded in comment on line 107: %{?rhel} && 0%{?rhel} < 10 Macro expanded in comment on line 113: %{?rhel} Macro expanded in comment on line 233: %{bootstrap_version} Macro expanded in comment on line 576: %{?rhel} Macro expanded in comment on line 1111: %{?rhel} 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-an23-build-python3.11-408194-72637/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.____5wow:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.____5wow:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1114941f6f6f47dda3a42e0a0d3fa922', '-D', '/var/lib/mock/dist-an23-build-python3.11-408194-72637/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.____5wow:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 37: %{?fedora} warning: Macro expanded in comment on line 43: %{?fedora} warning: Macro expanded in comment on line 46: %{?rhel} >= 10 warning: Macro expanded in comment on line 47: %global extra_targets x86_64-unknown-none warning: Macro expanded in comment on line 71: %{?fedora} warning: Macro expanded in comment on line 97: %{?fedora} >= 41 warning: Macro expanded in comment on line 107: %{?rhel} && 0%{?rhel} < 10 warning: Macro expanded in comment on line 113: %{?rhel} warning: Macro expanded in comment on line 233: %{bootstrap_version} warning: Macro expanded in comment on line 576: %{?rhel} warning: Macro expanded in comment on line 1111: %{?rhel} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729123200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0Sd0yC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-b9ef79d7dbd47c6c5bafdae760823467c2f60b70 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wasi-libc-b9ef79d7dbd47c6c5bafdae760823467c2f60b70.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-b9ef79d7dbd47c6c5bafdae760823467c2f60b70 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/wasi-libc-b9ef79d7dbd47c6c5bafdae760823467c2f60b70/dlmalloc/ + cd /builddir/build/BUILD + rm -rf rustc-1.82.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.82.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.82.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 -f -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/base/wasm.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 patching file compiler/rustc_target/src/spec/targets/x86_64_unknown_none.rs Hunk #1 succeeded at 19 (offset 2 lines). patching file compiler/rustc_target/src/spec/targets/x86_64_unknown_uefi.rs Hunk #1 succeeded at 14 (offset -2 lines). + 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/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 Patch #4 (0001-bootstrap-allow-disabling-target-self-contained.patch): + echo 'Patch #4 (0001-bootstrap-allow-disabling-target-self-contained.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.example.toml patching file src/bootstrap/src/core/build_steps/compile.rs patching file src/bootstrap/src/core/config/config.rs patching file src/bootstrap/src/lib.rs Patch #7 (0001-Fix-enabling-wasm-component-ld-to-match-other-tools.patch): + echo 'Patch #7 (0001-Fix-enabling-wasm-component-ld-to-match-other-tools.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/bootstrap/src/core/build_steps/compile.rs Hunk #1 succeeded at 1896 (offset -16 lines). patching file src/bootstrap/src/core/build_steps/dist.rs patching file src/bootstrap/src/core/build_steps/tool.rs patching file src/bootstrap/src/lib.rs Hunk #1 succeeded at 1384 (offset -23 lines). Patch #100 (rustc-1.82.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.82.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/tools/cargo/Cargo.lock Hunk #2 succeeded at 2197 (offset 1 line). patching file src/tools/cargo/Cargo.toml + sed -i.try-python -e '/^try python3 /i try "/usr/bin/python3" "$@"' ./configure + sed -i.rust-src -e s#@BUILDDIR@#/builddir/build/BUILD/rustc-1.82.0-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/