unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 56290-done@debbugs.gnu.org, Maxime Devos <maximedevos@telenet.be>
Subject: bug#56290: Guix is at version 0, according to "guix --version"
Date: Mon, 14 Nov 2022 12:33:06 +0100	[thread overview]
Message-ID: <87mt8tpy8d.fsf@gnu.org> (raw)
In-Reply-To: <Y25cL7gNwfA0b0Vf@3900XT> (Efraim Flashner's message of "Fri, 11 Nov 2022 16:29:03 +0200")

Hi,

Efraim Flashner <efraim@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’.




      reply	other threads:[~2022-11-15  1:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-28 20:49 bug#56290: Guix is at version 0, according to "guix --version" Maxime Devos
2022-06-28 20:56 ` Maxime Devos
2022-06-28 21:00   ` Maxime Devos
2022-11-11 14:29     ` Efraim Flashner
2022-11-14 11:33       ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mt8tpy8d.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=56290-done@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=maximedevos@telenet.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).