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-394646-62432/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=1595894400 Wrote: /builddir/build/SRPMS/origin-3.11.2-2.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-394646-62432/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=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HGNHUw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf origin-20c5b86c88657888e4906ed7942b85515c650f96 + /usr/bin/gzip -dc /builddir/build/SOURCES/origin-3.11.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd origin-20c5b86c88657888e4906ed7942b85515c650f96 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gzip -dc /builddir/build/SOURCES/registry-v3.11.2.tar.gz + tar -xof - + gzip -dc /builddir/build/SOURCES/webconsole-v3.11.2.tar.gz + tar -xof - + gzip -dc /builddir/build/SOURCES/servicecat-v3.11.2.tar.gz + tar -xof - + tar -xof - + gzip -dc /builddir/build/SOURCES/clustercap-v3.11.2.tar.gz Patch #0 (origin-3.6.0-build.patch): + echo '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-bffddbaeee29b7d32fe4cccc62f0049644c21705/hack/build-cross.sh patching file origin-web-console-server-ea422803d27e20a8a78eeaa2d9c5619ac979f834/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.hntORt + umask 022 + cd /builddir/build/BUILD + cd origin-20c5b86c88657888e4906ed7942b85515c650f96 GOLANG DEBUG OUTPUT + echo 'GOLANG DEBUG OUTPUT' + go version go version go1.15.5 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 194621: 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 194217: 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.hntORt (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hntORt (%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