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/origin.spec'], chrootPath='/var/lib/mock/f37-build-649484-72749/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/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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/origin-3.11.2-8.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/origin.spec'], chrootPath='/var/lib/mock/f37-build-649484-72749/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/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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.J6bRe8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf origin-20c5b86c88657888e4906ed7942b85515c650f96 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/origin-3.11.2.tar.gz + 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 - + gzip -dc /builddir/build/SOURCES/clustercap-v3.11.2.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 -f -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.zQUzTr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS GOLANG DEBUG OUTPUT + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-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' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd origin-20c5b86c88657888e4906ed7942b85515c650f96 + echo 'GOLANG DEBUG OUTPUT' + go version go version go1.19 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/sockcmsg_unix.go:43:9: undefined: Cmsghdr vendor/golang.org/x/sys/unix/syscall_linux.go:423:11: undefined: RawSockaddrLinklayer vendor/golang.org/x/sys/unix/syscall_linux.go:447:9: undefined: RawSockaddrNetlink vendor/golang.org/x/sys/unix/syscall_linux.go:461:10: undefined: RawSockaddrHCI vendor/golang.org/x/sys/unix/syscall_linux.go:492:10: undefined: RawSockaddrCAN vendor/golang.org/x/sys/unix/syscall_linux.go:580:10: undefined: RawSockaddrALG vendor/golang.org/x/sys/unix/syscall_linux.go:622:7: undefined: RawSockaddrVM vendor/golang.org/x/sys/unix/syscall_unix.go:142:38: undefined: _Socklen vendor/golang.org/x/sys/unix/syscall_unix.go:148:7: undefined: RawSockaddrInet4 vendor/golang.org/x/sys/unix/syscall_unix.go:155:9: undefined: RawSockaddrInet6 vendor/golang.org/x/sys/unix/syscall_unix.go:155:9: too many errors [ERROR] PID 1452105: 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 1451590: 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.zQUzTr (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zQUzTr (%build) 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/origin.spec