[pkg-golang-devel] Bug#776401: Bug#776401: Bug#776401: [Pkg-golang-devel] Bug#776401: Bug#776401: src:golang: Set CGO_ENABLED for all platforms

Tianon Gravi admwiggin at gmail.com
Thu Feb 11 23:44:31 UTC 2016


On 4 February 2016 at 16:56, Michael Hudson-Doyle
<michael.hudson at canonical.com> wrote:
> I guess it could be fixed by going back to building lots of
> golang-$GOOS-$GOARCH packages, but somehow that doesn't seem very
> appealing, it would be nicer to allow the go install command to work
> (which would also allow the user to use their choice of toolchain for
> cgo, etc). But I don't know how to do that. Have a per-user overlayfs
> over /usr/lib/go and set GOROOT to that? (not a serious suggestion!)

IMO at this point, anything writing to GOROOT on "go install" ought to
be considered an upstream bug. :(

Any chance of tracking down what's causing those to try to go to
GOROOT instead of GOPATH?

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



More information about the pkg-golang-devel mailing list