Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/git-lfs.spec'], chrootPath='/var/lib/mock/dist-an8_7-build-157846-58428/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/git-lfs.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/git-lfs-2.13.3-3.0.1.an8_6.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/git-lfs.spec'], chrootPath='/var/lib/mock/dist-an8_7-build-157846-58428/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/git-lfs.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.eqbJBy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf git-lfs-2.13.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/git-lfs-v2.13.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd git-lfs-2.13.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -m 0755 -vd /builddir/build/BUILD/git-lfs-2.13.3/_build/bin install: creating directory '/builddir/build/BUILD/git-lfs-2.13.3/_build' install: creating directory '/builddir/build/BUILD/git-lfs-2.13.3/_build/bin' ++ dirname /builddir/build/BUILD/git-lfs-2.13.3/_build/src/github.com/git-lfs/git-lfs + install -m 0755 -vd /builddir/build/BUILD/git-lfs-2.13.3/_build/src/github.com/git-lfs install: creating directory '/builddir/build/BUILD/git-lfs-2.13.3/_build/src' install: creating directory '/builddir/build/BUILD/git-lfs-2.13.3/_build/src/github.com' install: creating directory '/builddir/build/BUILD/git-lfs-2.13.3/_build/src/github.com/git-lfs' ++ pwd + ln -fs /builddir/build/BUILD/git-lfs-2.13.3 /builddir/build/BUILD/git-lfs-2.13.3/_build/src/github.com/git-lfs/git-lfs + tar -xf /builddir/build/SOURCES/manpages.tgz + sed -i -e 's!\.\./bin/!//builddir/build/BUILD/git-lfs-2.13.3/_build/bin/!g' t/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CNSShO + umask 022 + cd /builddir/build/BUILD + cd git-lfs-2.13.3 + export GOPATH=/builddir/build/BUILD/git-lfs-2.13.3/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/git-lfs-2.13.3/_build:/usr/share/gocode + export GO111MODULE=off + GO111MODULE=off + pushd docs ~/build/BUILD/git-lfs-2.13.3/docs ~/build/BUILD/git-lfs-2.13.3 ++ od -An -tx1 ++ head -c20 /dev/urandom ++ tr -d ' \n' + CGO_CPPFLAGS='-D_FORTIFY_SOURCE=2 -fstack-protector-all' + go build -compiler gc -buildmode pie '-tags=rpm_crashtraceback libtrust_openssl ' -ldflags '-linkmode=external -compressdwarf=false -B 0x5d8ad66e5e5504685091085f4bd4737bbc090001 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o mangen man/mangen.go -buildmode=pie not supported on linux/loong64 error: Bad exit status from /var/tmp/rpm-tmp.CNSShO (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.CNSShO (%build) 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 -bb --target loongarch64 --nodeps /builddir/build/SPECS/git-lfs.spec