Bug 1427871 - FTBFS on s390x due outdated sys
Summary: FTBFS on s390x due outdated sys
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: origin
Version: rawhide
Hardware: s390x
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Miller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ZedoraTracker
TreeView+ depends on / blocked
 
Reported: 2017-03-01 12:48 UTC by Dan Horák
Modified: 2017-04-27 18:51 UTC (History)
4 users (show)

Fixed In Version: origin-1.5.0-1.fc27
Clone Of:
Environment:
Last Closed: 2017-04-27 18:38:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1400000 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 1400000

Description Dan Horák 2017-03-01 12:48:06 UTC
Build on s390x fails with

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3sPq7u
GOLANG DEBUG OUTPUT
+ umask 022
+ cd /builddir/build/BUILD
+ cd origin-3f9807ab8282e1af64128834b246c41ce50172d4
+ echo 'GOLANG DEBUG OUTPUT'
+ go version
go version go1.8 linux/s390x
+ BUILD_PLATFORM=linux/s390x
+ OS_ONLY_BUILD_PLATFORMS=linux/s390x
+ OS_GIT_TREE_STATE=clean
+ OS_GIT_VERSION=v1.4.1
+ OS_GIT_COMMIT=3f9807a
+ OS_GIT_MAJOR=1
+ OS_GIT_MINOR=3
+ hack/build-cross.sh
++ Building go targets for linux/s390x: images/pod cmd/dockerregistry cmd/gitserver pkg/sdn/plugin/sdn-cni-plugin vendor/github.com/containernetworking/cni/plugins/ipam/host-local vendor/github.com/containernetworking/cni/plugins/main/loopback examples/hello-openshift examples/deployment
# github.com/openshift/origin/vendor/golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/flock.go:18: undefined: Flock_t
vendor/golang.org/x/sys/unix/sockcmsg_linux.go:14: undefined: Ucred
vendor/golang.org/x/sys/unix/sockcmsg_linux.go:27: undefined: Ucred
vendor/golang.org/x/sys/unix/sockcmsg_unix.go:42: undefined: Cmsghdr
[ERROR] PID 26653: hack/common.sh:341: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${OS_OUTPUT_PKGDIR}" "${goflags[@]:+${goflags[@]}}" "${platform_goflags[@]:+${platform_goflags[@]}}" -ldflags "${version_ldflags}" "${nonstatics[@]}"` exited with status 2.
[INFO] 		Stack Trace: 
[INFO] 		  1: hack/common.sh:341: `GOOS=${platform%/*} GOARCH=${platform##*/} go install -pkgdir "${OS_OUTPUT_PKGDIR}" "${goflags[@]:+${goflags[@]}}" "${platform_goflags[@]:+${platform_goflags[@]}}" -ldflags "${version_ldflags}" "${nonstatics[@]}"`
[INFO] 		  2: hack/common.sh:275: os::build::internal::build_binaries
[INFO] 		  3: hack/common.sh:261: os::build::build_binaries
[INFO] 		  4: hack/build-cross.sh:40: os::build::build_static_binaries
[INFO]   Exiting with code 2.
[ERROR] PID 26465: hack/common.sh:272: `( os::build::internal::build_binaries "${binaries[@]+"${binaries[@]}"}" )` exited with status 2.
[INFO] 		Stack Trace: 
[INFO] 		  1: hack/common.sh:272: `( os::build::internal::build_binaries "${binaries[@]+"${binaries[@]}"}" )`
[INFO] 		  2: hack/common.sh:261: os::build::build_binaries
[INFO] 		  3: hack/build-cross.sh:40: os::build::build_static_binaries
[INFO]   Exiting with code 2.
error: Bad exit status from /var/tmp/rpm-tmp.3sPq7u (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.3sPq7u (%build)
Child return code was: 1
EXCEPTION: [Error()]

which is AFAIK caused by outdated sys package (somewhere), kubernetes has similar/same problem.

Version-Release number of selected component (if applicable):
origin-1.4.1-1.fc26

Comment 1 Dan Horák 2017-03-01 12:49:34 UTC
recent build task is https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2508526

Comment 2 Dan Horák 2017-04-27 18:38:45 UTC
not a problem any more with origin-1.5.0-1.fc27


Note You need to log in before you can comment on or make changes to this bug.