Package Details: kops 1.18.0-0

Git Clone URL: https://aur.archlinux.org/kops.git (read-only, click to copy)
Package Base: kops
Description: Kubernetes Operations - Production Grade K8s Installation, Upgrades, and Management (build from src)
Upstream URL: https://github.com/kubernetes/kops
Licenses: Apache
Submitter: arth
Maintainer: arth
Last Packager: arth
Votes: 2
Popularity: 1.40
First Submitted: 2020-06-30 09:50
Last Updated: 2020-08-05 07:17

Dependencies (2)

Required by (0)

Sources (0)

Latest Comments

arth commented on 2020-07-08 07:33

what version of go are you using?

I'm using go version go1.14.4 linux/amd64

scr1m3 commented on 2020-07-07 11:15

I'm getting the following error:


go: downloading github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420
go: downloading github.com/coreos/go-semver v0.2.0
# k8s.io/legacy-cloud-providers/gce
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce.go:280:33: error: reference to undefined name ‘NewAlphaFeatureGate’
  280 |  cloudConfig.AlphaFeatureGate = NewAlphaFeatureGate([]string{})
      |                                 ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce.go:302:34: error: reference to undefined name ‘NewAlphaFeatureGate’
  302 |   cloudConfig.AlphaFeatureGate = NewAlphaFeatureGate(configFile.Global.AlphaFeatures)
      |                                  ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce.go:144:20: error: use of undefined type ‘AlphaFeatureGate’
  144 |  AlphaFeatureGate *AlphaFeatureGate
      |                    ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_addresses.go:188:24: error: reference to field ‘Enabled’ in object which has no fields or methods
  188 |  if !g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                        ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_addresses.go:188:33: error: reference to undefined name ‘AlphaFeatureNetworkTiers’
  188 |  if !g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                                 ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_forwardingrule.go:154:24: error: reference to field ‘Enabled’ in object which has no fields or methods
  154 |  if !g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                        ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_forwardingrule.go:154:33: error: reference to undefined name ‘AlphaFeatureNetworkTiers’
  154 |  if !g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                                 ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_loadbalancer_external.go:79:23: error: reference to field ‘Enabled’ in object which has no fields or methods
   79 |  if g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                       ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_loadbalancer_external.go:79:32: error: reference to undefined name ‘AlphaFeatureNetworkTiers’
   79 |  if g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                                ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_loadbalancer_external.go:1059:24: error: reference to field ‘Enabled’ in object which has no fields or methods
 1059 |  if !g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                        ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_loadbalancer_external.go:1059:33: error: reference to undefined name ‘AlphaFeatureNetworkTiers’
 1059 |  if !g.AlphaFeatureGate.Enabled(AlphaFeatureNetworkTiers) {
      |                                 ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce_util.go:44:25: error: reference to undefined name ‘NewAlphaFeatureGate’
   44 |  gce.AlphaFeatureGate = NewAlphaFeatureGate([]string{})
      |                         ^
../../../pkg/mod/k8s.io/legacy-cloud-providers@v0.0.0-20190819145509-592c9a46fd00/gce/gce.go:144:20: error: use of undefined type ‘AlphaFeatureGate’
  144 |  AlphaFeatureGate *AlphaFeatureGate
      |                    ^
(null):0: confused by earlier errors, bailing out
make: *** [Makefile:120: kops-install] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

arth commented on 2020-07-01 13:34

You are welcome!

purist commented on 2020-07-01 13:30

Awesome, thanks so much for this PKGBUILD. Very nice to have a proper build from source option for kops.

JanSurft commented on 2020-07-01 13:01

Hi arth,

great thanks, it is working now as expected.

arth commented on 2020-07-01 11:40

Hi JanSurft! I will also add git as a dependency.

JanSurft commented on 2020-07-01 11:15

UPDATE:

Downloading and building works. I thinks it had something todo with updating using aur sync with chroot e.g. aur sync -cu

Original comment

The latest update produces the following error upon build:

go: missing Git command. See https://golang.org/s/gogetcmd
package k8s.io/kops: exec: "git": executable file not found in $PATH