Mock Version: 2.12 Mock Version: 2.12 Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/buildah.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8060020220513172728-2e213529-build-56024-18922/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/buildah-1.5-8.gite94b4f9.module+el8.6.0+372+05b85d62.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/buildah.spec'], chrootPath='/var/lib/mock/module-container-tools-1.0-8060020220513172728-2e213529-build-56024-18922/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M9mQrq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3 + /usr/bin/gzip -dc /builddir/build/SOURCES/buildah-e94b4f9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3 + /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.5 base' + /usr/bin/cat /builddir/build/SOURCES/buildah-CVE-2020-10696.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m buildah-CVE-2020-10696.patch --author 'rpm-build ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ymwi7n + umask 022 + cd /builddir/build/BUILD + cd buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3 + mkdir _build + pushd _build ~/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3/_build ~/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3 + mkdir -p src/github.com/containers ++ dirs +1 -l + ln -s /builddir/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3 src/github.com/containers/buildah + popd ~/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3 + mv vendor src ++ pwd ++ pwd + export GOPATH=/builddir/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3/_build:/builddir/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3:/usr/share/gocode + GOPATH=/builddir/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3/_build:/builddir/build/BUILD/buildah-e94b4f98048e7371685731b97eefd6265e2f1fb3:/usr/share/gocode + export 'BUILDTAGS=seccomp exclude_graphdriver_btrfs' + BUILDTAGS='seccomp exclude_graphdriver_btrfs' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback no_openssl seccomp exclude_graphdriver_btrfs' -ldflags ' -compressdwarf=false -B 0x8219302276e6f8e1d8cc69942f16859902ebb471 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o buildah github.com/containers/buildah/cmd/buildah WORK=/tmp/go-build3712337575 no required module provides package github.com/containers/buildah/cmd/buildah: go.mod file not found in current directory or any parent directory; see 'go help modules' error: Bad exit status from /var/tmp/rpm-tmp.ymwi7n (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.ymwi7n (%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 aarch64 --nodeps /builddir/build/SPECS/buildah.spec