GNU bug report logs - #31786
'pre-inst-env guix --version' is not updated by new commits"

Previous Next

Package: guix;

Reported by: George Clemmer <myglc2 <at> gmail.com>

Date: Mon, 11 Jun 2018 18:02:02 UTC

Severity: normal

Full log


Message #17 received at 31786 <at> debbugs.gnu.org (full text, mbox):

From: George Clemmer <myglc2 <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: 31786 <at> debbugs.gnu.org
Subject: Re: bug#31786: 'pre-inst-env guix --version' is not updated by new
 commits"
Date: Tue, 12 Jun 2018 20:51:30 -0400
Ludovic Courtès <ludo <at> gnu.org> writes:

> George Clemmer <myglc2 <at> gmail.com> skribis:
>
>> Ok, cool. Thanks for the clarification. So... how about adding a
>> footnote to '(guix) Running Guix Before It Is Installed' something like
>> ...
>>
>> (3) The Guix version in the Guix build is set by './configure'. Thus,
>> when guix is run from the Git working tree by './pre-inst-env guix' or a
>> '~/.config/guix/latest’ symlink, the version reported by 'guix
>> --version' is not updated by subsequent 'git pull; make' steps. To
>> update the version (and rebuild everything), you may use 'git clean
>> -dfx; ./bootstrap; ./configure; make'.
>
> I’m not comfortable documenting this because it’s nothing specific to
> Guix.

So to summarize: This behavior is a side effect of how GNU tools
work. It is obvious to anyone who understands them. You don't want to
describe things that are obvious. I understand.

But I think many users don't have a clue about GNU build tools. They may
be puzzled by how pre-inst-env works. I think the footnote would be
helpful for them. I urge you to reconsider.

> Besides, note that ~/.config/guix/latest no longer exists.

Yes, I saw you revamped Guix pull but I haven't actually used guix pull
in over a year.  I need to check the new one out.

- George




This bug report was last modified 6 years and 359 days ago.

Previous Next


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