origin: devenv_ami failing on cross compile

https://ci.openshift.redhat.com/jenkins/job/devenv_ami/5209/console

++ Building go targets for linux/amd64: cmd/openshift cmd/oc
# github.com/openshift/origin/vendor/github.com/apcera/gssapi
vendor/github.com/apcera/gssapi/buffer.go:9:27: fatal error: gssapi/gssapi.h: No such file or directory
 #include <gssapi/gssapi.h>
                           ^
compilation terminated.
[ERROR] PID 2356: hack/common.sh:251: `local -a binaries=("$@")` exited with status 1.
[INFO]      Stack Trace: 
[INFO]        1: hack/common.sh:251: `local -a binaries=("$@")`
[INFO]        2: hack/build-cross.sh:24: os::build::build_binaries
[INFO]   Exiting with code 1.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 16 (15 by maintainers)

Most upvoted comments

I just looked through the logs again with @stevekuznetsov and confirmed that while krb5-libs is installed, krb5-devel is NOT installed (on the base image running the compile). Perhaps we just need to specifically request that package in our builds?