Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-80145-40918/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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=1647302400 Wrote: /builddir/build/SRPMS/rust-1.59.0-2.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/dist-an23-build-80145-40918/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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=1647302400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mGjm71 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rustc-1.59.0-src + /usr/bin/gzip -dc /builddir/build/SOURCES/rustc-1.59.0-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.59.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i.try-python -e '/^try python3 /i try "/usr/bin/python3" "$@"' ./configure + rm -rf src/llvm-project/ + mkdir -p src/llvm-project/libunwind/ + rm -rf vendor/curl-sys/curl/ + rm -rf vendor/jemalloc-sys/jemalloc/ + rm -rf vendor/libssh2-sys/libssh2/ + rm -rf vendor/libz-sys/src/zlib/ + rm -rf vendor/libz-sys/src/zlib-ng/ + rm -rf vendor/lzma-sys/xz-5.2/ + rm -rf vendor/openssl-src/openssl/ + rm -rf vendor/libgit2-sys/libgit2/ + sed -i.lzma -e /LZMA_API_STATIC/d src/bootstrap/tool.rs + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + find -name '*.rs' -type f -perm /111 -exec chmod -v -x '{}' + mode of './src/tools/rust-analyzer/crates/ide/src/folding_ranges.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 './vendor/gimli/tests/parse_self.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/racer/src/racer/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/lib.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/style.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/color.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/src/formatters.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/tests/ansi_term_compat.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/most_simple.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/control.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/dynamic_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/colored/examples/nested_colors.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/unicode-normalization-0.1.13/src/no_std_prelude.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/miniz_oxide/build.rs' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './vendor/gimli-0.25.0/tests/parse_self.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.0qE1XW + 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 -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 -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/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.59.0-src + export LIBSSH2_SYS_USE_PKG_CONFIG=1 + LIBSSH2_SYS_USE_PKG_CONFIG=1 ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=8 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=15 + '[' 15 -ge 1 -a 15 -lt 8 ']' + 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 -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 -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + mv ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys/configure/configure + diff -u ./vendor/tikv-jemalloc-sys/configure/configure.backup ./vendor/tikv-jemalloc-sys/configure/configure --- ./vendor/tikv-jemalloc-sys/configure/configure.backup 2022-02-23 13:34:26.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys/configure/configure 2022-03-21 17:37:17.630422674 +0800 @@ -2126,7 +2126,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/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure --- ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup 2022-02-23 13:34:26.000000000 +0800 +++ ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure 2022-03-21 17:37:17.660422640 +0800 @@ -2126,7 +2126,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.4.1+5.2.1-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-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.4.1+5.2.1-patched/configure/configure + diff -u ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure + mv ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/configure/configure.backup ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-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/tikv-jemalloc-sys/jemalloc/build-aux/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.sub ++ basename ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.sub '/usr/lib/rpm/anolis/config.sub' -> './vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.guess ++ basename ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.guess '/usr/lib/rpm/anolis/config.guess' -> './vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.sub ++ basename ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.sub '/usr/lib/rpm/anolis/config.sub' -> './vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess ++ basename ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess '/usr/lib/rpm/anolis/config.guess' -> './vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-option-checking --libdir=/usr/lib --build=aarch64-unknown-linux-gnu --host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu --set target.aarch64-unknown-linux-gnu.linker=gcc --set target.aarch64-unknown-linux-gnu.cc=gcc --set target.aarch64-unknown-linux-gnu.cxx=g++ --set target.aarch64-unknown-linux-gnu.ar=ar --set target.aarch64-unknown-linux-gnu.ranlib=/usr/bin/ranlib --python=/usr/bin/python3 --local-rust-root=/usr --llvm-root=/usr --enable-llvm-link-shared --disable-rpath --debuginfo-level=2 --set rust.codegen-units-std=1 --enable-extended --tools=analysis,cargo,clippy,rls,rustfmt,src --enable-vendor --enable-verbose-tests --dist-compression-formats=gz --release-channel=stable configure: processing command line configure: configure: build.build := aarch64-unknown-linux-gnu configure: build.host := ['aarch64-unknown-linux-gnu'] configure: install.prefix := /usr configure: install.bindir := /usr/bin configure: install.sysconfdir := /etc configure: install.datadir := /usr/share configure: install.libdir := /usr/lib configure: install.localstatedir := /var configure: install.mandir := /usr/share/man configure: install.infodir := /usr/share/info configure: build.target := ['aarch64-unknown-linux-gnu'] configure: target.aarch64-unknown-linux-gnu.linker := gcc configure: target.aarch64-unknown-linux-gnu.cc := gcc configure: target.aarch64-unknown-linux-gnu.cxx := g++ configure: target.aarch64-unknown-linux-gnu.ar := ar configure: target.aarch64-unknown-linux-gnu.ranlib := /usr/bin/ranlib configure: rust.codegen-units-std := 1 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: rust.rpath := False configure: rust.debuginfo-level := 2 configure: build.extended := True configure: build.tools := ['analysis', 'cargo', 'clippy', 'rls', 'rustfm ... configure: build.vendor := True configure: rust.verbose-tests := True configure: dist.compression-formats := ['gz'] configure: rust.channel := stable configure: build.configure-args := ['--build=aarch64-Anolis-linux', '--host=aarch ... 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.59.0-src/x.py --help` configure: + /usr/bin/python3 ./x.py build -j 8 --stage 2 Building rustbuild error: process didn't exit successfully: `/usr/bin/rustc -vV` (exit status: 127) --- stderr /usr/bin/rustc: symbol lookup error: /lib64/librustc_driver-886f5785ec4053bb.so: undefined symbol: LLVMInitializeARMAsmParser, version LLVM_13 failed to run: /usr/bin/cargo build --manifest-path /builddir/build/BUILD/rustc-1.59.0-src/src/bootstrap/Cargo.toml --frozen Build completed unsuccessfully in 0:00:00 error: Bad exit status from /var/tmp/rpm-tmp.0qE1XW (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.0qE1XW (%build) Child return code was: 1 EXCEPTION: [Error()] 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 600, 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 --target aarch64 --nodeps /builddir/build/SPECS/rust.spec