Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-inflection.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-la64-build-329817-69385/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-inflection.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/inflection-0.0-1.0.1.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-inflection.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-la64-build-329817-69385/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=976gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-inflection.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.d7D9Jo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf inflection-0.0 + /usr/bin/xz -dc /builddir/build/SOURCES/golang-github-jinzhu-inflection-0.0.orig.tar.xz + /usr/bin/tar -xvvof - drwxr-xr-x paultag/paultag 0 2017-07-20 08:35 inflection-0.0/ -rw-r--r-- paultag/paultag 1539 2017-07-20 08:35 inflection-0.0/README.md -rw-r--r-- paultag/paultag 8234 2017-07-20 08:35 inflection-0.0/inflections.go -rw-r--r-- paultag/paultag 1075 2017-07-20 08:35 inflection-0.0/LICENSE -rw-r--r-- paultag/paultag 5727 2017-07-20 08:35 inflection-0.0/inflections_test.go + STATUS=0 + '[' 0 -ne 0 ']' + cd inflection-0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xKp2M5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/inflection-0.0-1.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/inflection-0.0-1.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/inflection-0.0-1.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/inflection-0.0-1.0.1.an8.loongarch64 + cd inflection-0.0 ++ find . -print + gofiles='. ./README.md ./inflections.go ./LICENSE ./inflections_test.go' RPM build errors: + %goinstall . ./README.md ./inflections.go ./LICENSE ./inflections_test.go /var/tmp/rpm-tmp.xKp2M5: line 40: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.xKp2M5 (%install) Bad exit status from /var/tmp/rpm-tmp.xKp2M5 (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-inflection.spec\n', 1)] 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 598, 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 -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/golang-github-jinzhu-inflection.spec