On 2 November 2016 at 09:31, Tianon Gravi <tia...@debian.org> wrote:

> On 1 November 2016 at 11:28, Martín Ferrari <tin...@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. :/
>

Go 1.6 did that too, but the special behaviour here was removed for 1.7.
gccgo-6 still has a version of the go tool based on 1.6 though, so
(unfortunately) the GOROOT hack that
3852aaaac129b5154b63e2b86ba5db13390096ba calls "uneeded" is, in fact,
needed for a little longer.

Cheers,
mwh
_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to