Live ebuild of go (for versions >= 1.5) now requires go-1.4 [1] as per project's bootstrapping plans [2]. On i386 and amd64 prebuilt packages from http://golang.org/dl/ can be used, and it's likely that full bootstrapping is required on other arches. [1] https://groups.google.com/forum/#!topic/golang-dev/WylRdCIB81U [2] https://golang.org/s/go15bootstrap Reproducible: Always
Created attachment 394246 [details, diff] fixes to go-9999 ebuild hardcoded to amd64 With this changes to ebuild I managed to compile latest go version, so the fix with prebuilt packages should be rather easy. It is hardcoded to amd64, and only shows the idea.
Wouldn't it be fun if it could use an installed version as well?
The approach I took was to create a new package, dev-lang/go-bootstrap, which is a separate installation of go-1.4.1 which installs in /usr/lib/go1.4. This path then is used as GOROOT_BOOTSTRAP in the live ebuild which has a build-time dependency onn >=dev-lang/go-bootstrap-1.4.1.
But that means you always pull in dev-lang/go-bootstrap on rebuilding dev-lang/go, even when a perfectly good alternative (dev-lang/go) is in place?