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-github-mock.spec'], chrootPath='/var/lib/mock/f37-build-649687-72751/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=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-github-mock.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=1658361600 Wrote: /builddir/build/SRPMS/golang-github-mock-1.6.0-5.fc37.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-github-mock.spec'], chrootPath='/var/lib/mock/f37-build-649687-72751/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=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-github-mock.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qWxFzi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-1.6.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mock-1.6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-1.6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/mock-1.6.0/vendor + [[ ! -e /builddir/build/BUILD/mock-1.6.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/mock-1.6.0/_build/bin install: creating directory '/builddir/build/BUILD/mock-1.6.0/_build' install: creating directory '/builddir/build/BUILD/mock-1.6.0/_build/bin' + export GOPATH=/builddir/build/BUILD/mock-1.6.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/mock-1.6.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/mock-1.6.0/_build/src/github.com/golang/mock ]] ++ dirname /builddir/build/BUILD/mock-1.6.0/_build/src/github.com/golang/mock + install -m 0755 -vd /builddir/build/BUILD/mock-1.6.0/_build/src/github.com/golang install: creating directory '/builddir/build/BUILD/mock-1.6.0/_build/src' install: creating directory '/builddir/build/BUILD/mock-1.6.0/_build/src/github.com' install: creating directory '/builddir/build/BUILD/mock-1.6.0/_build/src/github.com/golang' + ln -fs /builddir/build/BUILD/mock-1.6.0 /builddir/build/BUILD/mock-1.6.0/_build/src/github.com/golang/mock + cd /builddir/build/BUILD/mock-1.6.0/_build/src/github.com/golang/mock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YjaTjB + umask 022 + cd /builddir/build/BUILD + cd mock-1.6.0 + for cmd in mockgen ++ head -c20 /dev/urandom ++ tr -d ' \n' ++ od -An -tx1 ++ basename mockgen + GOPATH=/builddir/build/BUILD/mock-1.6.0/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -X github.com/golang/mock/version=1.6.0 -B 0x3dfb3c91ecbed9695f83d4af9bb628dc547e1be8 -compressdwarf=false -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/mock-1.6.0/_build/bin/mockgen github.com/golang/mock/mockgen WORK=/tmp/go-build4251447167 _build/src/github.com/golang/mock/mockgen/mockgen.go:41:2: cannot find package "golang.org/x/mod/modfile" in any of: /usr/lib/golang/src/golang.org/x/mod/modfile (from $GOROOT) /builddir/build/BUILD/mock-1.6.0/_build/src/golang.org/x/mod/modfile (from $GOPATH) /usr/share/gocode/src/golang.org/x/mod/modfile error: Bad exit status from /var/tmp/rpm-tmp.YjaTjB (%build) Bad exit status from /var/tmp/rpm-tmp.YjaTjB (%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-github-mock.spec