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
cmd/go: build with vendor fails when go.mod doesn't record dependencies #47823
Comments
That
Not sure if this is a supported way of doing things? |
originally reported at https://bugs.gentoo.org/808829 I've also reached out to the energi3 developers via email at contact@energi.world; the ticket number in energi3's system is 11780 |
I think this is working correctly. 1.16 should have reported an error. vendor/modules.txt must be consistent with go.mod, and here, the requirements aren't listed in go.mod at all.
Since there aren't any pre-existing requirements, |
Provides compatibility with go 1.17 Fixes warnings in earlier versions of go See golang/go#47823
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ git clone https://github.com/energicryptocurrency/energi3.git
$ cd energi3
$ git checkout v3.0.8
$ go build ./cmd/geth
What did you expect to see?
Successful build of the geth binary
What did you see instead?
Then,
go mod tidy
doesn't update anything.This builds with go 1.16.x, so something changed in 1.17. I don't know if it is a bug in Go or something needs to be changed in the package.
Thanks much for your time.
Cc: @candrews
The text was updated successfully, but these errors were encountered: