Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-k8s-sample-apiserver.spec'], chrootPath='/var/lib/mock/f39-build-2322354-58585/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-k8s-sample-apiserver.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=1706486400 Wrote: /builddir/build/SRPMS/golang-k8s-sample-apiserver-1.22.0-1.fc39.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-k8s-sample-apiserver.spec'], chrootPath='/var/lib/mock/f39-build-2322354-58585/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-k8s-sample-apiserver.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=1706486400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JU1IWL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sample-apiserver-kubernetes-1.22.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sample-apiserver-kubernetes-1.22.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sample-apiserver-kubernetes-1.22.0 + rm -rf /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/vendor + [[ ! -e /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/bin install: creating directory '/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build' install: creating directory '/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/bin' + export GOPATH=/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/k8s.io/sample-apiserver ]] ++ dirname /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/k8s.io/sample-apiserver + install -m 0755 -vd /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/k8s.io install: creating directory '/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src' install: creating directory '/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/k8s.io' + ln -fs /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0 /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/k8s.io/sample-apiserver + cd /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/k8s.io/sample-apiserver + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hFcsI8 + umask 022 + cd /builddir/build/BUILD + cd sample-apiserver-kubernetes-1.22.0 ++ head -c20 /dev/urandom ++ od -An -tx1 ++ tr -d ' \n' + GOPATH=/builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build:/usr/share/gocode + GO111MODULE=off + go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -ldflags ' -X k8s.io/sample-apiserver/version=1.22.0 -X k8s.io/sample-apiserver/version.tag=kubernetes-1.22.0 -B 0x2ab4d678d45f134e714b762554a681296f38063b -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/sample-apiserver-kubernetes-1.22.0/_build/bin/sample-apiserver k8s.io/sample-apiserver WORK=/tmp/go-build1277586494 /usr/share/gocode/src/k8s.io/apiserver/pkg/server/egressselector/egress_selector.go:39:2: cannot find package "sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client" in any of: /usr/lib/golang/src/sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client (from $GOPATH) /usr/share/gocode/src/sigs.k8s.io/apiserver-network-proxy/konnectivity-client/pkg/client /usr/share/gocode/src/k8s.io/apiserver/pkg/storage/etcd3/event.go:21:2: cannot find package "go.etcd.io/etcd/api/v3/mvccpb" in any of: /usr/lib/golang/src/go.etcd.io/etcd/api/v3/mvccpb (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/go.etcd.io/etcd/api/v3/mvccpb (from $GOPATH) /usr/share/gocode/src/go.etcd.io/etcd/api/v3/mvccpb /usr/share/gocode/src/k8s.io/apiserver/pkg/storage/etcd3/errors.go:22:2: cannot find package "go.etcd.io/etcd/api/v3/v3rpc/rpctypes" in any of: /usr/lib/golang/src/go.etcd.io/etcd/api/v3/v3rpc/rpctypes (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/go.etcd.io/etcd/api/v3/v3rpc/rpctypes (from $GOPATH) /usr/share/gocode/src/go.etcd.io/etcd/api/v3/v3rpc/rpctypes /usr/share/gocode/src/k8s.io/apiserver/pkg/storage/etcd3/compact.go:25:2: cannot find package "go.etcd.io/etcd/client/v3" in any of: /usr/lib/golang/src/go.etcd.io/etcd/client/v3 (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/go.etcd.io/etcd/client/v3 (from $GOPATH) /usr/share/gocode/src/go.etcd.io/etcd/client/v3 /usr/share/gocode/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go:30:2: cannot find package "github.com/grpc-ecosystem/go-grpc-prometheus" in any of: /usr/lib/golang/src/github.com/grpc-ecosystem/go-grpc-prometheus (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/github.com/grpc-ecosystem/go-grpc-prometheus (from $GOPATH) /usr/share/gocode/src/github.com/grpc-ecosystem/go-grpc-prometheus /usr/share/gocode/src/k8s.io/apiserver/pkg/storage/storagebackend/factory/etcd3.go:31:2: cannot find package "go.etcd.io/etcd/client/pkg/v3/transport" in any of: /usr/lib/golang/src/go.etcd.io/etcd/client/pkg/v3/transport (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/go.etcd.io/etcd/client/pkg/v3/transport (from $GOPATH) /usr/share/gocode/src/go.etcd.io/etcd/client/pkg/v3/transport /usr/share/gocode/src/k8s.io/apiserver/pkg/server/options/audit.go:27:2: cannot find package "gopkg.in/natefinch/lumberjack.v2" in any of: /usr/lib/golang/src/gopkg.in/natefinch/lumberjack.v2 (from $GOROOT) /builddir/build/BUILD/sample-apiserver-kubernetes-1.22.0/_build/src/gopkg.in/natefinch/lumberjack.v2 (from $GOPATH) /usr/share/gocode/src/gopkg.in/natefinch/lumberjack.v2 error: Bad exit status from /var/tmp/rpm-tmp.hFcsI8 (%build) Bad exit status from /var/tmp/rpm-tmp.hFcsI8 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-k8s-sample-apiserver.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-k8s-sample-apiserver.spec'