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/ntl.spec'], chrootPath='/var/lib/mock/f29-build-28814-15435/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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=<mockbuild.trace_decorator.getLog object at 0x2001fe1320>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/ntl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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
Building target platforms: riscv64
Building for target riscv64
Wrote: /builddir/build/SRPMS/ntl-11.2.1-1.fc29.src.rpm
Child return code was: 0
ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ntl.spec'], chrootPath='/var/lib/mock/f29-build-28814-15435/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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=<mockbuild.trace_decorator.getLog object at 0x2001fe1320>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/ntl.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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
Building target platforms: riscv64
Building for target riscv64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZF9Kzf
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ntl-11.2.1
+ /usr/bin/gzip -dc /builddir/build/SOURCES/ntl-11.2.1.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ntl-11.2.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (ntl-loadtime-cpu.patch):'
Patch #0 (ntl-loadtime-cpu.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0
patching file doc/config.txt
patching file include/NTL/config.h
patching file include/NTL/ctools.h
patching file include/NTL/MatPrime.h
patching file include/NTL/REPORT_ALL_FEATURES.h
patching file src/cfile
patching file src/DispSettings.cpp
patching file src/DoConfig
patching file src/GF2X1.cpp
patching file src/GF2X.cpp
patching file src/InitSettings.cpp
patching file src/mat_lzz_p.cpp
patching file src/QuickTest.cpp
patching file src/WizardAux
patching file src/ZZ.cpp
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GtC9DP
+ umask 022
~/build/BUILD/ntl-11.2.1/src ~/build/BUILD/ntl-11.2.1
+ cd /builddir/build/BUILD
+ cd ntl-11.2.1
+ pushd src
+ ./configure CXX=g++ '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 -fPIC' 'LDFLAGS=-Wl,-z,relro   -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' DEF_PREFIX=/usr DOCDIR=/usr/share/doc INCLUDEDIR=/usr/include LIBDIR=/usr/lib64 'LDLIBS=-lpthread -lm' NATIVE=off NTL_GF2X_LIB=on NTL_STD_CXX14=on TUNE=generic SHARED=on
*** building libtool
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
BUILDSTDERR: checking build system type... ./config.guess: unable to guess system type
BUILDSTDERR: This script, last modified 2013-06-10, has failed to recognize
BUILDSTDERR: the operating system you are using. It is advised that you
BUILDSTDERR: download the most up to date version of the config scripts from
BUILDSTDERR:   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
BUILDSTDERR: and
BUILDSTDERR:   http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
BUILDSTDERR: If the version you run (./config.guess) is already up to date, please
BUILDSTDERR: send the following data and any information you think might be
BUILDSTDERR: pertinent to <config-patches@gnu.org> in order to provide the needed
BUILDSTDERR: information to handle your system.
BUILDSTDERR: config.guess timestamp = 2013-06-10
BUILDSTDERR: uname -m = riscv64
BUILDSTDERR: uname -r = 4.15.0-00046-g48fb45691946-dirty
BUILDSTDERR: uname -s = Linux
BUILDSTDERR: uname -v = #31 SMP Wed Jun 20 17:41:16 UTC 2018
BUILDSTDERR: /usr/bin/uname -p = riscv64
BUILDSTDERR: /bin/uname -X     = 
BUILDSTDERR: hostinfo               = 
BUILDSTDERR: /bin/universe          = 
BUILDSTDERR: /usr/bin/arch -k       = 
BUILDSTDERR: /bin/arch              = riscv64
BUILDSTDERR: /usr/bin/oslevel       = 
BUILDSTDERR: /usr/convex/getsysinfo = 
BUILDSTDERR: UNAME_MACHINE = riscv64
BUILDSTDERR: UNAME_RELEASE = 4.15.0-00046-g48fb45691946-dirty
BUILDSTDERR: UNAME_SYSTEM  = Linux
BUILDSTDERR: UNAME_VERSION = #31 SMP Wed Jun 20 17:41:16 UTC 2018
BUILDSTDERR: configure: error: cannot guess build type; you must specify one
BUILDSTDERR: Error: libtool build failed
RPM build errors:
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GtC9DP (%build)
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.GtC9DP (%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/ntl.spec