Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 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-oc9-build-136869-79350/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) 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 Wrote: /builddir/build/SRPMS/rust-1.80.0-5.oc9.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-oc9-build-136869-79350/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) 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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bAwRnD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-1.80.0-src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rustc-1.80.0-src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.80.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Use-lld-provided-by-system.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.70.0-rust-gdb-substitute-path.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Let-environment-variables-override-some-default-CPUs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/rustc-1.76.0-unbundle-sqlite.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i '/^try python3 /i try /usr/bin/python3 "$@"' ./configure + sed -i 's|@BUILDDIR@|/builddir/build/BUILD/rustc-1.80.0-src|' ./src/etc/rust-gdb + sed -i /LZMA_API_STATIC/d src/bootstrap/src/core/build_steps/tool.rs + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys-0.4.72+curl-8.6.0/curl/ + rm -rf 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/ + rm -rf vendor/libffi-sys-2.3.0/libffi/ + rm -rf vendor/libmimalloc-sys-0.1.37/c_src/mimalloc/ + rm -rf vendor/libsqlite3-sys-0.25.2/sqlite3/ vendor/libsqlite3-sys-0.28.0/sqlite3/ vendor/libsqlite3-sys-0.25.2/sqlcipher/ vendor/libsqlite3-sys-0.28.0/sqlcipher/ + rm -rf vendor/libssh2-sys-0.3.0/libssh2/ + rm -rf vendor/libz-sys-1.1.16/src/zlib/ vendor/libz-sys-1.1.16/src/zlib-ng/ + rm -rf vendor/lzma-sys-0.1.20/xz-5.2/ + rm -rf vendor/openssl-src-111.28.2+1.1.1w/openssl/ + find vendor -name .cargo-checksum.json -exec sed -i 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './vendor/bumpalo-3.15.4/src/lib.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/gix-pack-0.51.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/key.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/axis.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/data.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/errorbar.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/traits.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/map.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/display.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/curve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/candlestick.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/filledcurve.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/proxy.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/criterion-plot-0.5.0/src/grid.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/alloc-stdlib-0.2.2/tests/lib.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/src/heap_alloc.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/unicode-normalization-0.1.23/src/no_std_prelude.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/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/bin/tests.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/lib.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/multicompress/mod.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/enc/vectorization.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/cluster.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/compress_fragment.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/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/multithreading.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/util.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/test.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/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/mod.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/metablock.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/worker_pool.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/block_splitter.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/compat.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/enc/literal_cost.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/command.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/utf8_util.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/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/instruction.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/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/template.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/derivative-2.2.0/tests/derive-clone.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative-2.2.0/tests/derive-hash.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/derivative-2.2.0/tests/derive-default-bounds.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/process-wrap-8.0.2/tests/multiproc_helper.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/type-map-0.5.0/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-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/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/lib.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 './compiler/rustc_codegen_cranelift/scripts/filter_profile.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/htmlformelement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/validitystate.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/htmlinputelement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/validation.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/htmlobjectelement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/htmltextareaelement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/htmlbuttonelement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/style-servo/components/script/dom/htmlselectelement.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './src/tools/rustc-perf/collector/compile-benchmarks/futures/src/stream/mod.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.GE2xk3 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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/OpenCloudOS/OpenCloudOS-hardened-ld -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.80.0-src + export RUSTC_TARGET_CPU_X86_64=x86-64-v2 RUSTC_TARGET_CPU_PPC64LE=pwr8 LIBSQLITE3_SYS_USE_PKG_CONFIG=1 LIBSSH2_SYS_USE_PKG_CONFIG=1 + RUSTC_TARGET_CPU_X86_64=x86-64-v2 + RUSTC_TARGET_CPU_PPC64LE=pwr8 + LIBSQLITE3_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 + test -r /usr/lib64/clang/17/lib/libclang_rt.profile-aarch64.a + '[' '-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/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 2006-07-24 09:21:28.000000000 +0800 +++ ./vendor/jemalloc-sys-0.5.4+5.3.0-patched/configure/configure 2025-04-27 14:25:17.501112263 +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/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 2006-07-24 09:21:28.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys-0.5.4+5.3.0-patched/configure/configure 2025-04-27 14:25:17.529112475 +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/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 2006-07-24 09:21:28.000000000 +0800 +++ ./vendor/jemalloc-sys-0.5.3+5.3.0-patched/configure/configure 2025-04-27 14:25:17.557112688 +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' ./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 ./vendor/onig_sys-69.8.1/oniguruma/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./vendor/onig_sys-69.8.1/oniguruma/config.guess ++ basename ./vendor/onig_sys-69.8.1/oniguruma/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./vendor/onig_sys-69.8.1/oniguruma/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './vendor/onig_sys-69.8.1/oniguruma/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/onig_sys-69.8.1/oniguruma/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./vendor/onig_sys-69.8.1/oniguruma/config.sub ++ basename ./vendor/onig_sys-69.8.1/oniguruma/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./vendor/onig_sys-69.8.1/oniguruma/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './vendor/onig_sys-69.8.1/oniguruma/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-opencloudos-linux-gnu --host=aarch64-opencloudos-linux-gnu --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=/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,rust-analyzer,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable '--release-description=OpenCloudOS 1.80.0-5.oc9' configure: processing command line configure: configure: build.configure-args := ['--build=aarch64-opencloudos-linux-gnu', '--h ... 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 := /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', 'rust-analyzer', 'rustfmt' ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: rust.description := OpenCloudOS 1.80.0-5.oc9 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.80.0-src/x.py --help` ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=8 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=16 + '[' 16 -ge 1 -a 16 -lt 8 ']' + PROFRAW=/builddir/build/BUILD/rustc-1.80.0-src/build/profiles + PROFDATA=/builddir/build/BUILD/rustc-1.80.0-src/build/rustc.profdata + mkdir -p /builddir/build/BUILD/rustc-1.80.0-src/build/profiles + /usr/bin/python3 ./x.py build -j 8 sysroot --rust-profile-generate=/builddir/build/BUILD/rustc-1.80.0-src/build/profiles Building bootstrap Compiling proc-macro2 v1.0.76 Compiling libc v0.2.155 Compiling cfg-if v1.0.0 Compiling unicode-ident v1.0.12 Compiling version_check v0.9.4 Compiling memchr v2.7.1 Compiling typenum v1.17.0 Compiling serde v1.0.195 Compiling crossbeam-utils v0.8.18 Compiling cc v1.0.97 Compiling rustix v0.38.28 Compiling generic-array v0.14.7 Compiling regex-syntax v0.8.2 Compiling aho-corasick v1.1.2 Compiling pkg-config v0.3.28 Compiling bitflags v2.4.1 Compiling quote v1.0.35 Compiling syn v2.0.48 Compiling linux-raw-sys v0.4.12 Compiling regex-automata v0.4.3 Compiling lzma-sys v0.1.20 Compiling heck v0.4.1 Compiling anstyle v1.0.4 Compiling clap_lex v0.6.0 Compiling clap_builder v4.4.12 Compiling crossbeam-epoch v0.9.17 Compiling block-buffer v0.10.4 Compiling crypto-common v0.1.6 Compiling same-file v1.0.6 Compiling serde_json v1.0.111 Compiling semver v1.0.21 Compiling log v0.4.20 Compiling walkdir v2.4.0 Compiling digest v0.10.7 Compiling crossbeam-deque v0.8.4 Compiling xattr v1.2.0 Compiling cpufeatures v0.2.12 Compiling filetime v0.2.23 Compiling ryu v1.0.16 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.80.0-src/src/bootstrap) Compiling itoa v1.0.10 Compiling tar v0.4.40 Compiling sha2 v0.10.8 Compiling xz2 v0.1.7 Compiling fd-lock v4.0.2 Compiling cmake v0.1.48 Compiling object v0.32.2 Compiling toml v0.5.11 Compiling bstr v1.9.0 Compiling home v0.5.9 Compiling globset v0.4.14 Compiling opener v0.5.2 Compiling ignore v0.4.21 Compiling termcolor v1.4.0 Compiling once_cell v1.19.0 Compiling clap_derive v4.4.7 Compiling serde_derive v1.0.195 Compiling clap v4.4.13 Compiling clap_complete v4.4.6 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.80.0-src/src/tools/build_helper) Finished `dev` profile [unoptimized] target(s) in 24.55s Unexpected cargo version: 1.84.1, we should use 1.79.x/1.80.0 to build source with 1.80.0 Build completed unsuccessfully in 0:00:24 error: Bad exit status from /var/tmp/rpm-tmp.GE2xk3 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.GE2xk3 (%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 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust.spec