Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec'], chrootPath='/var/lib/mock/f40-build-805502-144769/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3e5c25e6a64d40ec9de62fdba765e18e', '-D', '/var/lib/mock/f40-build-805502-144769/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec'], chrootPath='/var/lib/mock/f40-build-805502-144769/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f0d1410cfea244f8b54d2794cf27ec42', '-D', '/var/lib/mock/f40-build-805502-144769/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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.bBKhno + 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.qaAPSM + umask 022 + cd /builddir/build/BUILD + cd gvisor-9bd5098511159f089530db891c1fd4c770cccc62 ++ echo golang-gvisor-20211129.0-2.20211217git9bd5098.fc40-1639958400 ++ sha1sum ++ cut -d ' ' -f1 + GOPATH=/builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -a -v -x -ldflags ' -X gvisor.dev/gvisor/version.commit=9bd5098511159f089530db891c1fd4c770cccc62 -X gvisor.dev/gvisor/version=20211129.0 -B 0xdde3b5bd5deb8ed55da7ccbca4e7f4e0b1ab1ce1 -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 '\''' -o /builddir/build/BUILD/gvisor-9bd5098511159f089530db891c1fd4c770cccc62/_build/bin/runsc gvisor.dev/gvisor/runsc WORK=/tmp/go-build4052253287 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.qaAPSM (%build) Bad exit status from /var/tmp/rpm-tmp.qaAPSM (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M f0d1410cfea244f8b54d2794cf27ec42 -D /var/lib/mock/f40-build-805502-144769/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M f0d1410cfea244f8b54d2794cf27ec42 -D /var/lib/mock/f40-build-805502-144769/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j81cki3g:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-gvisor.spec