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

Michael Hudson-Doyle michael.hudson at canonical.com
Tue Nov 1 21:44:16 UTC 2016


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

> 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. :/
>

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-go-maintainers/attachments/20161102/3f9e8b65/attachment.html>


More information about the Pkg-go-maintainers mailing list