On Thu, Jun 11, 2015 at 08:58:37AM -0700, Andrew Udvare wrote:
> 
> > On 2015-06-11, at 08:38, William Hubbs <willi...@gentoo.org> wrote:
> > 
> > this eclass is meant to provide a common src_compile function for
> > packages written in the Go programming language.
> > 
> > Let me know what you think.
> > 
> 
> I am wondering about bug 503324 and the issue of needing to create a GOROOT 
> with everything except the package to be compiled. Is your way solving this 
> issue?

I looked at an example in the tree (specifically go-fuse) and the
src_compile I wrote is the same as the one there.

In the testing I've done here, GOPATH must be set or "go get" doesn't
work. The newest code for packages will always be stored in the first
directory listed in GOPATH, not in GOROOT.

Given how GOPATH works in relation to GOROOT, I don't know yet why the
ebuilds in the tree are copying goroot; I'm not quite sure what they are
working around yet.

For more info, look at "go help gopath" and "go help packages".

Let me know what you think after reading those.

William

Attachment: signature.asc
Description: Digital signature

Reply via email to