From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bug-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id MMBIJp3tcmM0EAEAbAwnHQ
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 15 Nov 2022 02:38:37 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id +DUpJp3tcmM8iAAAauVa8A
	(envelope-from <bug-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Tue, 15 Nov 2022 02:38:37 +0100
Received: from lists.gnu.org (lists.gnu.org [209.51.188.17])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by aspmx1.migadu.com (Postfix) with ESMTPS id 4F2BC3F0F6
	for <larch@yhetil.org>; Tue, 15 Nov 2022 02:38:37 +0100 (CET)
Received: from localhost ([::1] helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <bug-guix-bounces@gnu.org>)
	id 1ouinW-0007sO-SH; Mon, 14 Nov 2022 18:23:26 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ouifp-0002Di-Ej
 for bug-guix@gnu.org; Mon, 14 Nov 2022 18:15:30 -0500
Received: from debbugs.gnu.org ([209.51.188.43])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1ouXj0-0000dB-4b
 for bug-guix@gnu.org; Mon, 14 Nov 2022 06:34:02 -0500
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1ouXiz-0001B4-RZ
 for bug-guix@gnu.org; Mon, 14 Nov 2022 06:34:01 -0500
Subject: bug#56290: Guix is at version 0, according to "guix --version"
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-To: bug-guix@gnu.org
Resent-Date: Mon, 14 Nov 2022 11:34:01 +0000
Resent-Message-ID: <handler.56290.D56290.16684256104485.done@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: cc-closed 56290
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Efraim Flashner <efraim@flashner.co.il>
Cc: 56290-done@debbugs.gnu.org, Maxime Devos <maximedevos@telenet.be>
Mail-Followup-To: 56290@debbugs.gnu.org, ludo@gnu.org, maximedevos@telenet.be
Received: via spool by 56290-done@debbugs.gnu.org id=D56290.16684256104485
 (code D ref 56290); Mon, 14 Nov 2022 11:34:01 +0000
Received: (at 56290-done) by debbugs.gnu.org; 14 Nov 2022 11:33:30 +0000
Received: from localhost ([127.0.0.1]:49068 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1ouXiU-0001AH-59
 for submit@debbugs.gnu.org; Mon, 14 Nov 2022 06:33:30 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@gnu.org>) id 1ouXiR-0001A3-Rl
 for 56290-done@debbugs.gnu.org; Mon, 14 Nov 2022 06:33:28 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1ouXi8-0008Jq-Ig; Mon, 14 Nov 2022 06:33:17 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=7T14SkUrAmnSJ5xt8VGWlvfTSy9+jDj95K/voGVOspg=; b=HzvTZAp/uTfQ+YIxATsr
 fkW2eHfdmQLhRWg0hLLzCdVm0JiC3lMXGwX2VzJ368SlR+1pcF6gRAFnGtqJiDuqePIM+xYeOLl0H
 +Syx76c4ifUPyZqVXx9eiOAvU86OdqGzOslNIvVxU7WE9gRg9b0ybTtvuqRylO+aDtq/HPXVbxUXH
 e3oDPFuvySM9vROP6pRIAyzJvU2g88u1NiSiLkfmA8A4hQ0Mqhde3oMnVZ/lCdaS5J4/1OL/Re08G
 MMnrvAz1gu0fE0M+7C7KFCekbTafUonKqNSNGzTF4/KpcN33TyIz14EKxm5nUKrIDcJL2b7JTczWH
 OZgxNyIERx+CeQ==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@gnu.org>)
 id 1ouXi7-0007zz-T2; Mon, 14 Nov 2022 06:33:08 -0500
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@gnu.org>
References: <efde6f7e56c57dae6ac168c0258812282dfbcd11.camel@telenet.be>
 <18607fb709a63131108e2d98a93d60f3e7725ec8.camel@telenet.be>
 <fc9d924a767a57c0a21407e7fa56f644d9cf72e0.camel@telenet.be>
 <Y25cL7gNwfA0b0Vf@3900XT>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Quartidi 24 Brumaire an 231 de la
 =?UTF-8?Q?R=C3=A9volution, ?= jour de l'Orange
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Mon, 14 Nov 2022 12:33:06 +0100
In-Reply-To: <Y25cL7gNwfA0b0Vf@3900XT> (Efraim Flashner's message of "Fri, 11
 Nov 2022 16:29:03 +0200")
Message-ID: <87mt8tpy8d.fsf@gnu.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: bug-guix@gnu.org
List-Id: Bug reports for GNU Guix <bug-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/bug-guix>
List-Post: <mailto:bug-guix@gnu.org>
List-Help: <mailto:bug-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/bug-guix>,
 <mailto:bug-guix-request@gnu.org?subject=subscribe>
Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org
Sender: bug-guix-bounces+larch=yhetil.org@gnu.org
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1668476317;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:resent-to:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=7T14SkUrAmnSJ5xt8VGWlvfTSy9+jDj95K/voGVOspg=;
	b=Pe3JcPY1uZ584++kK8zinfVIvWBBA41sP+ifQ5/kr/93NUWSlL1p9b2ReVzPEYztMTy3aQ
	+3ZMxmtRtjFa+i5UcY0gIKK8NyOyt8DEviYCFCMXG2Du7rEH5isQD6Nz4RDa51e9CkJ3nX
	4W6aV2YOAJrS6jcOP/eqLs2CGg4Utdr4aEQ9dAHT4aYB0BGEeChV+HxJmr3Z6A0r55vgmz
	BqTI3yizeW2FgrfN8WzgZB3qP8FFKmkgQ1APvOf2W7qDFOVNmwLaIIDWsXINRhyWj9nEKU
	yySkBhvzA1VdsxhrSRvQaWoHeEl+P2INmFX1xZGqea2Oi8fJGExaC+DcTowBPQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1668476317; a=rsa-sha256; cv=none;
	b=UtHjDdEvtLRP5rIAgZV4bL5abdbRJHM81qPuTM43TtsYWuWxqq1WyvRE9E0uadFG6dPmul
	apdUzhvCv0hpvnZyWWGZ+MIfmOHulBl5GUWhcsUaPs+ztzDWraHgpRn52QrAKixQ3mp2nO
	1ukL1WGRc90UKvdd+afLt8b6C1AXqSiKGj931CzZxtbCK7Hb5ny/uhXHh8dT6YvciAvTmX
	o1KwqePcQa9trn5A/fzGgn269KzefWyVwxupH0NCkCkcd2HSJY8PseYFkQGYBdEUwItq60
	7eDHem1U1rMA2XA0hWuU9JG/qvK8sCyYuC0iDTR7BOE9TsRbf0PlC+LdOrr0yA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="HzvTZAp/";
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -3.94
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="HzvTZAp/";
	dmarc=pass (policy=none) header.from=gnu.org;
	spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 4F2BC3F0F6
X-Spam-Score: -3.94
X-Migadu-Scanner: scn1.migadu.com
X-TUID: 6VLbuUxHNH56

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=3D076e... -- --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 =E2=80=98compiled-guix=E2=80=99 does (define %guix-=
version "0"),
and that got inlined in (guix ui).

Fixed in 54003af85cc5b689bd328b30617c93ed2f5fd647!

Ludo=E2=80=99.