GNU bug report logs - #56290
Guix is at version 0, according to "guix --version"

Previous Next

Package: guix;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Tue, 28 Jun 2022 20:50:02 UTC

Severity: normal

Merged with 58927

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 56290-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 56290-done <at> debbugs.gnu.org, Maxime Devos <maximedevos <at> telenet.be>
Subject: Re: bug#56290: Guix is at version 0, according to "guix --version"
Date: Mon, 14 Nov 2022 12:33:06 +0100
Hi,

Efraim Flashner <efraim <at> flashner.co.il> skribis:

> I've hunted this down using 'guix time-machine' and it looks like the
> first commit where the version string returns 0 is
> 076e825dc5d585943ce820a279fffe4af09757fb. On that
> commit 'guix time-machine --commit=076e... -- --version' returns 0 and
> on the commit before that 5996aab354831d942b10253bc70217a4f2e6a247 we
> get the commit as the version string.
>
> Looking at the commits I'm guessing that the 076e825d commit interacts
> with the af57d1bf commit 2 before it, and whether the guile is guile-3.0
> or guile-final or guile-3.0-latest.

Fun!  Turns out this was caused by cross-module inlining: the initial
config.scm generated in ‘compiled-guix’ does (define %guix-version "0"),
and that got inlined in (guix ui).

Fixed in 54003af85cc5b689bd328b30617c93ed2f5fd647!

Ludo’.




This bug report was last modified 2 years and 248 days ago.

Previous Next


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