619ac979f834/hack/build-cross.sh patching file service-catalog-2e6be86d6e11c14aaca5c62e291879c9c694f425/hack/build-cross.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KCmZmH + umask 022 + cd /builddir/build/BUILD + cd origin-20c5b86c88657888e4906ed7942b85515c650f96 + echo 'GOLANG DEBUG OUTPUT' + go version GOLANG DEBUG OUTPUT go version go1.15rc1 linux/riscv64 + export TRAVIS=true + TRAVIS=true + export GO111MODULE=off + GO111MODULE=off + export GOPROXY=direct + GOPROXY=direct + export GOSUMDB=off + GOSUMDB=off + OS_ONLY_BUILD_PLATFORMS= + OS_GIT_COMMIT=20c5b86 + OS_GIT_VERSION=v3.11.0+20c5b86 + OS_GIT_MAJOR=3 + OS_GIT_MINOR=11+ + OS_GIT_PATCH=0 + OS_GIT_TREE_STATE=clean + KUBE_GIT_VERSION=v1.10.0+b3b92b2 + KUBE_GIT_MAJOR=1 + KUBE_GIT_MINOR=10+ + KUBE_GIT_COMMIT=b3b92b2 + ETCD_GIT_COMMIT=135cf9b + ETCD_GIT_VERSION=v3.2.16-0-135cf9b + OS_GIT_CATALOG_VERSION=v0.1.9 + OS_BUILD_RELEASE_ARCHIVES=n + make build-cross hack/build-cross.sh ++ Building go targets for linux/riscv64: images/pod ++ Building go targets for linux/riscv64: cmd/sdn-cni-plugin vendor/github.com/containernetworking/plugins/plugins/ipam/host-local vendor/github.com/containernetworking/plugins/plugins/main/loopback # github.com/openshift/origin/vendor/golang.org/x/sys/unix vendor/golang.org/x/sys/unix/flock.go:16:42: undefined: Flock_t vendor/golang.org/x/sys/unix/sockcmsg_linux.go:14:29: undefined: Ucred vendor/golang.org/x/sys/unix/sockcmsg_linux.go:27:54: undefined: Ucred vendor/golang.org/x/sys/unix/sockcmsg_unix.go:37:18: undefined: Cmsghdr vendor/golang.org/x/sys/unix/sockcmsg_unix.go:43:9: undefined: Cmsghdr vendor/golang.org/x/sys/unix/sockcmsg_unix.go:64:52: undefined: Cmsghdr vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body vendor/golang.org/x/sys/unix/sockcmsg_unix.go:64:52: too many errors [ERROR] PID 10491: hack/lib/build/binaries.sh:236: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${pkgdir}/${platform}" -tags "${OS_GOFLAGS_TAGS-} ${!platform_gotags_envvar:-}" -ldflags="${local_ldflags}" "${goflags[@]:+${goflags[@]}}" -gcflags "${gogcflags}" "${nonstatics[@]}"` exited with status 2. [INFO] Stack Trace: [INFO] 1: hack/lib/build/binaries.sh:236: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${pkgdir}/${platform}" -tags "${OS_GOFLAGS_TAGS-} ${!platform_gotags_envvar:-}" -ldflags="${local_ldflags}" "${goflags[@]:+${goflags[@]}}" -gcflags "${gogcflags}" "${nonstatics[@]}"` [INFO] 2: hack/lib/build/binaries.sh:156: os::build::internal::build_binaries [INFO] 3: hack/build-cross.sh:82: os::build::build_binaries [INFO] Exiting with code 2. [ERROR] PID 10077: hack/lib/build/binaries.sh:156: `( os::build::internal::build_binaries "${binaries[@]+"${binaries[@]}"}" )` exited with status 2. [INFO] Stack Trace: [INFO] 1: hack/lib/build/binaries.sh:156: `( os::build::internal::build_binaries "${binaries[@]+"${binaries[@]}"}" )` [INFO] 2: hack/build-cross.sh:82: os::build::build_binaries [INFO] Exiting with code 2. make: *** [Makefile:282: build-cross] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.KCmZmH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KCmZmH (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/origin.spec