Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rhc-worker-script.spec'], chrootPath='/var/lib/mock/rhc-worker-script-0.6-1.el7_9-20240320160415-22400/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/rhc-worker-script.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/rhc-worker-script-0.6-1.el7_9.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rhc-worker-script.spec'], chrootPath='/var/lib/mock/rhc-worker-script-0.6-1.el7_9-20240320160415-22400/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rhc-worker-script.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iSnkhE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rhc-worker-script-0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/rhc-worker-script-0.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd rhc-worker-script-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.J2KKE3 + umask 022 + cd /builddir/build/BUILD + cd rhc-worker-script-0.6 + mkdir -p _gopath/src ++ pwd + ln -fs /builddir/build/BUILD/rhc-worker-script-0.6/src _gopath/src/rhc-script-worker-0.6 ++ pwd + ln -fs /builddir/build/BUILD/rhc-worker-script-0.6/vendor _gopath/src/rhc-script-worker-0.6/vendor ++ pwd ~/build/BUILD/rhc-worker-script-0.6/_gopath/src/rhc-script-worker-0.6 ~/build/BUILD/rhc-worker-script-0.6 + export GOPATH=/builddir/build/BUILD/rhc-worker-script-0.6/_gopath + GOPATH=/builddir/build/BUILD/rhc-worker-script-0.6/_gopath + pushd _gopath/src/rhc-script-worker-0.6 ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + env GO111MODULE=off go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -linkmode=external -B 0x2df32ed5fa7b6aa486201724bf63bb0324b3d381 -extldflags '\''-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '\''' -a -v vendor/golang.org/x/net/http2/transport.go:19:2: cannot find package "io/fs" in any of: /builddir/build/BUILD/rhc-worker-script-0.6/_gopath/src/rhc-script-worker-0.6/vendor/io/fs (vendor tree) /usr/lib/golang/src/io/fs (from $GOROOT) /builddir/build/BUILD/rhc-worker-script-0.6/_gopath/src/io/fs (from $GOPATH) RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.J2KKE3 (%build) Bad exit status from /var/tmp/rpm-tmp.J2KKE3 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/rhc-worker-script.spec