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/trafshow.spec'], chrootPath='/var/lib/mock/f31-build-61681-28936/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/trafshow.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 11: %{name}-%{version}.tgz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Wrote: /builddir/build/SRPMS/trafshow-5.2.3-22.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/trafshow.spec'], chrootPath='/var/lib/mock/f31-build-61681-28936/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/trafshow.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 11: %{name}-%{version}.tgz Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KGlrvL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trafshow-5.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/trafshow-5.2.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd trafshow-5.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trafshow-5.2.3-machinetype_hack_nonfatal.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .machinetype --fuzz=0 + echo 'Patch #1 (trafshow-5.2.3-elif-without_expression.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .elif --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (trafshow-5.2.3-machinetype_hack_nonfatal.patch): patching file config.sub Patch #1 (trafshow-5.2.3-elif-without_expression.patch): patching file session.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Z2FDlK + umask 022 + cd /builddir/build/BUILD + cd trafshow-5.2.3 RPM build errors: + %__autoconf BUILDSTDERR: /var/tmp/rpm-tmp.Z2FDlK: line 32: fg: no job control BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Z2FDlK (%build) BUILDSTDERR: Macro expanded in comment on line 11: %{name}-%{version}.tgz BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Z2FDlK (%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/trafshow.spec