cmd/go: /root/go as GOROOT results in "missing $GOPATH" #34488
Labels
FrozenDueToAge
WaitingForInfo
Issue is not actionable because of missing required information, which needs to be provided.
Uh oh!
There was an error while loading. Please reload this page.
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?
Simply extracted latest go version into root and tried to set my
GOROOT
to/root/go
and rungo env
.What did you expect to see?
For the go commands to work as usual.
What did you see instead?
missing $gopath
as an error. Moving it to/root/foo/go
worked fined (that's wherego env
output is from).The text was updated successfully, but these errors were encountered: