Re: [gentoo-dev] rfc: adding GOPATH to ENV_UNSET in base profile

2020-06-06 Thread William Hubbs
On Mon, Jun 01, 2020 at 04:31:16PM +0200, Rafael Goncalves Martins wrote:
> On Sun, May 31, 2020 at 9:06 PM William Hubbs  wrote:
> 
> > All,
> >
> > The GOPATH variable has similar issues to GOBIN [1], so I would like to
> > add it along side GOBIN to ENV_UNSET in the base profile.
> >
> > The message link below is only there for reference, but I see ebuilds
> > unsetting GOPATH in the tree and this would take care of it across all
> > of the tree.
> >
> > Thoughts?
> >
> >
> We need this. Anyone developing go software with GOPATH explicitly set will
> hit issues like this when installing a package using go-module.eclass, at
> least:
> 
> verifying github.com/mitchellh/go-homedir@v1.1.0: open
> /home/rafael/dev/git/go/pkg/mod/cache/download/
> github.com/mitchellh/go-homedir/@v/v1.1.0.ziphash: permission denied

This is done.

Thanks,

William



signature.asc
Description: PGP signature


Re: [gentoo-dev] rfc: adding GOPATH to ENV_UNSET in base profile

2020-06-01 Thread Rafael Goncalves Martins
On Sun, May 31, 2020 at 9:06 PM William Hubbs  wrote:

> All,
>
> The GOPATH variable has similar issues to GOBIN [1], so I would like to
> add it along side GOBIN to ENV_UNSET in the base profile.
>
> The message link below is only there for reference, but I see ebuilds
> unsetting GOPATH in the tree and this would take care of it across all
> of the tree.
>
> Thoughts?
>
>
We need this. Anyone developing go software with GOPATH explicitly set will
hit issues like this when installing a package using go-module.eclass, at
least:

verifying github.com/mitchellh/go-homedir@v1.1.0: open
/home/rafael/dev/git/go/pkg/mod/cache/download/
github.com/mitchellh/go-homedir/@v/v1.1.0.ziphash: permission denied


> Thanks,
>
> William
>
> [1]
> https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0
>

Thanks,

-- 
Rafael Goncalves Martins
Gentoo Linux developer
http://rafaelmartins.eng.br/


[gentoo-dev] rfc: adding GOPATH to ENV_UNSET in base profile

2020-05-31 Thread William Hubbs
All,

The GOPATH variable has similar issues to GOBIN [1], so I would like to
add it along side GOBIN to ENV_UNSET in the base profile.

The message link below is only there for reference, but I see ebuilds
unsetting GOPATH in the tree and this would take care of it across all
of the tree.

Thoughts?

Thanks,

William

[1] 
https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0


signature.asc
Description: PGP signature