Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/module-rust-toolset-rhel8-8060020220812070140-852a533c-build-20512-5145/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 --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.58.1-1.module+oc8.6.0+222+4fe10a7d.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/module-rust-toolset-rhel8-8060020220812070140-852a533c-build-20512-5145/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 --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.fiGxCM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96 + /usr/bin/gzip -dc /builddir/build/SOURCES/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf rustc-1.58.1-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.58.1-src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.58.1-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch): + echo 'Patch #1 (0001-Use-lld-provided-by-system-for-wasm.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file compiler/rustc_target/src/spec/wasm_base.rs Patch #100 (rustc-1.56.0-disable-libssh2.patch): + echo 'Patch #100 (rustc-1.56.0-disable-libssh2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Cargo.lock Hunk #1 succeeded at 1915 (offset 20 lines). Hunk #2 succeeded at 1937 (offset 20 lines). patching file vendor/git2/Cargo.toml Hunk #1 succeeded at 51 (offset -1 lines). + sed -i.try-python -e '/^try python3 /i try "/usr/libexec/platform-python" "$@"' ./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/libssh2-sys/ + 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 './vendor/colored/examples/control.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/colored/examples/most_simple.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/tests/ansi_term_compat.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/src/color.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/lib.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--) mode of './vendor/libc-0.2.98/src/vxworks/mod.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/gimli/tests/parse_self.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/unicode-normalization-0.1.13/src/no_std_prelude.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 './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--) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ALQ6rP + umask 022 + cd /builddir/build/BUILD export CONFIG_SITE="NONE" export HISTCONTROL="ignoredups" export HISTSIZE="1000" export HOME="/builddir" export HOSTNAME="" export LANG="C" export LESSOPEN="||/usr/bin/lesspipe.sh %s" export LOGNAME="mockbuild" export MAIL="/var/spool/mail/mockbuild" export OLDPWD="/builddir/build/BUILD" export PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin" export PKG_CONFIG_PATH=":/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PROMPT_COMMAND="printf \"\\033]0;\\007\"" export PWD="/builddir/build/BUILD/rustc-1.58.1-src" export PYTHON_DISALLOW_AMBIGUOUS_VERSION="warn" export RPM_ARCH="aarch64" export RPM_BUILD_DIR="/builddir/build/BUILD" export RPM_BUILD_NCPUS="32" export RPM_BUILD_ROOT="/builddir/build/BUILDROOT/rust-1.58.1-1.module+oc8.6.0+222+4fe10a7d.aarch64" export RPM_DOC_DIR="/usr/share/doc" export RPM_LD_FLAGS="-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld" export RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection" export RPM_OS="linux" export RPM_PACKAGE_NAME="rust" export RPM_PACKAGE_RELEASE="1.module+oc8.6.0+222+4fe10a7d" export RPM_PACKAGE_VERSION="1.58.1" export RPM_SOURCE_DIR="/builddir/build/SOURCES" export SHELL="/bin/bash" export SHLVL="2" export TERM="vt100" export USER="mockbuild" export which_declare="declare -f" + cd rustc-1.58.1-src + export ++ /usr/bin/getconf _NPROCESSORS_ONLN + ncpus=32 ++ free -g ++ awk '/^Mem:/{print $2}' + max_cpus=32 + '[' 32 -ge 1 -a 32 -lt 32 ']' + /usr/bin/make -O -j32 --quiet -C /builddir/build/BUILD/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96 find: '/builddir/build/BUILD/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/build': No such file or directory + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/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/redhat/config.guess ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/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/redhat/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/redhat/config.sub ./vendor/tikv-jemalloc-sys-0.4.1+5.2.1-patched/jemalloc/build-aux/config.sub '/usr/lib/rpm/redhat/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/jemalloc/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/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/redhat/config.guess ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.guess '/usr/lib/rpm/redhat/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/jemalloc/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/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/redhat/config.sub ./vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/tikv-jemalloc-sys/jemalloc/build-aux/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-redhat-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 --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.wasm32-wasi.wasi-root=/builddir/build/BUILD/wasi-libc-ad5133410f66b93a2381db5b542aad5e0964db96/sysroot --python=/usr/libexec/platform-python --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 '--release-description=Red Hat 1.58.1-1.module+oc8.6.0+222+4fe10a7d' 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: target.wasm32-wasi.wasi-root := /builddir/build/BUILD/wasi-libc-ad5133 ... configure: rust.codegen-units-std := 1 configure: build.python := /usr/libexec/platform-python 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: rust.description := Red Hat 1.58.1-1.module+oc8.6.0+222+4fe10a7d configure: build.configure-args := ['--build=aarch64-redhat-linux-gnu', '--host=a ... 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.58.1-src/x.py --help` configure: + /usr/libexec/platform-python ./x.py build -j 32 --stage 2 Compiling proc-macro2 v1.0.30 Compiling unicode-xid v0.2.2 Compiling syn v1.0.80 Compiling autocfg v1.0.0 Compiling memchr v2.4.1 Compiling version_check v0.9.3 Compiling lazy_static v1.4.0 Compiling cfg-if v1.0.0 Compiling serde_derive v1.0.125 Compiling libc v0.2.106 Compiling log v0.4.14 Compiling serde v1.0.125 Compiling regex-automata v0.1.10 Compiling regex-syntax v0.6.25 Compiling ryu v1.0.5 Compiling fnv v1.0.7 Compiling same-file v1.0.6 Compiling serde_json v1.0.59 Compiling itoa v0.4.6 Compiling unicode-width v0.1.8 Compiling cc v1.0.69 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.58.1-src/src/bootstrap) Compiling once_cell v1.7.2 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.58.1-src/src/build_helper) Compiling thread_local v1.0.1 Compiling getopts v0.2.21 Compiling walkdir v2.3.1 Compiling proc-macro-error-attr v1.0.4 Compiling proc-macro-error v1.0.4 Compiling num-traits v0.2.12 Compiling crossbeam-utils v0.8.3 Compiling aho-corasick v0.7.18 Compiling bstr v0.2.13 Compiling cmake v0.1.44 Compiling quote v1.0.7 Compiling time v0.1.43 Compiling num_cpus v1.13.0 Compiling filetime v0.2.14 Compiling opener v0.5.0 Compiling regex v1.5.4 Compiling globset v0.4.5 Compiling ignore v0.4.17 Compiling merge_derive v0.1.0 Compiling merge v0.1.0 Compiling toml v0.5.7 Finished dev [unoptimized] target(s) in 39.05s Building stage0 std artifacts (aarch64-unknown-linux-gnu -> aarch64-unknown-linux-gnu) Compiling compiler_builtins v0.1.53 Compiling core v0.0.0 (/builddir/build/BUILD/rustc-1.58.1-src/library/core) Compiling libc v0.2.106 Compiling cc v1.0.69 Compiling memchr v2.4.1 Compiling std v0.0.0 (/builddir/build/BUILD/rustc-1.58.1-src/library/std) Compiling unwind v0.0.0 (/builddir/build/BUILD/rustc-1.58.1-src/library/unwind)