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: remove special-case that puts godoc in $GOROOT/bin #15106
Comments
-me, +@rsc |
I think we should probably remove the special case for Go 1.7. The release-builder tool can take care of putting |
CL https://golang.org/cl/21701 mentions this issue. |
CL https://golang.org/cl/21703 mentions this issue. |
Updates #15106 Change-Id: I4214b841d63bb7e9c3c5ede2abe21a8a68f06c41 Reviewed-on: https://go-review.googlesource.com/21701 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
I have submitted the fix to |
Ping @adg. We're closing in on the beta release, so it's about time to submit your CL. |
Thanks for the reminder @quentinmit! |
What version of Go are you using (
go version
)?What operating system and processor architecture are you using (
go env
)?What did you expect to see?
godoc
gets installed to$GOPATH/bin/godoc
.What did you see instead?
On Arch Linux, and, I assume, most other distributions that have a Go package in their repositories,
$GOROOT
is set to a directory that all users have access to. On Arch, it gets set to/usr/lib/go/
. This means that installinggodoc
viago get
can only be done by root because it is hardwired in thego
tool (pkg.go:703) to install to$GOROOT/bin
.The text was updated successfully, but these errors were encountered: