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 x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-314097-67462/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 setting SOURCE_DATE_EPOCH=1696809600 Wrote: /builddir/build/SRPMS/rust-1.73.0-1.an23.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-an23-build-314097-67462/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 setting SOURCE_DATE_EPOCH=1696809600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.gTJjwm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-bd950eb128bff337153de217b11270f948d04bb4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wasi-libc-bd950eb128bff337153de217b11270f948d04bb4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-bd950eb128bff337153de217b11270f948d04bb4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/wasi-libc-bd950eb128bff337153de217b11270f948d04bb4/dlmalloc/ + cd /builddir/build/BUILD + rm -rf rustc-1.73.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.73.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.73.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/wasm_base.rs patching file compiler/rustc_target/src/spec/x86_64_unknown_none.rs patching file compiler/rustc_target/src/spec/x86_64_unknown_uefi.rs Patch #2 (rustc-1.70.0-rust-gdb-substitute-path.patch): + echo '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 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 Hunk #1 succeeded at 797 (offset 8 lines). patching file src/bootstrap/compile.rs Hunk #1 succeeded at 251 (offset -12 lines). patching file src/bootstrap/config.rs Hunk #1 succeeded at 542 (offset 1 line). Hunk #2 succeeded at 555 (offset 1 line). Hunk #3 succeeded at 1056 (offset 53 lines). Hunk #4 succeeded at 1610 (offset 81 lines). patching file src/bootstrap/lib.rs Hunk #1 succeeded at 1318 (offset 33 lines). Patch #6 (0001-Skip-ExpandYamlAnchors-when-the-config-is-missing.patch): + echo 'Patch #6 (0001-Skip-ExpandYamlAnchors-when-the-config-is-missing.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/bootstrap/test.rs Hunk #1 succeeded at 1167 (offset -7 lines). Patch #7 (0001-wasi-round-up-the-size-for-aligned_alloc.patch): + echo 'Patch #7 (0001-wasi-round-up-the-size-for-aligned_alloc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file library/std/src/sys/unix/alloc.rs Patch #100 (rustc-1.73.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.73.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/tools/cargo/Cargo.lock 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.73.0-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys-0.4.63+curl-8.1.2/curl/ vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ vendor/tikv-jemalloc-sys/jemalloc/ + rm -rf vendor/libffi-sys/libffi/ + rm -rf vendor/libmimalloc-sys/c_src/mimalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys-0.1.17/xz-5.2/ vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + rm -rf vendor/libgit2-sys/libgit2/ + rm -rf vendor/libssh2-sys/ + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/tool.rs + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './compiler/rustc_codegen_cranelift/y.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/most_simple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/dynamic_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/nested_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/style.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/color.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/formatters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/tests/ansi_term_compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/data.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/grid.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/curve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/filledcurve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/candlestick.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/map.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/errorbar.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/axis.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/traits.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/display.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/key.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot/src/proxy.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gix-pack/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/template.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/instruction.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/compiler.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/error.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/src/syntax.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate/benches/benchmarks.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.27.2/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/equivalent-1.0.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/rayon-core-1.10.1/src/broadcast/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/bumpalo/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yubacT + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd rustc-1.73.0-src + export '%{rustc_target_cpus}' /var/tmp/rpm-tmp.yubacT: line 41: export: `%{rustc_target_cpus}': not a valid identifier error: Bad exit status from /var/tmp/rpm-tmp.yubacT (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.yubacT (%build) 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 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 x86_64 --nodeps /builddir/build/SPECS/rust.spec