You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to build with Go 1.17, you first encounter a problem with things like go get -v -u golang.org/x/tools/cmd/goimports no longer doing the build/install (due to purposeful deprecations...https://go.dev/doc/go-get-install-deprecation). I hand-waved that problem away, and then I get:
go build -o build/bin/linux/kube2iam -ldflags "-s -X ""github.com/jtblin"/kube2iam"/version.Version=$(git describe --abbrev=0 --tags) -X ""github.com/jtblin"/kube2iam"/version.GitCommit=$(git rev-parse --short HEAD) -X ""github.com/jtblin"/kube2iam"/version.BuildDate=$(date +%Y-%m-%d-%H:%M)" github.com/jtblin/kube2iam/cmd
/code/pkg/mod/golang.org/x/[email protected]/ssh/terminal/terminal.go:14:2: missing go.sum entry for module providing package golang.org/x/term (imported by golang.org/x/crypto/ssh/terminal); to add:
go get golang.org/x/crypto/ssh/[email protected]
make: *** [Makefile:28: build] Error 1
The command '/bin/sh -c make setup && make build' returned a non-zero code: 2
I tried running go mod tidy before running make to update the go.mod and go.sum, but that didn't seem to help.
The text was updated successfully, but these errors were encountered:
When building
kube2iam
with Go 1.14 (for the purpose of creating an ARM docker image), you encounter this error:When trying to build with Go 1.17, you first encounter a problem with things like
go get -v -u golang.org/x/tools/cmd/goimports
no longer doing the build/install (due to purposeful deprecations...https://go.dev/doc/go-get-install-deprecation). I hand-waved that problem away, and then I get:I tried running
go mod tidy
before runningmake
to update thego.mod
andgo.sum
, but that didn't seem to help.The text was updated successfully, but these errors were encountered: