From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Clemmer Subject: bug#31786: 'pre-inst-env guix --version' is not updated by new commits" Date: Tue, 12 Jun 2018 20:51:30 -0400 Message-ID: <87o9gf5x0t.fsf@gmail.com> References: <87r2lddwyg.fsf@gmail.com> <87k1r4p2ca.fsf@gnu.org> <87k1r3271g.fsf@gmail.com> <87d0wvoicy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSu18-0006JN-2K for bug-guix@gnu.org; Tue, 12 Jun 2018 20:52:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSu14-0005wX-U0 for bug-guix@gnu.org; Tue, 12 Jun 2018 20:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:37663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSu14-0005wG-Q1 for bug-guix@gnu.org; Tue, 12 Jun 2018 20:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fSu14-0000ol-59 for bug-guix@gnu.org; Tue, 12 Jun 2018 20:52:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <87d0wvoicy.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31786@debbugs.gnu.org Ludovic Court=C3=A8s writes: > George Clemmer 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=E2=80=99 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=E2=80=99m not comfortable documenting this because it=E2=80=99s 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