ntOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/origin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.afF62d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf origin-git-0.4737fd6 + /usr/bin/gzip -dc /builddir/build/SOURCES/origin-git-0.4737fd6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd origin-git-0.4737fd6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rhKnaN + umask 022 + cd /builddir/build/BUILD + cd origin-git-0.4737fd6 + BUILD_PLATFORM=linux/arm64 + OS_ONLY_BUILD_PLATFORMS=linux/arm64 + OS_GIT_MINOR=10+ + OS_GIT_MAJOR=3 + OS_GIT_VERSION=v3.10.0-alpha.0+4737fd6-833 + OS_GIT_TREE_STATE=clean + KUBE_GIT_VERSION=v1.10.0+b81c8f8 + OS_GIT_PATCH=0 + KUBE_GIT_COMMIT=b81c8f8 + OS_GIT_COMMIT=4737fd6 + ETCD_GIT_VERSION=v3.2.16-0-g121edf0 + ETCD_GIT_COMMIT=121edf0 + OS_BUILD_RELEASE_ARCHIVES=n + make build-cross hack/build-cross.sh /builddir/build/BUILD/origin-git-0.4737fd6/hack/lib/constants.sh: line 133: KUBE_GIT_MAJOR: unbound variable [ERROR] [01:05:19+0000] PID 12321: hack/lib/constants.sh:133: `ldflags+=($(os::build::ldflag "${OS_GO_PACKAGE}/vendor/k8s.io/kubernetes/pkg/version.gitMajor" "${KUBE_GIT_MAJOR}"))` exited with status 1. [INFO] [01:05:19+0000] Stack Trace: [INFO] [01:05:19+0000] 1: hack/lib/constants.sh:133: `ldflags+=($(os::build::ldflag "${OS_GO_PACKAGE}/vendor/k8s.io/kubernetes/pkg/version.gitMajor" "${KUBE_GIT_MAJOR}"))` [INFO] [01:05:19+0000] 2: hack/lib/build/binaries.sh:172: os::build::ldflags [INFO] [01:05:19+0000] 3: hack/lib/build/binaries.sh:156: os::build::internal::build_binaries [INFO] [01:05:20+0000] 4: hack/lib/build/binaries.sh:139: os::build::build_binaries [INFO] [01:05:20+0000] 5: hack/build-cross.sh:71: os::build::build_static_binaries [INFO] [01:05:20+0000] Exiting with code 1. [ERROR] [01:05:20+0000] PID 12301: hack/lib/build/binaries.sh:172: `version_ldflags=$(os::build::ldflags)` exited with status 1. [INFO] [01:05:20+0000] Stack Trace: [INFO] [01:05:20+0000] 1: hack/lib/build/binaries.sh:172: `version_ldflags=$(os::build::ldflags)` [INFO] [01:05:20+0000] 2: hack/lib/build/binaries.sh:156: os::build::internal::build_binaries [INFO] [01:05:20+0000] 3: hack/lib/build/binaries.sh:139: os::build::build_binaries [INFO] [01:05:20+0000] 4: hack/build-cross.sh:71: os::build::build_static_binaries [INFO] [01:05:20+0000] Exiting with code 1. [ERROR] [01:05:20+0000] PID 12230: hack/lib/build/binaries.sh:150: `local -a binaries=("$@")` exited with status 1. [INFO] [01:05:20+0000] Stack Trace: [INFO] [01:05:20+0000] 1: hack/lib/build/binaries.sh:150: `local -a binaries=("$@")` [INFO] [01:05:20+0000] 2: hack/lib/build/binaries.sh:139: os::build::build_binaries [INFO] [01:05:20+0000] 3: hack/build-cross.sh:71: os::build::build_static_binaries [INFO] [01:05:20+0000] Exiting with code 1. make: *** [build-cross] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.rhKnaN (%build) Bad exit status from /var/tmp/rpm-tmp.rhKnaN (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/origin.spec