Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-430863-72656/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0oqnz4dr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0oqnz4dr:/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', '1372a80928e848fc984035e183501bff', '-D', '/var/lib/mock/dist-an23-build-python3.11-430863-72656/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0oqnz4dr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 39: %{?wasm_targets} %{?extra_targets} warning: Macro expanded in comment on line 190: %{bootstrap_version} warning: Macro expanded in comment on line 488: %{?rhel} warning: Macro expanded in comment on line 977: %{?rhel} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1717545600 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 190: %{bootstrap_version} Macro expanded in comment on line 488: %{?rhel} Macro expanded in comment on line 977: %{?rhel} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-python3.11-430863-72656/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0oqnz4dr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0oqnz4dr:/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', 'b6cfe4e550f541da838705d4961cef97', '-D', '/var/lib/mock/dist-an23-build-python3.11-430863-72656/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0oqnz4dr:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rust.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: Macro expanded in comment on line 39: %{?wasm_targets} %{?extra_targets} warning: Macro expanded in comment on line 190: %{bootstrap_version} warning: Macro expanded in comment on line 488: %{?rhel} warning: Macro expanded in comment on line 977: %{?rhel} Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1717545600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.anT9V9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4/dlmalloc/ + 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):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #1 (0001-Use-lld-provided-by-system.patch): 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 Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch): + echo 'Patch #3 (0001-Let-environment-variables-override-some-default-CPUs.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/targets/powerpc64le_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/targets/s390x_unknown_linux_gnu.rs patching file compiler/rustc_target/src/spec/targets/x86_64_unknown_linux_gnu.rs Patch #4 (0001-bootstrap-allow-disabling-target-self-contained.patch): + echo 'Patch #4 (0001-bootstrap-allow-disabling-target-self-contained.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config.example.toml 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). Patch #6 (rustc-1.77.0-unbundle-sqlite.patch): + echo '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 Patch #7 (120529.patch): + echo '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):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 Patch #8 (121088.patch): 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 + 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.UdoRTD + 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.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=94 + '[' 94 -ge 1 -a 94 -lt 80 ']' + /usr/bin/make -O -j80 V=1 VERBOSE=1 --quiet -C /builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4 MALLOC_IMPL=emmalloc CC=clang AR=llvm-ar NM=llvm-nm find: 'build/wasm32-wasi': No such file or directory + test -r /usr/lib64/clang/17/lib/libclang_rt.profile-x86_64.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 -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 + '[' '-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:18:17.606603948 +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:18:17.634604846 +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=x86_64-Anolis-linux --host=x86_64-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=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --set target.x86_64-unknown-linux-gnu.linker=gcc --set target.x86_64-unknown-linux-gnu.cc=gcc --set target.x86_64-unknown-linux-gnu.cxx=g++ --set target.x86_64-unknown-linux-gnu.ar=ar --set target.x86_64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --set target.x86_64-unknown-linux-gnu.profiler=/usr/lib64/clang/17/lib/libclang_rt.profile-x86_64.a --set target.wasm32-wasi.wasi-root=/builddir/build/BUILD/wasi-libc-03b228e46bb02fcc5927253e1b8ad715072b1ae4/sysroot --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=x86_64-Anolis-linux', '--host=x86_64 ... configure: build.build := x86_64-unknown-linux-gnu configure: build.host := ['x86_64-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 := ['x86_64-unknown-linux-gnu'] configure: target.x86_64-unknown-linux-gnu.linker := gcc configure: target.x86_64-unknown-linux-gnu.cc := gcc configure: target.x86_64-unknown-linux-gnu.cxx := g++ configure: target.x86_64-unknown-linux-gnu.ar := ar configure: target.x86_64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: target.x86_64-unknown-linux-gnu.profiler := /usr/lib64/clang/17/lib/li ... configure: target.wasm32-wasi.wasi-root := /builddir/build/BUILD/wasi-libc-03b228 ... 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.x86_64-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 unicode-ident v1.0.12 Compiling version_check v0.9.4 Compiling typenum v1.17.0 Compiling memchr v2.7.1 Compiling libc v0.2.151 Compiling rustix v0.38.28 Compiling serde v1.0.195 Compiling regex-syntax v0.8.2 Compiling cc v1.0.73 Compiling crossbeam-utils v0.8.18 Compiling pkg-config v0.3.28 Compiling bitflags v2.4.1 Compiling linux-raw-sys v0.4.12 Compiling anstyle v1.0.4 Compiling clap_lex v0.6.0 Compiling heck v0.4.1 Compiling log v0.4.20 Compiling same-file v1.0.6 Compiling semver v1.0.21 Compiling serde_json v1.0.111 Compiling itoa v1.0.10 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/src/bootstrap) Compiling cpufeatures v0.2.12 Compiling ryu v1.0.16 Compiling termcolor v1.4.0 Compiling once_cell v1.19.0 Compiling home v0.5.9 Compiling walkdir v2.4.0 Compiling clap_builder v4.4.12 Compiling generic-array v0.14.7 Compiling cmake v0.1.48 Compiling crossbeam-epoch v0.9.17 Compiling aho-corasick v1.1.2 Compiling object v0.32.2 Compiling quote v1.0.35 Compiling lzma-sys v0.1.20 Compiling crossbeam-deque v0.8.4 Compiling filetime v0.2.23 Compiling syn v2.0.48 Compiling xz2 v0.1.7 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling digest v0.10.7 Compiling regex-automata v0.4.3 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) Finished dev [unoptimized] target(s) in 16.92s WARNING: The `change-id` is missing in the `config.toml`. This means that you will not be able to track the major changes made to the bootstrap configurations. NOTE: to silence this warning, add `change-id = 102579` at the top of `config.toml` Building stage0 library artifacts (x86_64-unknown-linux-gnu) Compiling compiler_builtins v0.1.105 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/core) Compiling libc v0.2.150 Compiling cc v1.0.79 Compiling memchr v2.5.0 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/std) Compiling profiler_builtins v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/profiler_builtins) Compiling rustc-std-workspace-core v1.99.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/alloc) Compiling cfg-if v1.0.0 Compiling adler v1.0.2 Compiling rustc-demangle v0.1.23 Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/unwind) Compiling rustc-std-workspace-alloc v1.99.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/panic_unwind) Compiling panic_abort v0.0.0 (/builddir/build/BUILD/rustc-1.77.2-src/library/panic_abort) Compiling gimli v0.28.0 Compiling hashbrown v0.14.3 Compiling std_detect v0.1.5 (/builddir/build/BUILD/rustc-1.77.2-src/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.7.1 Compiling object v0.32.2 Compiling addr2line v0.21.0