Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtool.spec'], chrootPath='/var/lib/mock/f30-build-42634-24606/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libtool.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: gcc: command not found BUILDSTDERR: sh: automake: command not found Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/libtool-2.4.6-28.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtool.spec'], chrootPath='/var/lib/mock/f30-build-42634-24606/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libtool.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). BUILDSTDERR: perl: warning: Setting locale failed. BUILDSTDERR: perl: warning: Please check that your locale settings: BUILDSTDERR: LANGUAGE = (unset), BUILDSTDERR: LC_ALL = (unset), BUILDSTDERR: LANG = "en_US.UTF-8" BUILDSTDERR: are supported and installed on your system. BUILDSTDERR: perl: warning: Falling back to the standard locale ("C"). Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kdgnGf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libtool-2.4.6 + /usr/bin/xz -dc /builddir/build/SOURCES/libtool-2.4.6.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libtool-2.4.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (libtool-2.4.5-rpath.patch): + echo 'Patch #0 (libtool-2.4.5-rpath.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .rpath --fuzz=0 patching file m4/libtool.m4 Hunk #1 succeeded at 2867 (offset 1 line). Hunk #2 succeeded at 2878 (offset 1 line). Patch #1 (libtool-2.4.6-am-1.16-test.patch): + echo 'Patch #1 (libtool-2.4.6-am-1.16-test.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .test --fuzz=0 patching file tests/old-ltdl-iface.at Patch #2 (libtool-2.4.6-specs.patch): + echo 'Patch #2 (libtool-2.4.6-specs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gcc-specs --fuzz=0 patching file build-aux/ltmain.in Patch #3 (libtool-2.4.6-hardening.patch): + echo 'Patch #3 (libtool-2.4.6-hardening.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ltdl-hardening --fuzz=0 patching file Makefile.am Patch #4 (libtool-2.4.6-fatal-handler.patch): + echo 'Patch #4 (libtool-2.4.6-fatal-handler.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fatal-handler --fuzz=0 patching file build-aux/ltmain.in Patch #100 (libtool-nodocs.patch): + echo 'Patch #100 (libtool-nodocs.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nodocs --fuzz=0 patching file Makefile.in + autoreconf -v BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.ac: not using Gettext BUILDSTDERR: autoreconf: running: aclocal -I m4 BUILDSTDERR: autoreconf: configure.ac: tracing BUILDSTDERR: autoreconf: configure.ac: not running libtoolize: --install not given BUILDSTDERR: autoreconf: running: /usr/bin/autoconf BUILDSTDERR: autoreconf: running: /usr/bin/autoheader BUILDSTDERR: autoreconf: running: automake --no-force BUILDSTDERR: autoreconf: Leaving directory `.' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wyecx9 + umask 022 + cd /builddir/build/BUILD + cd libtool-2.4.6 + export CC=gcc + CC=gcc + export CXX=g++ + CXX=g++ + export F77=gfortran + F77=gfortran + export '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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + 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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC' + 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-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-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-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub BUILDSTDERR: ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess BUILDSTDERR: ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' x ']' + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --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 --mandir=/usr/share/man --infodir=/usr/share/info ## ------------------------- ## ## Configuring libtool 2.4.6 ## ## ------------------------- ## checking for GNU M4 that supports accurate traces... /usr/bin/m4 checking whether /usr/bin/m4 accepts --gnu... yes checking how m4 supports trace files... --debugfile checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu configure: autobuild project... GNU Libtool configure: autobuild revision... 2.4.6 BUILDSTDERR: ./configure: line 3502: hostname: command not found configure: autobuild mode... default configure: autobuild timestamp... 20190123T134827Z checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... no BUILDSTDERR: configure: error: in `/builddir/build/BUILD/libtool-2.4.6': BUILDSTDERR: configure: error: C compiler cannot create executables BUILDSTDERR: See `config.log' for more details RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Wyecx9 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Wyecx9 (%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 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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 riscv64 --nodeps /builddir/build/SPECS/libtool.spec