[pkg-go] golang-golang-x-tools not migrating to testing, why?

Tianon Gravi tianon at debian.org
Tue Nov 1 20:31:03 UTC 2016


On 1 November 2016 at 11:28, Martín Ferrari <tincho at tincho.org> wrote:
> Now it is failing to build on gccgo arches [0], possibly due to some
> tool still hardcoding the location for godoc. It would be great if
> somebody can take a look, I have already spent way too much time on this
> this week :)

Here's the relevant build log snippet:

| go install -v -p 1 golang.org/x/tools/benchmark/parse ...
golang.org/x/tools/refactor/satisfy
| ...
| golang.org/x/tools/cmd/godoc
| go install golang.org/x/tools/cmd/godoc: open /usr/bin/godoc:
permission denied
| golang.org/x/tools/imports
| ...

So it appears that gccgo's "go install" is trying to "install" godoc
into "/usr/bin" instead of "$GOPATH/bin" for some reason. :/


♥,
- Tianon
  4096R / B42F 6819 007F 00F8 8E36  4FD4 036A 9C25 BF35 7DD4



More information about the Pkg-go-maintainers mailing list