Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec'], chrootPath='/var/lib/mock/f40-build-737117-106713/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1639958400 Wrote: /builddir/build/SRPMS/golang-gvisor-20211129.0-2.20211217git9bd5098.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec'], chrootPath='/var/lib/mock/f40-build-737117-106713/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1639958400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cJMhRI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gvisor-9bd5098511159f089530db891c1fd4c770cccc62 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gvisor-9bd5098511159f089530db891c1fd4c770cccc62.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gvisor-9bd5098511159f089530db891c1fd4c770cccc62 + rm -rf /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/vendor + [[ ! -e /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/bin install: creating directory '/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build' install: creating directory '/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/bin' + export GOPATH=/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev/gvisor ]] ++ dirname /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev/gvisor + install -m 0755 -vd /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev install: creating directory '/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src' install: creating directory '/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev' + ln -fs /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62 /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev/gvisor + cd /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev/gvisor + mkdir -p vendor/github.com/bazelbuild/rules_go/go/tools/coverdata/ + cp /builddir/build/SOURCES/coverdata.go vendor/github.com/bazelbuild/rules_go/go/tools/coverdata/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VDqhyC + umask 022 + cd /builddir/build/BUILD + cd gvisor-9bd5098511159f089530db891c1fd4c770cccc62 ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + GOPATH=/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -X gvisor.dev/gvisor/version.commit=9bd5098511159f089530db891c1fd4c770cccc62 -X gvisor.dev/gvisor/version=20211129.0 -B 0x022959b2188e0d981ae1803ef9069d043b473ccf -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '\''' -a -v -x -o /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/bin/runsc gvisor.dev/gvisor/runsc WORK=/tmp/go-build2538841035 package gvisor.dev/gvisor/runsc imports gvisor.dev/gvisor/runsc/cli imports gvisor.dev/gvisor/pkg/coverage imports gvisor.dev/gvisor/pkg/hostarch imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev/gvisor/pkg/gohacks package gvisor.dev/gvisor/runsc imports gvisor.dev/gvisor/runsc/cli imports gvisor.dev/gvisor/runsc/cmd imports gvisor.dev/gvisor/pkg/sentry/control imports gvisor.dev/gvisor/pkg/sentry/fdimport imports gvisor.dev/gvisor/pkg/sentry/fs/host imports gvisor.dev/gvisor/pkg/sentry/kernel imports gvisor.dev/gvisor/pkg/goid: build constraints exclude all Go files in /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/src/gvisor.dev/gvisor/pkg/goid error: Bad exit status from /var/tmp/rpm-tmp.VDqhyC (%build) Bad exit status from /var/tmp/rpm-tmp.VDqhyC (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec