GNU bug report logs - #25752
go incremental builds broken

Previous Next

Package: guix;

Reported by: Hank Donnay <hdonnay <at> gmail.com>

Date: Thu, 16 Feb 2017 15:06:01 UTC

Severity: normal

Tags: moreinfo

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxime Devos <maximedevos <at> telenet.be>
To: zimoun <zimon.toutoune <at> gmail.com>, Leo Famulari <leo <at> famulari.name>
Cc: 25752 <at> debbugs.gnu.org, Hank Donnay <hdonnay <at> gmail.com>, Efraim Flashner <efraim <at> flashner.co.il>
Subject: bug#25752: go incremental builds broken
Date: Thu, 27 Oct 2022 12:21:32 +0200
[Message part 1 (text/plain, inline)]

On 26-10-2022 22:42, zimoun wrote:
> Hi,
> 
> On Tue, 14 Sep 2021 at 12:43, zimoun <zimon.toutoune <at> gmail.com> wrote:
>> On Fri, 18 Dec 2020 at 16:31, Leo Famulari <leo <at> famulari.name> wrote:
>>> On Fri, Dec 18, 2020 at 09:00:14PM +0100, zimoun wrote:
>>>> I suspect closing this bug had been forgotten.  If yes, feel free to
>>>> close it.  Otherwise, I do not understand what is the next actionable
>>>> step.
>>>
>>> I don't think this bug has been fixed, although I have not checked.
>>> Currently, Go incremental builds and library re-use is not functional in
>>> Guix, unless I missed a new development.
>>
>> What is the status of this bug?  Since I am not using Go at all, it is
>> hard for me to have a reproducer.  Is it possible to provide a
>> reproducer?  Thanks. [...]

A reproducer was given in
<https://issues.guix.gnu.org/25752#0>:

guix environment --ad-hoc go -- bash -c 'export t=$(mktemp -d); cd
$t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go install cmd/go; cd
&& rm -rf $t'

guix environment --ad-hoc go -- bash -c 'export t=$(mktemp -d); cd
$t && export GOPATH=$(pwd) GOBIN=$(pwd)/bin && go list -f '\''{{join
.Deps "\n"}}'\'' cmd/go | xargs -n1 go list -f '\''{{if
.Stale}}{{.ImportPath}}: {{.StaleReason}}{{end}}'\''; cd && rm -rf $t'

I don't know if this reproducer still works/fails.

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

This bug report was last modified 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.