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

"make updatedeps" failing #62

Open
candlerb opened this issue Feb 15, 2022 · 3 comments
Open

"make updatedeps" failing #62

candlerb opened this issue Feb 15, 2022 · 3 comments

Comments

@candlerb
Copy link

Platform: macOS 12.2.1, go version go1.17.6 darwin/amd64

I'm not sure whether this is fundamentally a problem with vault-ssh-helper or one of its upstream go libraries (and if so which one), so I thought I'd raise it here first.

$ make updatedeps
GO111MODULE=off go get -u github.com/mitchellh/gox
echo $(go list ./... | grep -v /vendor/) \
		| xargs go list -f '{{ join .Deps "\n" }}{{ printf "\n" }}{{ join .TestImports "\n" }}' \
		| grep -v github.com/hashicorp/vault-ssh-helper \
		| xargs go get -f -u -v
go get: -f flag is a no-op when using modules
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/hashicorp/go-rootcerts v1.0.2
go: downloading github.com/hashicorp/go-retryablehttp v0.7.0
go: downloading github.com/hashicorp/go-hclog v1.1.0
go: downloading github.com/hashicorp/go-sockaddr v1.0.2
go: downloading github.com/hashicorp/go-uuid v1.0.2
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/hashicorp/vault/api v1.3.1
go: downloading github.com/hashicorp/vault v1.9.3
go: downloading github.com/hashicorp/vault/sdk v0.3.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/mitchellh/mapstructure v1.4.3
go: downloading github.com/ryanuber/go-glob v1.0.0
go: downloading golang.org/x/crypto v0.0.0-20220214200702-86341886e292
go: downloading github.com/pierrec/lz4 v2.6.1+incompatible
go: downloading golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
go: downloading golang.org/x/text v0.3.7
go: downloading gopkg.in/square/go-jose.v2 v2.6.0
go: downloading golang.org/x/time v0.0.0-20220210224613-90d013bbcef8
go get: module golang.org/x/crypto@upgrade found (v0.0.0-20220214200702-86341886e292), but does not contain package golang.org/x/crypto/ed25519/internal/edwards25519
go get: module golang.org/x/crypto@upgrade found (v0.0.0-20220214200702-86341886e292), but does not contain package golang.org/x/crypto/ed25519/internal/edwards25519
make: *** [updatedeps] Error 1

I get the same error on an Ubuntu system, go version go1.16.6 linux/amd64.

I note that go.mod references github.com/hashicorp/vault/api v1.0.5-0.20200608151603-eb666e94bdb4,but

go get github.com/hashicorp/vault/[email protected]

works without errors. So does this:

$ go mod vendor
go: downloading github.com/hashicorp/vault/api v1.0.5-0.20200608151603-eb666e94bdb4
go: downloading github.com/hashicorp/errwrap v1.0.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.1
go: downloading github.com/hashicorp/go-multierror v1.0.0
go: downloading github.com/hashicorp/go-retryablehttp v0.6.2
go: downloading github.com/hashicorp/go-rootcerts v1.0.1
go: downloading github.com/hashicorp/vault/sdk v0.1.14-0.20200514144402-4bfac290c352
go: downloading github.com/mitchellh/mapstructure v1.2.2
go: downloading gopkg.in/square/go-jose.v2 v2.3.1
go: downloading github.com/hashicorp/go-hclog v0.12.0
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/mattn/go-colorable v0.1.4
go: downloading github.com/mattn/go-isatty v0.0.10
go: downloading github.com/pierrec/lz4 v2.0.5+incompatible
go: downloading github.com/golang/snappy v0.0.1
go: downloading golang.org/x/text v0.3.1-0.20181227161524-e6919f6577db
go: downloading golang.org/x/crypto v0.0.0-20190418165655-df01cb2cc480
go: downloading golang.org/x/sys v0.0.0-20191008105621-543471e840be
$
@candlerb
Copy link
Author

I also just got an E-mail from github:

[hashicorp/vault-ssh-helper] Jira Sync workflow run

Jira Sync: All jobs have failed

View workflow run

@iuli72an
Copy link

iuli72an commented May 5, 2022

I get the same error:

$ make updatedeps
GO111MODULE=off go get -u github.com/mitchellh/gox
echo $(go list ./...)
| xargs go list -f '{{ join .Deps "\n" }}{{ printf "\n" }}{{ join .TestImports "\n" }}'
| grep -v github.com/hashicorp/vault-ssh-helper
| xargs go get -f -u -v
go: downloading github.com/hashicorp/vault/api v1.4.1
go: downloading github.com/hashicorp/go-uuid v1.0.2
go: downloading github.com/cenkalti/backoff/v3 v3.0.0
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.2
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading github.com/hashicorp/go-retryablehttp v0.6.6
go: downloading github.com/hashicorp/go-rootcerts v1.0.2
go: downloading github.com/hashicorp/go-secure-stdlib/parseutil v0.1.1
go: downloading github.com/hashicorp/hcl v1.0.0
go: downloading github.com/hashicorp/vault/sdk v0.4.1
go: downloading golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1
go: downloading golang.org/x/net v0.0.0-20210226172049-e18ecbb05110
go: downloading github.com/mitchellh/mapstructure v1.4.2
go: downloading gopkg.in/square/go-jose.v2 v2.5.1
go: downloading github.com/hashicorp/go-secure-stdlib/strutil v0.1.1
go: downloading github.com/hashicorp/go-sockaddr v1.0.2
go: downloading github.com/hashicorp/go-hclog v0.16.2
go: downloading github.com/mitchellh/copystructure v1.0.0
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading google.golang.org/protobuf v1.26.0
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/pierrec/lz4 v2.5.2+incompatible
go: downloading github.com/ryanuber/go-glob v1.0.0
go: downloading github.com/hashicorp/go-plugin v1.4.3
go: downloading github.com/hashicorp/go-secure-stdlib/mlock v0.1.1
go: downloading github.com/hashicorp/go-version v1.2.0
go: downloading google.golang.org/grpc v1.41.0
go: downloading github.com/armon/go-metrics v0.3.9
go: downloading github.com/hashicorp/golang-lru v0.5.4
go: downloading go.uber.org/atomic v1.9.0
go: downloading github.com/armon/go-radix v1.0.0
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/mattn/go-isatty v0.0.12
go: downloading github.com/mitchellh/reflectwalk v1.0.0
go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97
go: downloading github.com/golang/protobuf v1.5.2
go: downloading github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb
go: downloading github.com/oklog/run v1.0.0
go: downloading golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
go: downloading google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013
go: downloading github.com/hashicorp/go-immutable-radix v1.3.1
go: downloading github.com/mattn/go-colorable v0.1.6
go: downloading golang.org/x/text v0.3.3
go: -f flag is a no-op when using modules
go: downloading github.com/cenkalti/backoff/v3 v3.2.2
go: downloading github.com/fatih/color v1.13.0
go: downloading github.com/armon/go-metrics v0.3.11
go: downloading github.com/cenkalti/backoff v2.2.1+incompatible
go: downloading github.com/hashicorp/go-hclog v1.2.0
go: downloading github.com/hashicorp/go-plugin v1.4.4
go: downloading github.com/hashicorp/go-retryablehttp v0.7.1
go: downloading github.com/hashicorp/go-secure-stdlib/mlock v0.1.2
go: downloading github.com/hashicorp/go-secure-stdlib/strutil v0.1.2
go: downloading github.com/hashicorp/go-uuid v1.0.3
go: downloading github.com/hashicorp/go-secure-stdlib/parseutil v0.1.4
go: downloading github.com/hashicorp/go-secure-stdlib v0.0.7
go: downloading github.com/hashicorp/go-version v1.4.0
go: downloading github.com/hashicorp/vault/api v1.5.0
go: downloading github.com/hashicorp/vault v1.10.2
go: downloading github.com/mattn/go-colorable v0.1.12
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/hashicorp/yamux v0.0.0-20211028200310-0bc27b27de87
go: downloading github.com/mitchellh/go-testing-interface v1.14.1
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/oklog/run v1.1.0
go: downloading github.com/pierrec/lz4 v2.6.1+incompatible
go: downloading golang.org/x/crypto v0.0.0-20220427172511-eb4f295cb31f
go: downloading golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4
go: downloading golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6
go: downloading golang.org/x/text v0.3.7
go: downloading golang.org/x/time v0.0.0-20220411224347-583f2d630306
go: downloading google.golang.org/grpc v1.46.0
go: downloading google.golang.org/genproto v0.0.0-20220504150022-98cd25cafc72
go: downloading google.golang.org/protobuf v1.28.0
go: downloading gopkg.in/square/go-jose.v2 v2.6.0
go: module google.golang.org/grpc@upgrade found (v1.46.0), but does not contain package google.golang.org/grpc/internal/xds/env
go: module google.golang.org/grpc@upgrade found (v1.46.0), but does not contain package google.golang.org/grpc/internal/xds/env
Makefile:59: recipe for target 'updatedeps' failed
make: *** [updatedeps] Error 123

Is there any solution to this?

@AslamJabri
Copy link

GO111MODULE=off go get -u github.com/mitchellh/gox
echo $(go list ./...)
| xargs go list -f '{{ join .Deps "\n" }}{{ printf "\n" }}{{ join .TestImports "\n" }}'
| grep -v github.com/hashicorp/vault-ssh-helper
| xargs go get -f -u -v
go get: -f flag is a no-op when using modules
go get vendor/golang.org/x/net/dns/dnsmessage: malformed module path "vendor/golang.org/x/net/dns/dnsmessage": missing dot in first path element
go get vendor/golang.org/x/crypto/hkdf: malformed module path "vendor/golang.org/x/crypto/hkdf": missing dot in first path element
go get vendor/golang.org/x/crypto/cryptobyte/asn1: malformed module path "vendor/golang.org/x/crypto/cryptobyte/asn1": missing dot in first path element
go get vendor/golang.org/x/crypto/internal/chacha20: malformed module path "vendor/golang.org/x/crypto/internal/chacha20": missing dot in first path element
go: finding golang.org/x/net latest
go: finding google.golang.org/genproto latest
go get vendor/golang.org/x/text/secure/bidirule: malformed module path "vendor/golang.org/x/text/secure/bidirule": missing dot in first path element
go get vendor/golang.org/x/crypto/internal/subtle: malformed module path "vendor/golang.org/x/crypto/internal/subtle": missing dot in first path element
go: finding golang.org/x/crypto latest
go get vendor/golang.org/x/net/http/httpguts: malformed module path "vendor/golang.org/x/net/http/httpguts": missing dot in first path element
go get vendor/golang.org/x/crypto/curve25519: malformed module path "vendor/golang.org/x/crypto/curve25519": missing dot in first path element
go get vendor/golang.org/x/crypto/poly1305: malformed module path "vendor/golang.org/x/crypto/poly1305": missing dot in first path element
go get vendor/golang.org/x/crypto/cryptobyte: malformed module path "vendor/golang.org/x/crypto/cryptobyte": missing dot in first path element
go get vendor/golang.org/x/text/unicode/norm: malformed module path "vendor/golang.org/x/text/unicode/norm": missing dot in first path element
go: finding golang.org/x/time latest
go get vendor/golang.org/x/sys/cpu: malformed module path "vendor/golang.org/x/sys/cpu": missing dot in first path element
go get vendor/golang.org/x/crypto/chacha20poly1305: malformed module path "vendor/golang.org/x/crypto/chacha20poly1305": missing dot in first path element
go get vendor/golang.org/x/text/transform: malformed module path "vendor/golang.org/x/text/transform": missing dot in first path element
go: finding golang.org/x/sys latest
go get vendor/golang.org/x/net/http2/hpack: malformed module path "vendor/golang.org/x/net/http2/hpack": missing dot in first path element
go get vendor/golang.org/x/net/idna: malformed module path "vendor/golang.org/x/net/idna": missing dot in first path element
go get vendor/golang.org/x/net/http/httpproxy: malformed module path "vendor/golang.org/x/net/http/httpproxy": missing dot in first path element
go get vendor/golang.org/x/text/unicode/bidi: malformed module path "vendor/golang.org/x/text/unicode/bidi": missing dot in first path element
go get google.golang.org/grpc/internal/xds/env: module google.golang.org/grpc@upgrade found (v1.49.0), but does not contain package google.golang.org/grpc/internal/xds/env
make: *** [Makefile:60: updatedeps] Error 123

Is it an error of dependencies?

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

3 participants