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-nfnt-resize.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-la64-build-331871-69539/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-nfnt-resize.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/resize-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-nfnt-resize.spec'], chrootPath='/var/lib/mock/dist-an8.9-dde-la64-build-331871-69539/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-nfnt-resize.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.VO7ShI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf resize-0.0 + /usr/bin/xz -dc /builddir/build/SOURCES/golang-github-nfnt-resize-0.0.orig.tar.xz + /usr/bin/tar -xvvof - drwxr-xr-x foka/foka 0 2018-03-02 15:24 resize-0.0/ -rw-r--r-- foka/foka 59 2018-03-02 15:24 resize-0.0/.travis.yml -rw-r--r-- foka/foka 621 2018-03-02 15:24 resize-0.0/converter_test.go -rw-r--r-- foka/foka 1391 2018-03-02 15:24 resize-0.0/nearest_test.go -rw-r--r-- foka/foka 9239 2018-03-02 15:24 resize-0.0/ycc.go -rw-r--r-- foka/foka 11882 2018-03-02 15:24 resize-0.0/converter.go -rw-r--r-- foka/foka 1841 2018-03-02 15:24 resize-0.0/thumbnail.go -rw-r--r-- foka/foka 3782 2018-03-02 15:24 resize-0.0/filters.go -rw-r--r-- foka/foka 8957 2018-03-02 15:24 resize-0.0/nearest.go -rw-r--r-- foka/foka 20342 2018-03-02 15:24 resize-0.0/resize.go -rw-r--r-- foka/foka 756 2018-03-02 15:24 resize-0.0/LICENSE -rw-r--r-- foka/foka 6932 2018-03-02 15:24 resize-0.0/ycc_test.go -rw-r--r-- foka/foka 4891 2018-03-02 15:24 resize-0.0/README.md -rw-r--r-- foka/foka 8774 2018-03-02 15:24 resize-0.0/resize_test.go -rw-r--r-- foka/foka 1067 2018-03-02 15:24 resize-0.0/thumbnail_test.go + STATUS=0 + '[' 0 -ne 0 ']' + cd resize-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.uA09pJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/resize-0.0-1.0.1.an8.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/resize-0.0-1.0.1.an8.loongarch64 ++ dirname /builddir/build/BUILDROOT/resize-0.0-1.0.1.an8.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/resize-0.0-1.0.1.an8.loongarch64 + cd resize-0.0 ++ find . -print + gofiles='. ./.travis.yml ./converter_test.go ./nearest_test.go ./ycc.go ./converter.go ./thumbnail.go ./filters.go ./nearest.go ./resize.go ./LICENSE ./ycc_test.go ./README.md ./resize_test.go ./thumbnail_test.go' RPM build errors: + %goinstall . ./.travis.yml ./converter_test.go ./nearest_test.go ./ycc.go ./converter.go ./thumbnail.go ./filters.go ./nearest.go ./resize.go ./LICENSE ./ycc_test.go ./README.md ./resize_test.go ./thumbnail_test.go /var/tmp/rpm-tmp.uA09pJ: line 40: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.uA09pJ (%install) Bad exit status from /var/tmp/rpm-tmp.uA09pJ (%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-nfnt-resize.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-nfnt-resize.spec