Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/rust-1.35.0-0.el7.0.0.bootstrap-20191017120752-5122/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rust.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/devtoolset-8-rust-1.35.0-0.el7.0.0.bootstrap.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rust.spec'], chrootPath='/var/lib/mock/rust-1.35.0-0.el7.0.0.bootstrap-20191017120752-5122/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rust.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oudWbY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rust-1.34.2-powerpc64le-unknown-linux-gnu + /usr/bin/xz -dc /builddir/build/SOURCES/rust-1.34.2-powerpc64le-unknown-linux-gnu.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rust-1.34.2-powerpc64le-unknown-linux-gnu + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + ./install.sh --components=cargo,rustc,rust-std-powerpc64le-unknown-linux-gnu --prefix=/builddir/build/BUILD/rust-1.34.2-powerpc64le-unknown-linux-gnu/usr --disable-ldconfig install: creating uninstall script at /builddir/build/BUILD/rust-1.34.2-powerpc64le-unknown-linux-gnu/usr/lib/rustlib/uninstall.sh install: installing component 'cargo' install: installing component 'rustc' install: installing component 'rust-std-powerpc64le-unknown-linux-gnu' Rust is ready to roll. + test -f /builddir/build/BUILD/rust-1.34.2-powerpc64le-unknown-linux-gnu/usr/bin/cargo + test -f /builddir/build/BUILD/rust-1.34.2-powerpc64le-unknown-linux-gnu/usr/bin/rustc + cd /builddir/build/BUILD + rm -rf rustc-1.35.0-src + /usr/bin/xz -dc /builddir/build/SOURCES/rustc-1.35.0-src.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-1.35.0-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (rust-pr57840-llvm7-debuginfo-variants.patch): + echo 'Patch #1 (rust-pr57840-llvm7-debuginfo-variants.patch):' + /usr/bin/cat /builddir/build/SOURCES/rust-pr57840-llvm7-debuginfo-variants.patch + /usr/bin/patch -p1 --fuzz=0 -R patching file src/librustc_codegen_llvm/debuginfo/metadata.rs Hunk #1 succeeded at 1238 (offset 74 lines). Patch #2 (0001-Limit-internalization-in-LLVM-8-ThinLTO.patch): + echo 'Patch #2 (0001-Limit-internalization-in-LLVM-8-ThinLTO.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-Limit-internalization-in-LLVM-8-ThinLTO.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/rustllvm/PassWrapper.cpp Patch #3 (rust-pr61085-fix-ICE-with-incorrect-turbofish.patch): + echo 'Patch #3 (rust-pr61085-fix-ICE-with-incorrect-turbofish.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/rust-pr61085-fix-ICE-with-incorrect-turbofish.patch patching file src/librustc_typeck/check/mod.rs patching file src/test/run-pass/issue-60989.rs patching file src/test/compile-fail/issue-60989.rs (renamed from src/test/run-pass/issue-60989.rs) patching file src/librustc_typeck/check/mod.rs patching file src/test/compile-fail/issue-60989.rs patching file src/test/ui/issue-60989.rs patching file src/test/ui/issue-60989.stderr Patch #4 (0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch): + echo 'Patch #4 (0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch):' + /usr/bin/cat /builddir/build/SOURCES/0001-bump-bootstrap-fix-compiletest-wrt.-exclude_should_p.patch patching file src/tools/compiletest/src/main.rs Hunk #1 succeeded at 522 (offset -1 lines). + /usr/bin/patch -p1 --fuzz=0 Patch #101 (rust-1.28.0-no-default-pie.patch): + echo 'Patch #101 (rust-1.28.0-no-default-pie.patch):' + /usr/bin/cat /builddir/build/SOURCES/rust-1.28.0-no-default-pie.patch + /usr/bin/patch -p1 -b --suffix .no-pie --fuzz=0 patching file src/librustc_codegen_llvm/back/link.rs Hunk #1 succeeded at 921 (offset -135 lines). + rm -rf src/llvm-project/ + rm -rf src/llvm-emscripten/ + cp -a vendor/backtrace-sys/src/libbacktrace/LICENSE vendor/backtrace-sys/src/libbacktrace/LICENSE-libbacktrace + find vendor -name .cargo-checksum.json -exec sed -i.uncheck -e 's/"files":{[^}]*}/"files":{ }/' '{}' + + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1wYz9W + umask 022 + cd /builddir/build/BUILD + cd rustc-1.35.0-src + set +e + uname -a Linux ppc64le-02.bsys.centos.org 3.10.0-957.1.3.el7.ppc64le #1 SMP Wed Nov 28 21:02:49 GMT 2018 ppc64le ppc64le ppc64le GNU/Linux + lscpu Architecture: ppc64le Byte Order: Little Endian CPU(s): 32 On-line CPU(s) list: 0-31 Thread(s) per core: 1 Core(s) per socket: 1 Socket(s): 32 NUMA node(s): 1 Model: 2.1 (pvr 004b 0201) Model name: POWER8E (raw), altivec supported Hypervisor vendor: KVM Virtualization type: para L1d cache: 64K L1i cache: 32K NUMA node0 CPU(s): 0-31 + free total used free shared buff/cache available Mem: 33035520 611840 16336064 895232 16087616 30656192 Swap: 2097088 73856 2023232 + df -h . Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_ppc64le--02-root 192G 12G 171G 7% / + echo + export RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/opt/rh/devtoolset-8/root/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power8 -mtune=power8 -I/opt/rh/devtoolset-8/root/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' ppc64le == ppc64le ']' + /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh Broken -m elf64ppc use in ./vendor/backtrace-sys/src/libbacktrace/config/libtool.m4 should handle elf64lppc. Attempting automatic fix. Fixed ./vendor/backtrace-sys/src/libbacktrace/config/libtool.m4 for ld -m ppc64le support. Broken -m elf64ppc use in ./vendor/backtrace-sys/src/libbacktrace/configure should handle elf64lppc. Attempting automatic fix. Fixed ./vendor/backtrace-sys/src/libbacktrace/configure for ld -m ppc64le support. ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/jemalloc-sys/jemalloc/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/jemalloc-sys/jemalloc/build-aux/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub ++ basename ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/jemalloc-sys/jemalloc/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/jemalloc-sys/jemalloc/build-aux/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/lzma-sys/xz-5.2.3/build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/lzma-sys/xz-5.2.3/build-aux/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub ++ basename ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/lzma-sys/xz-5.2.3/build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/lzma-sys/xz-5.2.3/build-aux/config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./vendor/backtrace-sys/src/libbacktrace/config.guess ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./vendor/backtrace-sys/src/libbacktrace/config.guess '/usr/lib/rpm/redhat/config.guess' -> './vendor/backtrace-sys/src/libbacktrace/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./vendor/backtrace-sys/src/libbacktrace/config.sub ++ basename ./vendor/backtrace-sys/src/libbacktrace/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./vendor/backtrace-sys/src/libbacktrace/config.sub '/usr/lib/rpm/redhat/config.sub' -> './vendor/backtrace-sys/src/libbacktrace/config.sub' ++ scl enable llvm-toolset-7.0 -- llvm-config --prefix + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/rh/devtoolset-8/root/usr --exec-prefix=/opt/rh/devtoolset-8/root/usr --bindir=/opt/rh/devtoolset-8/root/usr/bin --sbindir=/opt/rh/devtoolset-8/root/usr/sbin --sysconfdir=/opt/rh/devtoolset-8/root/etc --datadir=/opt/rh/devtoolset-8/root/usr/share --includedir=/opt/rh/devtoolset-8/root/usr/include --libdir=/opt/rh/devtoolset-8/root/usr/lib64 --libexecdir=/opt/rh/devtoolset-8/root/usr/libexec --localstatedir=/opt/rh/devtoolset-8/root/var --sharedstatedir=/opt/rh/devtoolset-8/root/var/lib --mandir=/opt/rh/devtoolset-8/root/usr/share/man --infodir=/opt/rh/devtoolset-8/root/usr/share/info --disable-option-checking --libdir=/opt/rh/devtoolset-8/root/usr/lib --build=powerpc64le-unknown-linux-gnu --host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu --local-rust-root=/builddir/build/BUILD/rust-1.34.2-powerpc64le-unknown-linux-gnu/usr --llvm-root=/opt/rh/llvm-toolset-7.0/root/usr --enable-llvm-link-shared --disable-rpath --enable-debuginfo --disable-debuginfo-only-std --enable-debuginfo-tools --disable-debuginfo-lines --enable-extended --enable-vendor --enable-verbose-tests --release-channel=stable configure: processing command line configure: configure: rust.rpath := False configure: install.localstatedir := /opt/rh/devtoolset-8/root/var configure: install.prefix := /opt/rh/devtoolset-8/root/usr configure: build.extended := True configure: install.mandir := /opt/rh/devtoolset-8/root/usr/share/man configure: install.infodir := /opt/rh/devtoolset-8/root/usr/share/info configure: install.libdir := /opt/rh/devtoolset-8/root/usr/lib configure: install.datadir := /opt/rh/devtoolset-8/root/usr/share configure: rust.debuginfo-lines := False configure: build.build := powerpc64le-unknown-linux-gnu configure: build.rustc := /builddir/build/BUILD/rust-1.34.2-powerpc64le- ... configure: build.cargo := /builddir/build/BUILD/rust-1.34.2-powerpc64le- ... configure: install.bindir := /opt/rh/devtoolset-8/root/usr/bin configure: llvm.link-shared := True configure: build.vendor := True configure: rust.debuginfo := True configure: rust.debuginfo-only-std := False configure: build.host := ['powerpc64le-unknown-linux-gnu'] configure: rust.verbose-tests := True configure: target.powerpc64le-unknown-linux-gnu.llvm-config := /opt/rh/llvm-tools ... configure: build.target := ['powerpc64le-unknown-linux-gnu'] configure: rust.channel := stable configure: rust.debuginfo-tools := True configure: install.sysconfdir := /opt/rh/devtoolset-8/root/etc configure: build.configure-args := ['--build=ppc64le-redhat-linux-gnu', '--host=p ... configure: configure: writing `config.toml` in current directory configure: configure: run `python /builddir/build/BUILD/rustc-1.35.0-src/x.py --help` configure: + python2 ./x.py build Compiling proc-macro2 v0.4.24 Compiling unicode-xid v0.1.0 Compiling libc v0.2.51 Compiling serde v1.0.82 Compiling ryu v0.2.7 Compiling fixedbitset v0.1.9 Compiling ordermap v0.3.5 Compiling itoa v0.4.3 Compiling cfg-if v0.1.6 Compiling cc v1.0.28 Compiling getopts v0.2.17 Compiling lazy_static v0.2.11 Compiling build_helper v0.1.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/build_helper) Compiling petgraph v0.4.13 Compiling num_cpus v1.8.0 Compiling time v0.1.40 Compiling filetime v0.2.4 Compiling cmake v0.1.33 Compiling quote v0.6.10 Compiling syn v0.15.22 Compiling toml v0.4.10 Compiling serde_json v1.0.33 Compiling serde_derive v1.0.81 Compiling bootstrap v0.0.0 (/builddir/build/BUILD/rustc-1.35.0-src/src/bootstrap) Finished dev [unoptimized] target(s) in 1m 06s /opt/rh/llvm-toolset-7.0/root/usr/bin/llvm-config: error while loading shared libraries: libLLVM-7.so: cannot open shared object file: No such file or directory thread 'main' panicked at 'command did not execute successfully: "/opt/rh/llvm-toolset-7.0/root/usr/bin/llvm-config" "--bindir" expected success, got: exit code: 127', src/build_helper/lib.rs:134:9 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. failed to run: /builddir/build/BUILD/rustc-1.35.0-src/build/bootstrap/debug/bootstrap build Build completed unsuccessfully in 0:01:06 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.1wYz9W (%build) Bad exit status from /var/tmp/rpm-tmp.1wYz9W (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rust.spec