Package Details: origin-client 3.11.0-4

Git Clone URL: https://aur.archlinux.org/origin-client.git (read-only)
Package Base: origin-client
Description: Openshift client
Upstream URL: https://github.com/openshift/origin
Licenses: Apache
Submitter: jhenson
Maintainer: jhenson
Last Packager: jhenson
Votes: 0
Popularity: 0.000000
First Submitted: 2019-01-12 18:28
Last Updated: 2019-04-13 21:40

Latest Comments

jhenson commented on 2019-04-13 21:43

@insequent, thanks for the report. I've always built it in a clean chroot so I never noticed that. I just did some tests and just unsetting GOPATH seems to fix it. I've pushed an updated PKGBUILD.

insequent commented on 2019-04-13 16:34

I had some issues with "hack/generate-docs.sh", as it was trying to follow my default $GOPATH to look for src. I was able to work around this by adding the following to PKGBUILD (keep in mind, I'm no expert at this):

prepare() {
  mkdir -p "${srcdir}/github.com/openshift/"
  ln -rTsf origin "${srcdir}/github.com/openshift/origin"
}

build() {
  export GOPATH=${startdir}
  cd "${srcdir}/origin"
  make WHAT=cmd/oc
  hack/generate-docs.sh
}