GNU bug report logs - #53210
installer: referring to N-1 guix is problematic.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Mathieu Othacehe <othacehe@HIDDEN>; dated Wed, 12 Jan 2022 16:24:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added indication that bug 53210 blocks53214 Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 53210 <at> debbugs.gnu.org:


Received: (at 53210) by debbugs.gnu.org; 12 Jan 2022 17:41:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 12 12:41:46 2022
Received: from localhost ([127.0.0.1]:58963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n7hd4-0002Uh-4Z
	for submit <at> debbugs.gnu.org; Wed, 12 Jan 2022 12:41:46 -0500
Received: from hera.aquilenet.fr ([185.233.100.1]:60894)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1n7hd1-0002UP-Nc
 for 53210 <at> debbugs.gnu.org; Wed, 12 Jan 2022 12:41:44 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id B3CEA22E;
 Wed, 12 Jan 2022 18:41:37 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id zjC8M4D0_V8u; Wed, 12 Jan 2022 18:41:37 +0100 (CET)
Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id A89D11DC;
 Wed, 12 Jan 2022 18:41:36 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#53210: installer: referring to N-1 guix is problematic.
References: <87czkw6hzk.fsf@HIDDEN>
Date: Wed, 12 Jan 2022 18:41:36 +0100
In-Reply-To: <87czkw6hzk.fsf@HIDDEN> (Mathieu Othacehe's message of "Wed, 12
 Jan 2022 17:23:11 +0100")
Message-ID: <87lezkrgvj.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spamd-Bar: /
Authentication-Results: hera.aquilenet.fr;
	none
X-Rspamd-Server: hera
X-Rspamd-Queue-Id: B3CEA22E
X-Spamd-Result: default: False [-0.10 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_TWO(0.00)[2];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 MID_RHS_MATCH_FROM(0.00)[]
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 53210
Cc: 53210 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi!

Mathieu Othacehe <othacehe@HIDDEN> skribis:

> Any idea on how to improve this inception problem?

We can arrange for =E2=80=98installation-os=E2=80=99 to use Guix from the c=
urrent
commit, as built by (guix self), instead of using the =E2=80=98guix=E2=80=
=99 package.
(For the record, (gnu ci) already does that in =E2=80=98system-test-jobs=E2=
=80=99 to
make installation tests faster.)

I=E2=80=99ll take a look hopefully in the coming days and send a patch here.

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#53210; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Jan 2022 16:23:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 12 11:23:25 2022
Received: from localhost ([127.0.0.1]:58778 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n7gPF-00040Z-OW
	for submit <at> debbugs.gnu.org; Wed, 12 Jan 2022 11:23:25 -0500
Received: from lists.gnu.org ([209.51.188.17]:37836)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1n7gPB-00040M-SV
 for submit <at> debbugs.gnu.org; Wed, 12 Jan 2022 11:23:24 -0500
Received: from eggs.gnu.org ([209.51.188.92]:54108)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1n7gPB-0000rS-N2
 for bug-guix@HIDDEN; Wed, 12 Jan 2022 11:23:21 -0500
Received: from [2001:470:142:3::e] (port=50372 helo=fencepost.gnu.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1n7gP4-0004oD-Ax
 for bug-guix@HIDDEN; Wed, 12 Jan 2022 11:23:21 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=mxGZE0TSMZcWwWwleSYq7363oKbf+uoROGxm2pSpwog=; b=i1m9Y5vf0LZ7lw
 Ta4QABLakgHEGALCNxDVif63nR6MnWGB2duIjHGk8IZ7LdgRSsmXNT87kKgPbHEWLlYkKmWeFxxjE
 BkbXnuLuPVRIjdr8q1M3pJHw88C0CDDDbHJL3v3nTk6yR6b8VBmSyxGyYSFSSn1DxPF4FixW7aRp5
 wTpLonBuConhylUJ9NIDiJiDfAKTB4yShKzF3nZodvyQ8An7hxkjDP3fqkxWb23/c7dyuvghgFCwT
 iLz2ijy51wnPgAeP4s+UVDK77NqMuxXTtmdBZbhC9r4TsXDAK0u7fpru7Tu4X2wmihTnfazyV7bm7
 U7ATOp95z9UqJ8ObQM6Q==;
Received: from [2a01:e0a:19b:d9a0:45b5:a14a:5c75:5737] (port=42610 helo=meije)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1n7gP3-0002S3-R5
 for bug-guix@HIDDEN; Wed, 12 Jan 2022 11:23:14 -0500
From: Mathieu Othacehe <othacehe@HIDDEN>
To: bug-guix@HIDDEN
Subject: installer: referring to N-1 guix is problematic.
Date: Wed, 12 Jan 2022 17:23:11 +0100
Message-ID: <87czkw6hzk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


Hello,

If I download the latest installer and use it to install a new system,
the "guix system init" command will install the guix package defined in
the (gnu packages package-management) module.

That means that if the installer is built with a guix package at the
version N in that module, the guix installed by the installer will be at
version N-1.

Besides the fact it is quite disturbing there are at least two major
issues:

* If the guix package is broken, it needs to build updated twice. I
  recently added a comment about that:

--8<---------------cut here---------------start------------->8---
;; If you are updating this package because it fails to build, you need to
;; actually update it *twice*, as the installer is pointing to the N-1 guix
;; package revision.
--8<---------------cut here---------------end--------------->8---

* When the guix package is updated twice in two separate but near
  commits, Cuirass that is checkouting Guix every 5 minutes might miss
  the intermediate version of the guix package. Hence, the installation
  is taking a while because the guix package is expensive to build.

Any idea on how to improve this inception problem?

Thanks,

Mathieu




Acknowledgement sent to Mathieu Othacehe <othacehe@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#53210; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 12 Jan 2022 17:45:02 UTC

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