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-an23.2-build-430870-73034/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.ls1ia07u:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ls1ia07u:/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', '64c0abf8d33f47c5b807ddaead669d58', '-D', '/var/lib/mock/dist-an23.2-build-430870-73034/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ls1ia07u:/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 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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 39: %{?wasm_targets} %{?extra_targets} warning: Macro expanded in comment on line 208: %{bootstrap_version} warning: Macro expanded in comment on line 506: %{?rhel} warning: Macro expanded in comment on line 1002: %{?rhel} Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1717027200 Wrote: /builddir/build/SRPMS/rust-1.77.2-1.an23.src.rpm RPM build warnings: Macro expanded in comment on line 39: %{?wasm_targets} %{?extra_targets} Macro expanded in comment on line 208: %{bootstrap_version} Macro expanded in comment on line 506: %{?rhel} Macro expanded in comment on line 1002: %{?rhel} 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.2-build-430870-73034/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.ls1ia07u:/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']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ls1ia07u:/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', 'd71c6b253e3a49ed81fcdf109be1e4b7', '-D', '/var/lib/mock/dist-an23.2-build-430870-73034/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ls1ia07u:/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 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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 39: %{?wasm_targets} %{?extra_targets} warning: Macro expanded in comment on line 208: %{bootstrap_version} warning: Macro expanded in comment on line 506: %{?rhel} warning: Macro expanded in comment on line 1002: %{?rhel} Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1717027200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.z5T558 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-1.77.2-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.77.2-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.77.2-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 Hunk #1 succeeded at 88 (offset -3 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 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 + 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 -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 + 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 -f -p1 --fuzz=0 patching file config.example.toml Hunk #1 succeeded at 829 (offset 22 lines). patching file src/bootstrap/src/core/build_steps/compile.rs Hunk #1 succeeded at 326 (offset 24 lines). patching file src/bootstrap/src/core/config/config.rs Hunk #1 succeeded at 577 (offset 44 lines). Hunk #2 succeeded at 586 (offset 44 lines). Hunk #3 succeeded at 1139 (offset 84 lines). Hunk #4 succeeded at 1832 (offset 227 lines). patching file src/bootstrap/src/lib.rs Hunk #1 succeeded at 1344 (offset 9 lines). + echo 'Patch #6 (rustc-1.77.0-unbundle-sqlite.patch):' Patch #6 (rustc-1.77.0-unbundle-sqlite.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 + echo 'Patch #7 (120529.patch):' Patch #7 (120529.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/run-make/rust-lld-custom-target/custom-target.json patching file tests/run-make/rustdoc-target-spec-json-path/target.json patching file tests/run-make/target-specs/my-awesome-platform.json patching file tests/run-make/target-specs/my-x86_64-unknown-linux-gnu-platform.json + echo 'Patch #8 (121088.patch):' Patch #8 (121088.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/llvm_util.rs Hunk #1 succeeded at 265 (offset -1 lines). patching file tests/ui/asm/x86_64/evex512-implicit-feature.rs + echo 'Patch #9 (0001-bootstrap-move-all-of-rustc-s-flags-to-rustc_cargo.patch):' Patch #9 (0001-bootstrap-move-all-of-rustc-s-flags-to-rustc_cargo.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/bootstrap/src/core/build_steps/check.rs patching file src/bootstrap/src/core/build_steps/compile.rs Hunk #1 succeeded at 902 (offset 4 lines). Hunk #2 succeeded at 956 (offset 4 lines). Hunk #3 succeeded at 972 (offset 4 lines). Hunk #4 succeeded at 998 (offset 4 lines). patching file src/bootstrap/src/core/build_steps/doc.rs patching file src/bootstrap/src/core/build_steps/test.rs Patch #10 (0001-Fix-UI-tests-with-dist-vendored-dependencies.patch): + echo 'Patch #10 (0001-Fix-UI-tests-with-dist-vendored-dependencies.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/tools/compiletest/src/runtest.rs patching file tests/ui/issues/issue-21763.rs + echo 'Patch #11 (0001-remove-stderr-per-bitwidth-from-some-tests.patch):' Patch #11 (0001-remove-stderr-per-bitwidth-from-some-tests.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/ui/consts/const-mut-refs/mut_ref_in_final_dynamic_check.64bit.stderr patching file tests/ui/consts/const-mut-refs/mut_ref_in_final_dynamic_check.rs patching file tests/ui/consts/const-mut-refs/mut_ref_in_final_dynamic_check.stderr (renamed from tests/ui/consts/const-mut-refs/mut_ref_in_final_dynamic_check.32bit.stderr) + echo 'Patch #12 (0001-test-don-t-compress-test-registry-crates.patch):' Patch #12 (0001-test-don-t-compress-test-registry-crates.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 -d src/tools/cargo patching file crates/cargo-test-support/src/registry.rs patching file tests/testsuite/alt_registry.rs patching file tests/testsuite/cargo_add/locked_unchanged/in/Cargo.lock patching file tests/testsuite/cargo_add/lockfile_updated/in/Cargo.lock patching file tests/testsuite/cargo_add/lockfile_updated/out/Cargo.lock patching file tests/testsuite/cargo_remove/update_lock_file/in/Cargo.lock patching file tests/testsuite/cargo_remove/update_lock_file/out/Cargo.lock + echo 'Patch #13 (0001-The-multiple_unsafe_ops_per_block-test-needs-asm.patch):' Patch #13 (0001-The-multiple_unsafe_ops_per_block-test-needs-asm.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 -d src/tools/clippy patching file tests/ui/multiple_unsafe_ops_per_block.rs patching file tests/ui/multiple_unsafe_ops_per_block.stderr + echo 'Patch #14 (0001-Step-all-bootstrap-cfgs-forward.patch):' Patch #14 (0001-Step-all-bootstrap-cfgs-forward.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/tools/coverage-dump/src/covfun.rs + 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.77.2-src# ./src/etc/rust-gdb + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + find ./vendor/curl-sys-0.4.63+curl-8.1.2/curl/ ./vendor/curl-sys/curl/ -mindepth 1 -delete + find ./vendor/jemalloc-sys/jemalloc/ ./vendor/tikv-jemalloc-sys/jemalloc/ -mindepth 1 -delete + find ./vendor/libffi-sys/libffi/ -mindepth 1 -delete + find ./vendor/libmimalloc-sys/c_src/mimalloc/ -mindepth 1 -delete + find ./vendor/libsqlite3-sys/sqlite3/ ./vendor/libsqlite3-sys/sqlcipher/ -mindepth 1 -delete + find ./vendor/libssh2-sys/libssh2/ -mindepth 1 -delete + find ./vendor/libz-sys-1.1.9/src/zlib/ ./vendor/libz-sys/src/zlib/ ./vendor/libz-sys-1.1.9/src/zlib-ng/ ./vendor/libz-sys/src/zlib-ng/ -mindepth 1 -delete + find ./vendor/lzma-sys/xz-5.2/ -mindepth 1 -delete + find ./vendor/openssl-src/openssl/ -mindepth 1 -delete + find ./vendor/libgit2-sys/libgit2/ -mindepth 1 -delete + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/src/core/build_steps/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 './vendor/equivalent-1.0.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/bumpalo-3.13.0/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/type-map/src/lib.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--) mode of './vendor/tinytemplate/benches/benchmarks.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/gix-pack/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative/tests/derive-clone.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative/tests/derive-hash.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative/tests/derive-default-bounds.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 './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--) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.s8xhEj + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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.77.2-src + export RUSTC_TARGET_CPU_X86_64=x86-64 LIBSQLITE3_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 + RUSTC_TARGET_CPU_X86_64=x86-64 + LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=80 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=128 + '[' 128 -ge 1 -a 128 -lt 80 ']' + test -r /usr/lib64/clang/17/lib/libclang_rt.profile-aarch64.a + 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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure --- ./vendor/tikv-jemalloc-sys/configure/configure.backup 2024-04-10 02:57:21.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys/configure/configure 2025-04-24 10:22:10.280674546 +0800 @@ -2140,7 +2140,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure --- ./vendor/jemalloc-sys/configure/configure.backup 2024-04-10 02:57:20.000000000 +0800 +++ ./vendor/jemalloc-sys/configure/configure 2025-04-24 10:22:10.310674708 +0800 @@ -2140,7 +2140,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./vendor/jemalloc-sys/configure/configure + diff -u ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + mv ./vendor/jemalloc-sys/configure/configure.backup ./vendor/jemalloc-sys/configure/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-option-checking --libdir=/usr/lib --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu --set target.aarch64-unknown-linux-gnu.linker=gcc --set target.aarch64-unknown-linux-gnu.cc=gcc --set target.aarch64-unknown-linux-gnu.cxx=g++ --set target.aarch64-unknown-linux-gnu.ar=ar --set target.aarch64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --set target.aarch64-unknown-linux-gnu.profiler=/usr/lib64/clang/17/lib/libclang_rt.profile-aarch64.a --python=/usr/bin/python3 --local-rust-root=/usr --set build.rustfmt=/bin/true --llvm-root=/usr --enable-llvm-link-shared --disable-llvm-static-stdcpp --disable-rpath --debuginfo-level=2 --set rust.codegen-units=1 --set rust.lto=thin --set build.build-stage=2 --set build.doc-stage=2 --set build.install-stage=2 --set build.test-stage=2 --set build.optimized-compiler-builtins=false --enable-extended --tools=cargo,clippy,rls,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable --release-description=1.77.2-1.an23 configure: processing command line configure: configure: build.configure-args := ['--build=aarch64-Anolis-linux', '--host=aarch ... configure: build.build := aarch64-unknown-linux-gnu configure: build.host := ['aarch64-unknown-linux-gnu'] configure: install.prefix := /usr configure: install.bindir := /usr/bin configure: install.sysconfdir := /etc configure: install.datadir := /usr/share configure: install.libdir := /usr/lib configure: install.localstatedir := /var configure: install.mandir := /usr/share/man configure: install.infodir := /usr/share/info configure: build.target := ['aarch64-unknown-linux-gnu'] configure: target.aarch64-unknown-linux-gnu.linker := gcc configure: target.aarch64-unknown-linux-gnu.cc := gcc configure: target.aarch64-unknown-linux-gnu.cxx := g++ configure: target.aarch64-unknown-linux-gnu.ar := ar configure: target.aarch64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: target.aarch64-unknown-linux-gnu.profiler := /usr/lib64/clang/17/lib/l ... configure: build.rustfmt := /bin/true configure: rust.codegen-units := 1 configure: rust.lto := thin configure: build.build-stage := 2 configure: build.doc-stage := 2 configure: build.install-stage := 2 configure: build.test-stage := 2 configure: build.optimized-compiler-builtins := False configure: build.python := /usr/bin/python3 configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: target.aarch64-unknown-linux-gnu.llvm-config := /usr/bin/llvm-config configure: llvm.link-shared := True configure: llvm.static-libstdcpp := False configure: rust.rpath := False configure: rust.debuginfo-level := 2 configure: build.extended := True configure: build.tools := ['cargo', 'clippy', 'rls', 'rust-analyzer', 'r ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: rust.description := 1.77.2-1.an23 configure: profile := dist WARNING: localstatedir will be ignored WARNING: infodir will be ignored configure: configure: writing `config.toml` in current directory configure: configure: run `python /builddir/build/BUILD/rustc-1.77.2-src/x.py --help` + PROFRAW=/builddir/build/BUILD/rustc-1.77.2-src/build/profiles + PROFDATA=/builddir/build/BUILD/rustc-1.77.2-src/build/rustc.profdata + mkdir -p /builddir/build/BUILD/rustc-1.77.2-src/build/profiles + /usr/bin/python3 ./x.py build -j 80 sysroot --rust-profile-generate=/builddir/build/BUILD/rustc-1.77.2-src/build/profiles Building bootstrap Compiling proc-macro2 v1.0.76 Compiling cfg-if v1.0.0 Compiling libc v0.2.151 Compiling unicode-ident v1.0.12 Compiling memchr v2.7.1 Compiling typenum v1.17.0 Compiling version_check v0.9.4 Compiling regex-syntax v0.8.2 Compiling rustix v0.38.28 Compiling crossbeam-utils v0.8.18 Compiling serde v1.0.195 Compiling cc v1.0.73 Compiling linux-raw-sys v0.4.12 Compiling bitflags v2.4.1 Compiling pkg-config v0.3.28 Compiling heck v0.4.1 Compiling clap_lex v0.6.0 Compiling anstyle v1.0.4 Compiling log v0.4.20 Compiling same-file v1.0.6 Compiling serde_json v1.0.111 Compiling semver v1.0.21 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/src/bootstrap) Compiling ryu v1.0.16 Compiling itoa v1.0.10 Compiling home v0.5.9 Compiling once_cell v1.19.0 Compiling termcolor v1.4.0 Compiling walkdir v2.4.0 Compiling clap_builder v4.4.12 Compiling generic-array v0.14.7 Compiling cmake v0.1.48 Compiling aho-corasick v1.1.2 Compiling object v0.32.2 Compiling crossbeam-epoch v0.9.17 Compiling quote v1.0.35 Compiling lzma-sys v0.1.20 Compiling syn v2.0.48 Compiling filetime v0.2.23 Compiling cpufeatures v0.2.12 Compiling crossbeam-deque v0.8.4 Compiling xz2 v0.1.7 Compiling regex-automata v0.4.3 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling digest v0.10.7 Compiling sha2 v0.10.8 Compiling xattr v1.2.0 Compiling fd-lock v4.0.2 Compiling tar v0.4.40 Compiling toml v0.5.11 Compiling clap_derive v4.4.7 Compiling serde_derive v1.0.195 Compiling bstr v1.9.0 Compiling globset v0.4.14 Compiling opener v0.5.2 Compiling ignore v0.4.21 Compiling clap v4.4.13 Compiling clap_complete v4.4.6 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.77.2-src/src/tools/build_helper)