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: GO111MODULE=on and unset GOPATH generate incompatible module checksums #29664
Comments
/cc @bcmills |
Dup of #29278. Run |
@bcmills, this is not a duplicate. The problem still occurs after |
Yes, it is a duplicate. Read the whole reply.
|
Read the whole bug report. The first step of my example is |
Yes, and you ran Here's what I get, starting from a clean
The error in your snippet is telling you exactly what is wrong: the module cache in your default |
No, that explains it. Sorry for the bother (and salt). |
The problem that caused our Jenkins jobs to fail due to a "checksum mismatch" is exactly this one: golang/go#29664 In order to fix it, I removed the `go.sum` file and recreated it, which lead to the two checksums being updated.
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?
What did you expect to see?
I expected the same (or at least compatible)
go.sum
to be generatedThe text was updated successfully, but these errors were encountered: