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: Mon, 11 Jun 2018 14:01:11 -0400 Message-ID: <87r2lddwyg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSR8o-0008Hj-Ij for bug-guix@gnu.org; Mon, 11 Jun 2018 14:02:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSR8l-0001eP-AU for bug-guix@gnu.org; Mon, 11 Jun 2018 14:02:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSR8l-0001eF-3z for bug-guix@gnu.org; Mon, 11 Jun 2018 14:02:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fSR8k-0000lY-Oq for bug-guix@gnu.org; Mon, 11 Jun 2018 14:02:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fSR82-0007km-29 for bug-guix@gnu.org; Mon, 11 Jun 2018 14:01:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fSR7y-0001By-Qf for bug-guix@gnu.org; Mon, 11 Jun 2018 14:01:18 -0400 Received: from mail-qt0-x22b.google.com ([2607:f8b0:400d:c0d::22b]:46170) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fSR7y-0001BM-Lk for bug-guix@gnu.org; Mon, 11 Jun 2018 14:01:14 -0400 Received: by mail-qt0-x22b.google.com with SMTP id h5-v6so21100034qtm.13 for ; Mon, 11 Jun 2018 11:01:14 -0700 (PDT) Received: from sysi31 (c-73-167-118-254.hsd1.ma.comcast.net. [73.167.118.254]) by smtp.gmail.com with ESMTPSA id v123-v6sm30184239qka.79.2018.06.11.11.01.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 11 Jun 2018 11:01:12 -0700 (PDT) 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: 31786@debbugs.gnu.org When I clone and build Guix from scratch, it produces the untracked file "doc/stamp-1" which contains the version number built into the Guix doc and appears to be created from a call to 'git describe'. But with subsequent git commit/make cycles the version does not change. It doesn't change when the guix package is updated either. For example, after pulling and building the recent commit updating the guix package ... commit 8b3aea9d9e022b20137cec93f668df8fa051abd9 Author: Ludovic Courtès Date: Sun Jun 10 23:31:01 2018 +0200 gnu: guix: Update to 77a1aac. * gnu/packages/package-management.scm (guix): Update to 77a1aac. g1@sysi31 ~/gom/.emacs.d/guix/guix [gmm]$ git describe 8b3aea9d9e022b20137cec93f668df8fa051abd9 v0.14.0-6300-g8b3aea9d9 "doc/stamp-1" and guix version remain "stuck" on June 8th ... g1@sysi31 ~/gom/.emacs.d/guix/guix [gmm]$ cat doc/stamp-1 @set UPDATED 8 June 2018 @set UPDATED-MONTH June 2018 @set EDITION 0.14.0.5478-1458f7 @set VERSION 0.14.0.5478-1458f7 g1@sysi31 ~/gom/.emacs.d/guix/guix [gmm]$ ./pre-inst-env guix --version guix (GNU Guix) 0.14.0.5478-1458f7 They remain stuck after 'make clean; make', and './bootstrap; ./configure; make' The only way I found to "unstick" them is 'sudo git clean -dfx'. Side questions: 1) why don't you gitignore "doc/stamp-1"? 2) why don't you gitignore .po files? TIA - George