-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: go.env modifications during bootstrap makes tests fail #61358
Comments
@alexsaezm could you clarify the exact commands you run? Modify the go.env file, then run all.bash? Perhaps setting |
Which values specifically? |
Change https://go.dev/cl/509637 mentions this issue: |
I modified the
And then, I ran To clarify, this doesn't happen in 1.20 because there is no |
@alexsaezm, https://go.dev/cl/509637 should fix this at HEAD; can you please build at commit 229cde5 or later and confirm? |
It works. Thank you! Regarding the commit message about the builders: just for the record, Fedora's Go package is built with the go.env modified so in case of any error, I'll report it. (Not a substitute of a builder by any means, because it's not integrated at all with Go upstream systems and includes other patches but, just to let you know) |
Tested locally by changing GOROOT/go.env. At some point perhaps we should also set up a builder that runs with some common expected modifications to go.env (such as GOTOOLCHAIN=local GOPROXY=direct GOSUMDB=off). Fixes golang#61358. Updates golang#61359. Change-Id: I365ec536bec86370e302fb726fa897400ab42cf3 Reviewed-on: https://go-review.googlesource.com/c/go/+/509637 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com>
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?
Using go1.21rc3, modify the go.env file in the root folder to different values.
What did you expect to see?
No failure
What did you see instead?
This used to happend to in rc2 as far as I know: #57179 (comment)
The text was updated successfully, but these errors were encountered: