Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-x-image.spec'], chrootPath='/var/lib/mock/dist-an8.7-dde-build-197543-60926/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-x-image.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/golang-x-image-0-0.9.20210421git59b11be.an8_6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-x-image.spec'], chrootPath='/var/lib/mock/dist-an8.7-dde-build-197543-60926/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-x-image.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Gekea6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf image-59b11bec70c7cc648cf3cc54683683b76d5b5e6b + /usr/bin/gzip -dc /builddir/build/SOURCES/image-59b11bec70c7cc648cf3cc54683683b76d5b5e6b.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd image-59b11bec70c7cc648cf3cc54683683b76d5b5e6b + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WEysPO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-x-image-0-0.9.20210421git59b11be.an8_6.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-x-image-0-0.9.20210421git59b11be.an8_6.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-x-image-0-0.9.20210421git59b11be.an8_6.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-x-image-0-0.9.20210421git59b11be.an8_6.x86_64 + cd image-59b11bec70c7cc648cf3cc54683683b76d5b5e6b + %goinstall /var/tmp/rpm-tmp.WEysPO: line 40: fg: no job control RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.WEysPO (%install) Bad exit status from /var/tmp/rpm-tmp.WEysPO (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild --nocheck -bb --target x86_64 --nodeps /builddir/build/SPECS/golang-x-image.spec