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/AntTweakBar.spec'], chrootPath='/var/lib/mock/f31-build-73206-30897/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/AntTweakBar.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=1517961600 Wrote: /builddir/build/SRPMS/AntTweakBar-1.16-8.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/AntTweakBar.spec'], chrootPath='/var/lib/mock/f31-build-73206-30897/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/AntTweakBar.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=1517961600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.btzQWX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf AntTweakBar + /usr/bin/unzip -qq /builddir/build/SOURCES/AntTweakBar_116.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd AntTweakBar + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + iconv --from=iso-8859-1 --to=utf8 ./License.txt + touch -r ./License.txt ./License.txt.utf8 + mv ./License.txt.utf8 ./License.txt + sed 's|\r||g' ./examples/TwSimpleGLUT.c + touch -r ./examples/TwSimpleGLUT.c ./TwSimpleGLUT.c + mv ./TwSimpleGLUT.c ./examples/TwSimpleGLUT.c + find Readme.txt License.txt src examples include -type f -print0 + xargs -0 chmod 0644 + find Readme.txt License.txt src examples include -type f -print0 + xargs -0 sed -i 's|\r||g' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4s7FaX + umask 022 + cd /builddir/build/BUILD + cd AntTweakBar + cd src + make -j4 'CXXCFG=-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' BUILDSTDERR: make: gcc: Command not found BUILDSTDERR: make: gcc: Command not found BUILDSTDERR: make: *** [Makefile:75: TwColors.o] Error 127 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: make: *** [Makefile:75: TwFonts.o] Error 127 BUILDSTDERR: make: gcc: Command not found BUILDSTDERR: make: *** [Makefile:75: TwOpenGL.o] Error 127 BUILDSTDERR: make: gcc: Command not found BUILDSTDERR: make: *** [Makefile:75: TwOpenGLCore.o] Error 127 error: ===== Compile TwColors.cpp ===== ===== Compile TwFonts.cpp ===== gcc -c -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 -Wall -fPIC -fno-strict-aliasing -D_UNIX -D__PLACEMENT_NEW_INLINE -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/include -o TwColors.o TwColors.cpp gcc -c -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 -Wall -fPIC -fno-strict-aliasing -D_UNIX -D__PLACEMENT_NEW_INLINE -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/include -o TwFonts.o TwFonts.cpp ===== Compile TwOpenGL.cpp ===== gcc -c -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 -Wall -fPIC -fno-strict-aliasing -D_UNIX -D__PLACEMENT_NEW_INLINE -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/include -o TwOpenGL.o TwOpenGL.cpp ===== Compile TwOpenGLCore.cpp ===== gcc -c -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 -Wall -fPIC -fno-strict-aliasing -D_UNIX -D__PLACEMENT_NEW_INLINE -I../include -I/usr/local/include -I/usr/X11R6/include -I/usr/include -o TwOpenGLCore.o TwOpenGLCore.cpp RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.4s7FaX (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.4s7FaX (%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/AntTweakBar.spec