Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Project cannot be built #23

Open
cmoulliard opened this issue Apr 29, 2021 · 0 comments
Open

Issue: Project cannot be built #23

cmoulliard opened this issue Apr 29, 2021 · 0 comments

Comments

@cmoulliard
Copy link

Issue

The Project cannot be built as we got this error

go get -u kubepack.dev/[email protected]
go: downloading kubepack.dev/chart-doc-gen v0.3.4
go: downloading sigs.k8s.io/kustomize/kyaml v0.1.12
go: downloading k8s.io/apimachinery v0.18.3
go: downloading github.com/go-errors/errors v1.0.2
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/go-errors/errors v1.1.1
go: downloading k8s.io/apimachinery v0.21.0
go: downloading sigs.k8s.io/kustomize v1.0.11
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/mattn/go-runewidth v0.0.12
go: downloading sigs.k8s.io/kustomize/kyaml v0.10.17
go: downloading github.com/go-openapi/spec v0.20.3
go: downloading github.com/go-openapi/jsonpointer v0.19.5
go: downloading github.com/go-openapi/swag v0.19.15
go: downloading github.com/go-openapi/jsonreference v0.19.5
go: downloading golang.org/x/net v0.0.0-20200226121028-0de0cce0169b
go: downloading github.com/mailru/easyjson v0.7.7
go: downloading golang.org/x/text v0.3.6
go: downloading gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2
go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
go: downloading golang.org/x/net v0.0.0-20210428140749-89ef3d95e781
go: downloading github.com/rivo/uniseg v0.1.0
go: downloading github.com/josharian/intern v1.0.0
go: downloading github.com/rivo/uniseg v0.2.0
# kubepack.dev/chart-doc-gen/walk
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/associative_sequence.go:53:6: undefined: "sigs.k8s.io/kustomize/kyaml/yaml".IsEmpty
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/associative_sequence.go:54:42: unknown field 'Key' in struct literal of type "sigs.k8s.io/kustomize/kyaml/yaml".ElementSetter
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/associative_sequence.go:54:52: unknown field 'Value' in struct literal of type "sigs.k8s.io/kustomize/kyaml/yaml".ElementSetter
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/associative_sequence.go:70:63: unknown field 'Key' in struct literal of type "sigs.k8s.io/kustomize/kyaml/yaml".ElementSetter
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/associative_sequence.go:70:73: unknown field 'Value' in struct literal of type "sigs.k8s.io/kustomize/kyaml/yaml".ElementSetter
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/associative_sequence.go:76:5: undefined: "sigs.k8s.io/kustomize/kyaml/yaml".IsEmpty
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/map.go:39:23: undefined: "sigs.k8s.io/kustomize/kyaml/yaml".IsEmpty
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/map.go:55:5: undefined: "sigs.k8s.io/kustomize/kyaml/yaml".IsEmpty
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/map.go:111:29: not enough arguments in call to openapi.Resolve
	have (*spec.Ref)
	want (*spec.Ref, *spec.Schema)
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/map.go:125:29: not enough arguments in call to openapi.Resolve
	have (*spec.Ref)
	want (*spec.Ref, *spec.Schema)
../../../golang/pkg/mod/kubepack.dev/[email protected]/walk/map.go:125:29: too many errors

Version

go env
GO111MODULE=""
GOARCH="amd64"
GOBIN="/usr/local/opt/go/libexec/bin"
GOCACHE="/Users/cmoullia/Library/Caches/go-build"
GOENV="/Users/cmoullia/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/cmoullia/code/golang"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/Cellar/go/1.16.3/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.16.3/libexec/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.3"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/t2/jwchtqkn5y76hrfrws7dqtqm0000gn/T/go-build515653748=/tmp/go-build -gno-record-gcc-switches -fno-common"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant