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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxime Devos <maximedevos <at> telenet.be>
Subject: bug#56290: closed (Re: bug#56290: Guix is at version 0, according
 to "guix --version")
Date: Mon, 14 Nov 2022 11:34:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#56290: Guix is at version 0, according to "guix --version"

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 56290 <at> debbugs.gnu.org.

-- 
56290: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56290
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
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’.

[Message part 3 (message/rfc822, inline)]
From: Maxime Devos <maximedevos <at> telenet.be>
To: bug-guix <at> gnu.org
Subject: Guix is at version 0, according to "guix --version"
Date: Tue, 28 Jun 2022 22:49:18 +0200
[Message part 4 (text/plain, inline)]
$ guix --version
guix (GNU Guix) 0
Copyright © 2022 de auteurs van Guix
Licentie GPLv3+: GNU GPL versie 3 of nieuwer
<http://gnu.org/licenses/gpl.nl.html>
Dit is vrije software: je bent vrij om het aan te passen en het verder
te verspreiden.
Er is GEEN ENKELE GARANTIE, voor zover wettelijk toegestaan.

Didn't there use to be a commint instead of 0 or after 0?
(Reproduced by other people on #guix.)

Greetings,
Maxime.
[signature.asc (application/pgp-signature, inline)]

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.