Mock Version: 2.16 Mock Version: 2.16 Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/runc.spec'], chrootPath='/home/mockroot/module-container-tools-1.0-8060020220513172728-2e213529-build-56082-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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/runc.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/runc-1.0.0-56.rc5.dev.git2abd837.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 ppc64le --nodeps /builddir/build/SPECS/runc.spec'], chrootPath='/home/mockroot/module-container-tools-1.0-8060020220513172728-2e213529-build-56082-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=995gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/runc.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AvLHt9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + /usr/bin/gzip -dc /builddir/build/SOURCES/runc-2abd837.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + /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 'runc-1.0.0 base' + /usr/bin/cat /builddir/build/SOURCES/change-default-root.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m change-default-root.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0001-Revert-Apply-cgroups-earlier.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-Revert-Apply-cgroups-earlier.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/1807.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 1807.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/0001-nsenter-clone-proc-self-exe-to-avoid-exposing-host-b-runc.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-nsenter-clone-proc-self-exe-to-avoid-exposing-host-b-runc.patch --author 'rpm-build ' + /usr/bin/cat /builddir/build/SOURCES/pivot-root.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m pivot-root.patch --author 'rpm-build ' + sed -i '/\#\!\/bin\/bash/d' contrib/completions/bash/runc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.0lJR57 + umask 022 + cd /builddir/build/BUILD + cd runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + mkdir -p GOPATH + pushd GOPATH ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + mkdir -p src/github.com/opencontainers ++ dirs +1 -l + ln -s /builddir/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 src/github.com/opencontainers/runc ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 + popd + pushd GOPATH/src/github.com/opencontainers/runc ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH/src/github.com/opencontainers/runc ~/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7 ++ pwd + export GOPATH=/usr/share/gocode:/builddir/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH/src/github.com/opencontainers/runc/GOPATH + GOPATH=/usr/share/gocode:/builddir/build/BUILD/runc-2abd837c8c25b0102ac4ce14f17bc0bc7ddffba7/GOPATH/src/github.com/opencontainers/runc/GOPATH + export 'BUILDTAGS=selinux seccomp' + BUILDTAGS='selinux seccomp' ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback no_openssl selinux seccomp' -ldflags ' -compressdwarf=false -B 0xc1bae2e3ff13cbb1e4a7c1b545a0c457e6471c61 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'\''' -a -v -x -o runc github.com/opencontainers/runc WORK=/tmp/go-build1494015123 no required module provides package github.com/opencontainers/runc: go.mod file not found in current directory or any parent directory; see 'go help modules' RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0lJR57 (%build) Bad exit status from /var/tmp/rpm-tmp.0lJR57 (%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 599, 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 ppc64le --nodeps /builddir/build/SPECS/runc.spec