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.5-build-572179-92788/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']) 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=1787702400 Wrote: /builddir/build/SRPMS/rust-1.94.0-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.5-build-572179-92788/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']) 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=1787702400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pMmfaO + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/anolis/gpgverify --keyring=/builddir/build/SOURCES/rust-key.gpg.ascii --signature=/builddir/build/SOURCES/rustc-1.94.0-src.tar.xz.asc --data=/builddir/build/SOURCES/rustc-1.94.0-src.tar.xz gpgv: Signature made Fri Mar 6 02:25:31 2026 CST gpgv: using RSA key 85AB96E6FA1BE5FE gpgv: Good signature from "Rust Language (Tag and Release Signing Key) " + cd /builddir/build/BUILD + rm -rf rustc-1.94.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.94.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.94.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 patching file compiler/rustc_target/src/spec/targets/x86_64_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 -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 bootstrap.example.toml Hunk #1 succeeded at 1130 (offset 28 lines). patching file src/bootstrap/src/core/build_steps/compile.rs Hunk #1 succeeded at 377 (offset 7 lines). patching file src/bootstrap/src/core/config/config.rs Hunk #1 succeeded at 883 (offset 6 lines). Hunk #2 succeeded at 941 (offset 6 lines). patching file src/bootstrap/src/core/config/toml/target.rs patching file src/bootstrap/src/lib.rs + echo 'Patch #7 (0001-only-copy-rustlib-into-stage0-sysroot.patch):' Patch #7 (0001-only-copy-rustlib-into-stage0-sysroot.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 831 (offset 20 lines). + echo 'Patch #8 (0001-bootstrap-always-propagate-CARGO_TARGET_-host-_LINKE.patch):' Patch #8 (0001-bootstrap-always-propagate-CARGO_TARGET_-host-_LINKE.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/bootstrap/src/core/builder/cargo.rs Hunk #2 succeeded at 306 (offset -4 lines). Hunk #3 succeeded at 323 (offset -4 lines). + echo 'Patch #9 (0001-Update-amdgpu-data-layout.patch):' Patch #9 (0001-Update-amdgpu-data-layout.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/context.rs patching file compiler/rustc_target/src/spec/targets/amdgcn_amd_amdhsa.rs + echo 'Patch #10 (0002-Avoid-passing-addrspacecast-to-lifetime-intrinsics.patch):' Patch #10 (0002-Avoid-passing-addrspacecast-to-lifetime-intrinsics.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/builder.rs Hunk #1 succeeded at 1773 (offset -15 lines). patching file compiler/rustc_codegen_llvm/src/llvm/ffi.rs Hunk #1 succeeded at 1959 (offset -8 lines). patching file compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp Hunk #1 succeeded at 1745 (offset -15 lines). patching file tests/codegen-llvm/amdgpu-addrspacecast.rs + echo 'Patch #11 (0003-Don-t-use-evex512-with-LLVM-22.patch):' Patch #11 (0003-Don-t-use-evex512-with-LLVM-22.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_codegen_llvm/src/llvm_util.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.94.0-src# ./src/etc/rust-gdb + rm -rf src/gcc + rm -rf src/tools/enzyme + rm -rf src/tools/rustc-perf/collector/compile-benchmarks/ src/tools/rustc-perf/collector/runtime-benchmarks/ + find ./vendor/curl-sys-0.4.79+curl-8.12.0/curl/ ./vendor/curl-sys-0.4.84+curl-8.17.0/curl/ -mindepth 1 -delete + find ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/jemalloc/ ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/jemalloc/ ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/jemalloc/ ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/jemalloc/ -mindepth 1 -delete + find ./vendor/libffi-sys-4.1.0/libffi/ -mindepth 1 -delete + find ./vendor/libmimalloc-sys-0.1.44/c_src/mimalloc/ -mindepth 1 -delete + find ./vendor/libsqlite3-sys-0.25.2/sqlcipher/ ./vendor/libsqlite3-sys-0.31.0/sqlcipher/ ./vendor/libsqlite3-sys-0.33.0/sqlcipher/ ./vendor/libsqlite3-sys-0.36.0/sqlcipher/ -mindepth 1 -delete + find ./vendor/libssh2-sys-0.3.1/libssh2/ -mindepth 1 -delete + find ./vendor/libz-sys-1.1.21/src/zlib/ ./vendor/libz-sys-1.1.23/src/zlib/ ./vendor/libz-sys-1.1.21/src/zlib-ng/ ./vendor/libz-sys-1.1.23/src/zlib-ng/ -mindepth 1 -delete + find ./vendor/lzma-sys-0.1.20/xz-5.2/ -mindepth 1 -delete + find ./vendor/openssl-src-111.28.2+1.1.1w/openssl/ ./vendor/openssl-src-300.5.0+3.5.0/openssl/ ./vendor/openssl-src-300.5.4+3.5.4/openssl/ -mindepth 1 -delete + find ./vendor/capstone-sys-0.18.0/capstone/ -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 './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-no-stdlib-2.0.4/src/allocated_memory/index_macro.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-no-stdlib-2.0.4/src/bin/tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-no-stdlib-2.0.4/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-no-stdlib-2.0.4/tests/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-stdlib-0.2.2/src/bin/tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-stdlib-0.2.2/src/heap_alloc.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-stdlib-0.2.2/src/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/alloc-stdlib-0.2.2/tests/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/bin/test_threading.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/bin/test_broccoli.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/bin/brotli.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/bin/tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/bin/integration_tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/bin/test_custom_dict.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/backward_references/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/backward_references/hash_to_binary_tree.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/backward_references/benchmark.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/backward_references/hq.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/backward_references/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/command.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/encode.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/multithreading.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/dictionary_hash.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/metablock.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/util.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/utf8_util.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/worker_pool.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/brotli_bit_stream.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/histogram.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/vectorization.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/reader.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/writer.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/cluster.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/block_splitter.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/compress_fragment_two_pass.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/constants.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/static_dict.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/block_split.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/compress_fragment.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/literal_cost.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/bit_cost.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/enc/static_dict_lut.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/ffi/multicompress/mod.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/ffi/multicompress/test.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/ffi/compressor.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-3.3.4/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/brotli-decompressor-2.3.4/src/bin/tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/bumpalo-3.16.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gix-pack-0.57.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gix-pack-0.64.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/ipnet_serde.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/mask.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/parser.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/ipnet_schemars.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/ipnet.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ipnet-2.10.0/src/ipext.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/process-wrap-8.2.1/tests/multiproc_helper.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/quinn-0.11.3/src/tests.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ratatui-0.29.0/src/text/line.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/ratatui-0.29.0/src/text/text.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/benches/benchmarks.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/src/template.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/src/instruction.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/src/compiler.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/src/error.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/tinytemplate-1.2.1/src/syntax.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization-0.1.22/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization-0.1.23/src/no_std_prelude.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.F6pQq4 + 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.94.0-src + export RUSTC_TARGET_CPU_X86_64=x86-64-v2 LIBSSH2_SYS_USE_PKG_CONFIG=1 + RUSTC_TARGET_CPU_X86_64=x86-64-v2 + LIBSSH2_SYS_USE_PKG_CONFIG=1 + 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' ./src/llvm-project/llvm/configure + diff -u ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + mv ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./src/llvm-project/llvm/configure + diff -u ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + mv ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./src/llvm-project/llvm/configure + diff -u ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + mv ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/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' ./src/llvm-project/llvm/configure + diff -u ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + mv ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/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'\''"#' ./src/llvm-project/llvm/configure + diff -u ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/configure + mv ./src/llvm-project/llvm/configure.backup ./src/llvm-project/llvm/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-0.5.3+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure --- ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup 2026-03-03 07:18:25.000000000 +0800 +++ ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure 2026-08-26 14:14:49.989880992 +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-0.5.3+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/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-0.5.3+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/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-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure --- ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup 2026-03-03 07:18:25.000000000 +0800 +++ ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure 2026-08-26 14:14:50.019881164 +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-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/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-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/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/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/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' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/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/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure --- ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure.backup 2026-03-03 07:18:25.000000000 +0800 +++ ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/configure 2026-08-26 14:14:50.059881393 +0800 @@ -7298,7 +7298,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -16541,7 +16541,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + 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/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/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' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/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/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + diff -u ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure + mv ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/configure.backup ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/zlib/zlib-1.3.1/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/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure --- ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup 2026-03-03 07:18:25.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure 2026-08-26 14:14:50.089881565 +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-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/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-0.5.4+5.3.0-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/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/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure --- ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup 2026-03-03 07:18:25.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure 2026-08-26 14:14:50.109881679 +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-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/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-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.6.1+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7/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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./src/llvm-project/llvm/cmake/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./src/llvm-project/llvm/cmake/config.guess ++ basename ./src/llvm-project/llvm/cmake/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./src/llvm-project/llvm/cmake/config.guess '/usr/lib/rpm/anolis/config.guess' -> './src/llvm-project/llvm/cmake/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld"~' ./vendor/mysqlclient-src-0.1.3+9.2.0/source/extra/libedit/libedit-20240808-3.1/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 --docdir=/usr/share/doc/rust --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=true --set target.aarch64-unknown-linux-gnu.optimized-compiler-builtins=true --python=/usr/bin/python3 --local-rust-root=/usr --set build.rustfmt=/bin/true --disable-llvm-static-stdcpp --disable-llvm-bitcode-linker --disable-lld --disable-rpath --debuginfo-level=0 --debuginfo-level-std=2 --set rust.codegen-units-std=1 --set build.jobs=63 --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 --set rust.llvm-tools=false --set rust.verify-llvm-ir=true --enable-extended --tools=cargo,clippy,rust-analyzer,rustdoc,rustfmt,src --enable-vendor --enable-verbose-tests --release-channel=stable --disable-pgo '--release-description=Anolis OS 1.94.0-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: install.docdir := /usr/share/doc/rust 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 := True configure: target.aarch64-unknown-linux-gnu.optimized-compiler-builtins := True configure: build.rustfmt := /bin/true configure: rust.codegen-units-std := 1 configure: build.jobs := 63 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: rust.llvm-tools := False configure: rust.verify-llvm-ir := True configure: build.python := /usr/bin/python3 configure: build.rustc := /usr/bin/rustc configure: build.cargo := /usr/bin/cargo configure: llvm.static-libstdcpp := False configure: rust.llvm-bitcode-linker := False configure: rust.lld := False configure: rust.rpath := False configure: rust.debuginfo-level := 0 configure: rust.debuginfo-level-std := 2 configure: build.extended := True configure: build.tools := ['cargo', 'clippy', 'rust-analyzer', 'rustdoc' ... configure: build.vendor := True configure: rust.verbose-tests := True configure: rust.channel := stable configure: build.description := Anolis OS 1.94.0-1.an23 configure: profile := dist WARNING: localstatedir will be ignored WARNING: infodir will be ignored configure: configure: writing `bootstrap.toml` in current directory configure: configure: run `python3 /builddir/build/BUILD/rustc-1.94.0-src/x.py --help` + /usr/bin/python3 ./x.py build -j '%{ncpus}' sysroot Building bootstrap Compiling libc v0.2.174 Compiling proc-macro2 v1.0.89 Compiling memchr v2.7.6 Compiling unicode-ident v1.0.13 Compiling typenum v1.17.0 Compiling version_check v0.9.5 Compiling shlex v1.3.0 Compiling regex-syntax v0.8.5 Compiling crossbeam-utils v0.8.20 Compiling serde v1.0.215 Compiling pkg-config v0.3.31 Compiling cfg-if v1.0.0 Compiling heck v0.5.0 Compiling anstyle v1.0.10 Compiling clap_lex v0.7.2 Compiling semver v1.0.23 Compiling log v0.4.22 Compiling serde_json v1.0.132 Compiling object v0.37.3 Compiling same-file v1.0.6 Compiling itoa v1.0.11 Compiling ryu v1.0.18 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.94.0-src/src/bootstrap) Compiling termcolor v1.4.1 Compiling home v0.5.11 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.94.0-src/src/build_helper) Compiling walkdir v2.5.0 Compiling cc v1.2.28 Compiling clap_builder v4.5.20 Compiling generic-array v0.14.7 Compiling aho-corasick v1.1.3 Compiling crossbeam-epoch v0.9.18 Compiling quote v1.0.37 Compiling crossbeam-deque v0.8.5 Compiling syn v2.0.87 Compiling cmake v0.1.54 Compiling filetime v0.2.26 Compiling cpufeatures v0.2.15 Compiling tar v0.4.44 Compiling lzma-sys v0.1.20 Compiling regex-automata v0.4.9 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling xz2 v0.1.7 Compiling digest v0.10.7 Compiling sha2 v0.10.8 Compiling toml v0.5.11 Compiling clap_derive v4.5.18 Compiling serde_derive v1.0.215 Compiling bstr v1.10.0 Compiling globset v0.4.15 Compiling opener v0.8.2 Compiling ignore v0.4.23 Compiling clap v4.5.20 Compiling clap_complete v4.5.37 Finished `dev` profile [unoptimized] target(s) in 20.58s error: invalid value '%{ncpus}' for '--jobs ': invalid digit found in string For more information, try '--help'. Build completed unsuccessfully in 0:00:20 error: Bad exit status from /var/tmp/rpm-tmp.F6pQq4 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.F6pQq4 (%build) 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'