GNU bug report logs -
#30287
Go compiler tries writing to the store
Previous Next
Reported by: Leo Famulari <leo <at> famulari.name>
Date: Mon, 29 Jan 2018 21:40:02 UTC
Severity: normal
Done: Sarah Morgensen <iskarian <at> mgsn.dev>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 30287 <at> debbugs.gnu.org (full text, mbox):
Hello,
Looking through old Go bugs I found this. Is this still an issue for
anyone? I just tested with go <at> 1.14 and go <at> 1.16 and I got expected
behavior (binary was installed in ~/go/bin, since ~/go is the default
GOPATH).
Leo Famulari <leo <at> famulari.name> writes:
> On Mon, Jan 29, 2018 at 10:50:10AM +0100, Peter Mikkelsen wrote:
>> Hi guix,
>
> Hi, thanks for this report! I saw your brief conversation on #guix with
> civodul. Unfortunately I've only been paying attention to packaging Go
> software with Guix, so I didn't notice this issue.
>
>> For example, after setting the environment variable GOPATH to
>> /home/peter/go, and creating a small hello world program in there, I
>> would normally be able to run 'go install' in that folder, and the
>> hello world binary would end up in my gopath. But on guixSD this is
>> not the case, since it seems like 'go install' is trying to compile
>> every single library provided by to go package itself, and that means
>> writing to the store, which is not possible.
--
Sarah
This bug report was last modified 3 years and 363 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.