Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/origin.spec'], chrootPath='/var/lib/mock/f33-build-276849-51639/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/origin.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1588291200 Wrote: /builddir/build/SRPMS/origin-3.11.1-6.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/origin.spec'], chrootPath='/var/lib/mock/f33-build-276849-51639/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/origin.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1588291200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5zgTE3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf origin-8de5c3442e56dbe05403990ce0821746673fd588 + /usr/bin/gzip -dc /builddir/build/SOURCES/origin-3.11.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd origin-8de5c3442e56dbe05403990ce0821746673fd588 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gzip -dc /builddir/build/SOURCES/registry-v3.11.1.tar.gz + tar -xof - + gzip -dc /builddir/build/SOURCES/webconsole-v3.11.1.tar.gz + tar -xof - + gzip -dc /builddir/build/SOURCES/servicecat-v3.11.1.tar.gz + tar -xof - + gzip -dc /builddir/build/SOURCES/clustercap-v3.11.1.tar.gz + tar -xof - + echo 'Patch #0 (origin-3.6.0-build.patch):' Patch #0 (origin-3.6.0-build.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .bsfix --fuzz=0 patching file cluster-capacity-22be164a90dc8d2705ce05638e6ce61839596dfc/hack/build-cross.sh patching file hack/build-cross.sh patching file image-registry-0d49798e519cb36d27c97392e92a9bf41ef90b66/hack/build-cross.sh patching file origin-web-console-server-ea422803d27e20a8a78eeaa2d9c5619ac979f834/hack/build-cross.sh patching file service-catalog-c0f3fe8b3d0127d1be39a6dfa56baf96153ad762/hack/build-cross.sh Patch #1 (import-fix.patch): + echo 'Patch #1 (import-fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .import --fuzz=0 patching file pkg/apps/apiserver/registry/deployconfig/etcd/etcd.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VGQNb2 + umask 022 GOLANG DEBUG OUTPUT + cd /builddir/build/BUILD + cd origin-8de5c3442e56dbe05403990ce0821746673fd588 + echo 'GOLANG DEBUG OUTPUT' + go version go version go1.14 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=8de5c34 + OS_GIT_VERSION=v3.11.0+8de5c34 + OS_GIT_MAJOR=3 + OS_GIT_MINOR=11+ + OS_GIT_PATCH=0 + OS_GIT_TREE_STATE=clean + KUBE_GIT_VERSION=v1.10.0+d4cacc0 + KUBE_GIT_MAJOR=1 + KUBE_GIT_MINOR=10+ + KUBE_GIT_COMMIT=d4cacc0 + ETCD_GIT_COMMIT=121edf0 + ETCD_GIT_VERSION=v3.2.16-0-121edf0 + 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 27177: 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 26774: 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.VGQNb2 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.VGQNb2 (%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