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/buildah.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8100020261123082613-721ededf-build-597112-102724/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/buildah.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/buildah-1.33.15-2.module+an8.10.0+11569+c97c5aff.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/buildah.spec'], chrootPath='/var/lib/mock/module-container-tools-an8-8100020261123082613-721ededf-build-597112-102724/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/buildah.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.Neem9J + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf buildah-2cbee78beb097a58bb86868e050e642619a146ca + /usr/bin/gzip -dc /builddir/build/SOURCES/release-1.33-2cbee78.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd buildah-2cbee78beb097a58bb86868e050e642619a146ca + /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 'buildah-1.33.15 base' + sed -i 's/GOMD2MAN =/GOMD2MAN ?=/' docs/Makefile + sed -i '/docs install/d' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ldzpON + umask 022 + cd /builddir/build/BUILD + cd buildah-2cbee78beb097a58bb86868e050e642619a146ca + mkdir _build + pushd _build ~/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build ~/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca + mkdir -p src/github.com/containers ++ dirs +1 -l + ln -s /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca src/github.com/containers/buildah + popd ~/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca + mv vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build:/builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca + GOPATH=/builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build:/builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca ++ hack/systemd_tag.sh ++ hack/libsubid_tag.sh + export 'BUILDTAGS=seccomp selinux btrfs_noversion exclude_graphdriver_btrfs systemd libsubid' + BUILDTAGS='seccomp selinux btrfs_noversion exclude_graphdriver_btrfs systemd libsubid' + export GO111MODULE=off + GO111MODULE=off + 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' ++ grep '^# github.com/containernetworking/cni ' src/modules.txt ++ sed 's,.* ,,' + export CNI_VERSION=v1.1.2 + CNI_VERSION=v1.1.2 ++ date +%s + export 'LDFLAGS= -X main.buildInfo=1795423467 -X main.cniVersion=v1.1.2' + LDFLAGS=' -X main.buildInfo=1795423467 -X main.cniVersion=v1.1.2' + rm -f src/github.com/containers/storage/drivers/register/register_btrfs.go ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback libtrust_openssl seccomp selinux btrfs_noversion exclude_graphdriver_btrfs systemd libsubid' -ldflags ' -X main.buildInfo=1795423467 -X main.cniVersion=v1.1.2 -compressdwarf=false -B 0xf02592d180263e7b0fa55bd550dd459412c23ac8 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -o bin/buildah github.com/containers/buildah/cmd/buildah src/golang.org/x/crypto/curve25519/curve25519.go:16:8: cannot find package "crypto/ecdh" in any of: /usr/lib/golang/src/crypto/ecdh (from $GOROOT) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build/src/crypto/ecdh (from $GOPATH) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/src/crypto/ecdh src/golang.org/x/crypto/ssh/cipher.go:11:2: cannot find package "crypto/fips140" in any of: /usr/lib/golang/src/crypto/fips140 (from $GOROOT) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build/src/crypto/fips140 (from $GOPATH) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/src/crypto/fips140 src/golang.org/x/crypto/ssh/mlkem.go:9:2: cannot find package "crypto/mlkem" in any of: /usr/lib/golang/src/crypto/mlkem (from $GOROOT) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build/src/crypto/mlkem (from $GOPATH) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/src/crypto/mlkem src/golang.org/x/crypto/pbkdf2/pbkdf2.go:15:2: cannot find package "crypto/pbkdf2" in any of: /usr/lib/golang/src/crypto/pbkdf2 (from $GOROOT) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build/src/crypto/pbkdf2 (from $GOPATH) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/src/crypto/pbkdf2 src/golang.org/x/crypto/sha3/hashes.go:13:2: cannot find package "crypto/sha3" in any of: /usr/lib/golang/src/crypto/sha3 (from $GOROOT) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build/src/crypto/sha3 (from $GOPATH) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/src/crypto/sha3 src/golang.org/x/sys/unix/syscall_linux.go:16:2: cannot find package "slices" in any of: /usr/lib/golang/src/slices (from $GOROOT) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/_build/src/slices (from $GOPATH) /builddir/build/BUILD/buildah-2cbee78beb097a58bb86868e050e642619a146ca/src/slices error: Bad exit status from /var/tmp/rpm-tmp.ldzpON (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ldzpON (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/buildah.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/buildah.spec