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/podman.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8040020211118040900-88f4c5b9-build-55684-27851/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/podman.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/podman-3.2.3-0.11.module+an8.4.0+10493+2b50ca03.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/podman.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8040020211118040900-88f4c5b9-build-55684-27851/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/podman.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.zzXkN4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf containers-podman-47dc7d7 + /usr/bin/gzip -dc /builddir/build/SOURCES/v3.2.3-rhel-47dc7d7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd containers-podman-47dc7d7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'podman-3.2.3 base' + tar fx /builddir/build/SOURCES/v0.1.5.tar.gz + tar fx /builddir/build/SOURCES/v1.1.1.tar.gz + mv pkg/hooks/README.md pkg/hooks/README-hooks.md + rm -rf docs/source/markdown/containers-mounts.conf.5.md + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9rBxtW + umask 022 + cd /builddir/build/BUILD + cd containers-podman-47dc7d7 + export GO111MODULE=off + GO111MODULE=off ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/containers-podman-47dc7d7:/builddir/build/BUILD/containers-podman-47dc7d7/_build + GOPATH=/builddir/build/BUILD/containers-podman-47dc7d7:/builddir/build/BUILD/containers-podman-47dc7d7/_build + export 'CGO_CFLAGS=-O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + CGO_CFLAGS='-O2 -g -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64' + mkdir _build + pushd _build ~/build/BUILD/containers-podman-47dc7d7/_build ~/build/BUILD/containers-podman-47dc7d7 + mkdir -p src/github.com/containers + ln -s ../../../../ src/github.com/containers/podman + popd ~/build/BUILD/containers-podman-47dc7d7 + ln -s vendor src + rm -rf vendor/github.com/containers/storage/drivers/register/register_btrfs.go ++ hack/libdm_tag.sh + export 'BUILDTAGS=systemd selinux seccomp btrfs_noversion exclude_graphdriver_devicemapper libdm_no_deferred_remove' + BUILDTAGS='systemd selinux seccomp btrfs_noversion exclude_graphdriver_devicemapper libdm_no_deferred_remove' ++ date +%s + LDFLAGS='-X github.com/containers/podman/libpod/define.buildInfo=1637198869' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback libtrust_openssl systemd selinux seccomp btrfs_noversion exclude_graphdriver_devicemapper libdm_no_deferred_remove' -ldflags '-X github.com/containers/podman/libpod/define.buildInfo=1637198869 -linkmode=external -compressdwarf=false -B 0xd68e3dd95cf0e9e7929bbf1e93cc34b94f0746fa -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -o bin/podman github.com/containers/podman/cmd/podman -buildmode=pie not supported on linux/loong64 error: Bad exit status from /var/tmp/rpm-tmp.9rBxtW (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9rBxtW (%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/podman.spec