projectriff-archive / cnab-k8s-installer-base

A CNAB bundle that allows creation of other declarative CNAB bundles
Apache License 2.0
0 stars 6 forks source link

update-codegen.sh fails on a clean system #44

Closed scothis closed 5 years ago

scothis commented 5 years ago
$ ./hack/update-codegen.sh 
code-generator does not exist, cloaning it into $GOPATH
~/Development/go/src/k8s.io ~/Development/projectriff/cnab-k8s-installer-base
Cloning into 'code-generator'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 6809 (delta 4), reused 7 (delta 2), pack-reused 6800
Receiving objects: 100% (6809/6809), 4.24 MiB | 2.78 MiB/s, done.
Resolving deltas: 100% (3270/3270), done.
~/Development/projectriff/cnab-k8s-installer-base
cmd/defaulter-gen/args/args.go:23:2: cannot find package "k8s.io/gengo/args" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/gengo/args (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/gengo/args (from $GOPATH)
cmd/defaulter-gen/args/args.go:24:2: cannot find package "k8s.io/gengo/examples/defaulter-gen/generators" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/gengo/examples/defaulter-gen/generators (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/gengo/examples/defaulter-gen/generators (from $GOPATH)
cmd/defaulter-gen/main.go:51:2: cannot find package "k8s.io/klog" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/klog (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/klog (from $GOPATH)
cmd/client-gen/generators/scheme/generator_for_scheme.go:28:2: cannot find package "k8s.io/gengo/generator" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/gengo/generator (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/gengo/generator (from $GOPATH)
cmd/client-gen/types/helpers.go:25:2: cannot find package "k8s.io/gengo/namer" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/gengo/namer (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/gengo/namer (from $GOPATH)
cmd/client-gen/generators/scheme/generator_for_scheme.go:30:2: cannot find package "k8s.io/gengo/types" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/gengo/types (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/gengo/types (from $GOPATH)
cmd/deepcopy-gen/args/args.go:24:2: cannot find package "k8s.io/gengo/examples/deepcopy-gen/generators" in any of:
        /usr/local/Cellar/go/1.12.6/libexec/src/k8s.io/gengo/examples/deepcopy-gen/generators (from $GOROOT)
        /Users/scothis/Development/go/src/k8s.io/gengo/examples/deepcopy-gen/generators (from $GOPATH)