Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/js.spec'], chrootPath='/var/lib/mock/f31-build-55980-28158/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/js.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1521072000 Wrote: /builddir/build/SRPMS/js-1.8.5-31.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/js.spec'], chrootPath='/var/lib/mock/f31-build-55980-28158/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'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/js.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1521072000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GCc2Dx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf js-1.8.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/js185-1.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd js-1.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (js-1.8.5-64bit-big-endian.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .64bit-big-endian --fuzz=0 + echo 'Patch #1 (js-1.8.5-secondary-jit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .secondary-jit --fuzz=0 + echo 'Patch #2 (js185-destdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .destdir --fuzz=0 + echo 'Patch #3 (js-1.8.5-537701.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .537701 --fuzz=0 + echo 'Patch #4 (js185-arm-nosoftfp.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .armhfp --fuzz=0 + echo 'Patch #5 (js185-libedit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .libedit --fuzz=0 + echo 'Patch #6 (0001-Make-js-config.h-multiarch-compatible.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .multiarch --fuzz=0 + echo 'Patch #7 (aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 + echo 'Patch #8 (ppc64le.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ppc64le --fuzz=0 + echo 'Patch #9 (js-1.8.5-array-recursion.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .array-recursion --fuzz=0 + echo 'Patch #10 (js-1.8.5-c++11.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .c++11 --fuzz=0 + echo 'Patch #11 (mozjs1.8.5-tag.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .tag --fuzz=0 + cd js + rm -rf src/ctypes/libffi src/t src/tests/src/jstests.jar src/tracevis src/v8 + pushd src + autoconf-2.13 + popd + cat + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (js-1.8.5-64bit-big-endian.patch): patching file js/src/jsval.h Patch #1 (js-1.8.5-secondary-jit.patch): patching file js/src/Makefile.in Hunk #1 succeeded at 382 (offset 11 lines). Patch #2 (js185-destdir.patch): patching file js/src/Makefile.in Patch #3 (js-1.8.5-537701.patch): patching file js/src/jsval.h patching file js/src/jsvalue.h Patch #4 (js185-arm-nosoftfp.patch): patching file js/src/configure Hunk #1 succeeded at 10639 (offset -102 lines). Hunk #2 succeeded at 13308 (offset -99 lines). Hunk #3 succeeded at 13327 (offset -99 lines). patching file js/src/configure.in Patch #5 (js185-libedit.patch): patching file js/src/configure.in Patch #6 (0001-Make-js-config.h-multiarch-compatible.patch): patching file js/src/configure.in patching file js/src/js-config.h.in patching file js/src/jstypes.h Patch #7 (aarch64.patch): patching file js/src/Makefile.in patching file js/src/assembler/jit/ExecutableAllocator.h patching file js/src/assembler/wtf/Platform.h patching file js/src/configure.in Patch #8 (ppc64le.patch): patching file js/src/assembler/wtf/Platform.h patching file js/src/configure.in patching file js/src/Makefile.in Patch #9 (js-1.8.5-array-recursion.patch): patching file js/src/jsarray.cpp patching file js/src/tests/ecma_5/extensions/array-toString-recursion.js patching file js/src/tests/ecma_5/extensions/jstests.list Patch #10 (js-1.8.5-c++11.patch): patching file js/src/jsapi.cpp patching file js/src/jsfun.cpp patching file js/src/jsiter.cpp patching file js/src/jsparse.cpp patching file js/src/jsstr.cpp patching file js/src/jstypedarray.cpp patching file js/src/jsxml.cpp patching file js/src/methodjit/InvokeHelpers.cpp patching file js/src/nanojit/NativeX64.cpp Patch #11 (mozjs1.8.5-tag.patch): patching file js/src/jsval.h patching file js/src/jsvalue.h patching file js/src/methodjit/MethodJIT.cpp ~/build/BUILD/js-1.8.5/js/src ~/build/BUILD/js-1.8.5/js ~/build/BUILD/js-1.8.5/js Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5VTwlx + umask 022 + cd /builddir/build/BUILD + cd js-1.8.5 + cd js/src BUILDSTDERR: ++ pkg-config --cflags libedit + CPPFLAGS='-I/usr/include/editline ' + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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/autoconf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build/autoconf/config.guess BUILDSTDERR: ++ basename ./build/autoconf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build/autoconf/config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./build/autoconf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build/autoconf/config.sub BUILDSTDERR: ++ basename ./build/autoconf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build/autoconf/config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --with-system-nspr --enable-threadsafe --enable-readline --disable-optimize BUILDSTDERR: configure: error: no acceptable cc found in $PATH error: '/usr/lib/rpm/redhat/config.guess' -> './build/autoconf/config.guess' '/usr/lib/rpm/redhat/config.sub' -> './build/autoconf/config.sub' creating cache ./config.cache checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu checking build system type... riscv64-koji-linux-gnu checking for gawk... gawk checking for perl5... no checking for perl... /usr/bin/perl checking for gcc... no checking for cc... no RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.5VTwlx (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.5VTwlx (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/js.spec