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/golly.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 BUILDSTDERR: warning: Macro expanded in comment on line 20: %{_datadir}/%{name} for supplied files, rather than current dir Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1521072000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BWP9gM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf golly-2.8-src + /usr/bin/gzip -dc /builddir/build/SOURCES/golly-2.8-src.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd golly-2.8-src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (golly-2.7-appdir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .appdir --fuzz=0 + echo 'Patch #1 (golly-2.8-lua-dyn.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .lua-dyn --fuzz=0 + echo 'Patch #2 (golly-2.8-gtk3.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .gtk3 --fuzz=0 + cp /builddir/build/SOURCES/lex_home.htm . + find . -type f -exec chmod 644 '{}' ';' + rm -rf lua + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (golly-2.7-appdir.patch): patching file gui-wx/wxgolly.cpp Hunk #1 succeeded at 296 (offset -8 lines). Patch #1 (golly-2.8-lua-dyn.patch): patching file gui-wx/makefile-gtk Patch #2 (golly-2.8-gtk3.patch): patching file gui-wx/makefile-gtk Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5coglM + umask 022 + cd /builddir/build/BUILD + cd golly-2.8-src + pushd gui-wx + make '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 -I ../gollybase -DGOLLYDIR="/usr/share/golly"' ZLIB_LDFLAGS=-lz -f makefile-gtk BUILDSTDERR: /bin/sh: g++: command not found BUILDSTDERR: make: *** [makefile-gtk:136: ObjGTK/bigint.o] Error 127 error: ~/build/BUILD/golly-2.8-src/gui-wx ~/build/BUILD/golly-2.8-src mkdir -p ObjGTK g++ -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 ../gollybase -DGOLLYDIR="/usr/share/golly" -c -o ObjGTK/bigint.o ../gollybase/bigint.cpp RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.5coglM (%build) BUILDSTDERR: Macro expanded in comment on line 20: %{_datadir}/%{name} for supplied files, rather than current dir BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.5coglM (%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/golly.spec