GNU bug report logs - #50676
[core-updates-frozen] Image production is broken.

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>; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

Message received at 50676-done <at> debbugs.gnu.org:


Received: (at 50676-done) by debbugs.gnu.org; 24 Sep 2021 22:56:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 24 18:56:08 2021
Received: from localhost ([127.0.0.1]:59466 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mTu6y-00058l-7Y
	for submit <at> debbugs.gnu.org; Fri, 24 Sep 2021 18:56:08 -0400
Received: from eggs.gnu.org ([209.51.188.92]:46796)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mTu6r-00057t-Le
 for 50676-done <at> debbugs.gnu.org; Fri, 24 Sep 2021 18:56:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:46882)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1mTu6m-0005b4-8D
 for 50676-done <at> debbugs.gnu.org; Fri, 24 Sep 2021 18:55:56 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=36382 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mTu6l-00056s-UW; Fri, 24 Sep 2021 18:55:56 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#50676: [core-updates-frozen] Image production is broken.
References: <87fsu07gay.fsf@HIDDEN>
Date: Sat, 25 Sep 2021 00:55:53 +0200
In-Reply-To: <87fsu07gay.fsf@HIDDEN> (Mathieu Othacehe's message of "Sun, 19
 Sep 2021 15:09:41 +0000")
Message-ID: <87czoxmvly.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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50676-done
Cc: 50676-done <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: -3.3 (---)

Hi,

Mathieu Othacehe <othacehe@HIDDEN> skribis:

> When a producing a disk-image, the system derivations are built twice:
>
> building /gnu/store/8w9ic3h26w6rp4pj94gd93lw2bnqywgm-system.drv...
> successfully built /gnu/store/8w9ic3h26w6rp4pj94gd93lw2bnqywgm-system.drv
> building /gnu/store/bxh7s2lwl82d3lwd59swkf243h17gyg1-system.drv...
> successfully built /gnu/store/bxh7s2lwl82d3lwd59swkf243h17gyg1-system.drv
> building /gnu/store/81wqilcd9g8c0yh6xj7chbla9agz06d9-grub.cfg.drv...
> successfully built /gnu/store/81wqilcd9g8c0yh6xj7chbla9agz06d9-grub.cfg.d=
rv
> building /gnu/store/m87i36kdb09vig99q3mj24f30i1h8bjf-grub.cfg.drv...
> successfully built /gnu/store/m87i36kdb09vig99q3mj24f30i1h8bjf-grub.cfg.d=
rv
> building /gnu/store/ngdkc4dhaf9qhry71dmcp1dj7rvnaqiy-partition.img.drv...
>
> The installed Grub configuration file in /boot/grub/grub.cfg points to a
> system that is *not* part of the closure. The second Grub configuration
> file shown above points to the other system that *is* part of the
> closure.
>
> While booting the image in QEMU, the boot fails when trying to access
> the missing /gnu/system/xxx-system/boot file.

This should be fixed by df46bef48eaa43c502fa9193371692c039b460c1, whose
log contains all the gory details.  :-)

This should allow us to move forward with system testing on the branch!

Thanks,
Ludo=E2=80=99.




Notification sent to Mathieu Othacehe <othacehe@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

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


Received: (at 50676) by debbugs.gnu.org; 22 Sep 2021 10:37:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 22 06:37:09 2021
Received: from localhost ([127.0.0.1]:48939 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mSzcj-00088q-3w
	for submit <at> debbugs.gnu.org; Wed, 22 Sep 2021 06:37:09 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60020)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mSzch-00088V-8m
 for 50676 <at> debbugs.gnu.org; Wed, 22 Sep 2021 06:37:07 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:59150)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1mSzcb-00016M-UU
 for 50676 <at> debbugs.gnu.org; Wed, 22 Sep 2021 06:37:01 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35970 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mSzcb-0007jQ-Le; Wed, 22 Sep 2021 06:37:01 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#50676: [core-updates-frozen] Image production is broken.
References: <87fsu07gay.fsf@HIDDEN> <87v92wqjim.fsf@HIDDEN>
 <87a6k7tyik.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 1 =?utf-8?Q?Vend=C3=A9miaire?= an 230 de la
 =?utf-8?Q?R=C3=A9volution?=
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: Wed, 22 Sep 2021 12:37:00 +0200
In-Reply-To: <87a6k7tyik.fsf@HIDDEN> (Mathieu Othacehe's message of "Mon, 20
 Sep 2021 08:57:39 +0000")
Message-ID: <87wnn8hp6b.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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50676
Cc: 50676 <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: -3.3 (---)

Howdy!

Mathieu Othacehe <othacehe@HIDDEN> skribis:

>> drops me in the GRUB rescue shell right from the start, but I think
>> that=E2=80=99s because the command surprisingly builds an EFI image, as =
can be
>> seen from the generated genimage.cfg:
>
> Yep, that would be because of the Grub stripping issue. Regarding the
> EFI, both the qcow2 and the efi-raw image types produce "hybrid" images
> that have "grub" installed in the MBR-gap and "grub-efi" in the ESP
> partition. This way, those images can be used both on legacy BIOS based
> machines as well as on more modern UEFI machines.

Oh I hadn=E2=80=99t realized there was this fancy hybridation thing.

> Now the image types names can be confusing, and we could rename efi-raw
> and qcow2 to pc-hybrid-raw and pc-hybrid-qcow2 respectively.

OTOH the beauty of those hybrid images is precisely that one doesn=E2=80=99t
need to know that it=E2=80=99s hybrid.  Dunno, no strong opinion!

Thanks for explaining,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#50676; Package guix. Full text available.

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


Received: (at 50676) by debbugs.gnu.org; 20 Sep 2021 12:53:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 20 08:53:11 2021
Received: from localhost ([127.0.0.1]:41215 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mSInH-00076c-1O
	for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 08:53:11 -0400
Received: from eggs.gnu.org ([209.51.188.92]:56160)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1mSInE-00076N-PW
 for 50676 <at> debbugs.gnu.org; Mon, 20 Sep 2021 08:53:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58626)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1mSIn9-0005hp-4V; Mon, 20 Sep 2021 08:53:03 -0400
Received: from [109.110.20.156] (port=47422 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 1mSIn7-0006BC-JQ; Mon, 20 Sep 2021 08:53:02 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#50676: [core-updates-frozen] Image production is broken.
References: <87fsu07gay.fsf@HIDDEN> <87v92wqjim.fsf@HIDDEN>
 <87a6k7tyik.fsf@HIDDEN>
Date: Mon, 20 Sep 2021 12:52:59 +0000
In-Reply-To: <87a6k7tyik.fsf@HIDDEN> (Mathieu Othacehe's message of "Mon, 20
 Sep 2021 08:57:39 +0000")
Message-ID: <87ilyvs91w.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: 50676
Cc: 50676 <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: -3.3 (---)


Hey,

The duplicated system derivation appears to be a grafted version of
the first one.

Running:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix system image gnu/system/examples/bare-bones.tmpl -t qcow2 --no-grafts
--8<---------------cut here---------------end--------------->8---

produces an image that boots fine in QEMU.

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#50676; Package guix. Full text available.

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


Received: (at 50676) by debbugs.gnu.org; 20 Sep 2021 08:57:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 20 04:57:52 2021
Received: from localhost ([127.0.0.1]:40975 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mSF7Y-0000yk-BT
	for submit <at> debbugs.gnu.org; Mon, 20 Sep 2021 04:57:52 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40676)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1mSF7U-0000yT-EG
 for 50676 <at> debbugs.gnu.org; Mon, 20 Sep 2021 04:57:50 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:53896)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1mSF7O-0001xt-84; Mon, 20 Sep 2021 04:57:42 -0400
Received: from [195.122.1.73] (port=42620 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 1mSF7N-0004IU-Pj; Mon, 20 Sep 2021 04:57:42 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#50676: [core-updates-frozen] Image production is broken.
References: <87fsu07gay.fsf@HIDDEN> <87v92wqjim.fsf@HIDDEN>
Date: Mon, 20 Sep 2021 08:57:39 +0000
In-Reply-To: <87v92wqjim.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Mon, 20 Sep 2021 00:37:37 +0200")
Message-ID: <87a6k7tyik.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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50676
Cc: 50676 <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: -3.3 (---)


Hey Ludo!

> What command did you use?

The same one as you :)

> drops me in the GRUB rescue shell right from the start, but I think
> that=E2=80=99s because the command surprisingly builds an EFI image, as c=
an be
> seen from the generated genimage.cfg:

Yep, that would be because of the Grub stripping issue. Regarding the
EFI, both the qcow2 and the efi-raw image types produce "hybrid" images
that have "grub" installed in the MBR-gap and "grub-efi" in the ESP
partition. This way, those images can be used both on legacy BIOS based
machines as well as on more modern UEFI machines.

Now the image types names can be confusing, and we could rename efi-raw
and qcow2 to pc-hybrid-raw and pc-hybrid-qcow2 respectively.

WDYT?

Thanks,

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#50676; Package guix. Full text available.

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


Received: (at 50676) by debbugs.gnu.org; 19 Sep 2021 22:37:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 19 18:37:46 2021
Received: from localhost ([127.0.0.1]:40220 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mS5RS-0003nf-AM
	for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 18:37:46 -0400
Received: from eggs.gnu.org ([209.51.188.92]:45894)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1mS5RR-0003nS-2Y
 for 50676 <at> debbugs.gnu.org; Sun, 19 Sep 2021 18:37:45 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:36524)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>) id 1mS5RL-0001MJ-LD
 for 50676 <at> debbugs.gnu.org; Sun, 19 Sep 2021 18:37:39 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=35868 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1mS5RL-0007AJ-BV; Sun, 19 Sep 2021 18:37:39 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#50676: [core-updates-frozen] Image production is broken.
References: <87fsu07gay.fsf@HIDDEN>
Date: Mon, 20 Sep 2021 00:37:37 +0200
In-Reply-To: <87fsu07gay.fsf@HIDDEN> (Mathieu Othacehe's message of "Sun, 19
 Sep 2021 15:09:41 +0000")
Message-ID: <87v92wqjim.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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 50676
Cc: 50676 <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: -3.3 (---)

Hi,

Mathieu Othacehe <othacehe@HIDDEN> skribis:

> When a producing a disk-image, the system derivations are built twice:

What command did you use?

I tried:

  ./pre-inst-env guix system image -t qcow2 gnu/system/examples/bare-bones.=
tmpl

Running:

  qemu-system-x86_64 -m 1024 -enable-kvm -snapshot /gnu/store/=E2=80=A6-ima=
ge.qcow2

drops me in the GRUB rescue shell right from the start, but I think
that=E2=80=99s because the command surprisingly builds an EFI image, as can=
 be
seen from the generated genimage.cfg:

--8<---------------cut here---------------start------------->8---
image image {
	hdimage {}
	partition GNU-ESP {
		partition-type =3D 0xEF
		image =3D "/gnu/store/zfia31ypdlcx5d7sxhwmh4d8jsq33cqb-partition.img"
		offset =3D "1048576"
	}
	partition Guix_image {
		partition-type =3D 0x83
		image =3D "/gnu/store/8v4m9cqrgvmp3akajv2pk1pvcdrswx2g-partition.img"
		offset =3D "0"
	}
}
--8<---------------cut here---------------end--------------->8---

> The installed Grub configuration file in /boot/grub/grub.cfg points to a
> system that is *not* part of the closure. The second Grub configuration
> file shown above points to the other system that *is* part of the
> closure.
>
> While booting the image in QEMU, the boot fails when trying to access
> the missing /gnu/system/xxx-system/boot file.

Uh.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#50676; 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; 19 Sep 2021 15:09:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 19 11:09:51 2021
Received: from localhost ([127.0.0.1]:39509 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mRyRz-0004Sc-9B
	for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 11:09:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:59332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1mRyRw-0004ST-HE
 for submit <at> debbugs.gnu.org; Sun, 19 Sep 2021 11:09:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:60460)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>) id 1mRyRt-0008IE-3e
 for bug-guix@HIDDEN; Sun, 19 Sep 2021 11:09:48 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55090)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>) id 1mRyRs-0004IM-TB
 for bug-guix@HIDDEN; Sun, 19 Sep 2021 11:09:44 -0400
Received: from [178.250.34.74] (port=33550 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 1mRyRr-00031q-ND
 for bug-guix@HIDDEN; Sun, 19 Sep 2021 11:09:44 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: bug-guix@HIDDEN
Subject: [core-updates-frozen] Image production is broken.
Date: Sun, 19 Sep 2021 15:09:41 +0000
Message-ID: <87fsu07gay.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,

When a producing a disk-image, the system derivations are built twice:

--8<---------------cut here---------------start------------->8---
building /gnu/store/8w9ic3h26w6rp4pj94gd93lw2bnqywgm-system.drv...
successfully built /gnu/store/8w9ic3h26w6rp4pj94gd93lw2bnqywgm-system.drv
building /gnu/store/bxh7s2lwl82d3lwd59swkf243h17gyg1-system.drv...
successfully built /gnu/store/bxh7s2lwl82d3lwd59swkf243h17gyg1-system.drv
building /gnu/store/81wqilcd9g8c0yh6xj7chbla9agz06d9-grub.cfg.drv...
successfully built /gnu/store/81wqilcd9g8c0yh6xj7chbla9agz06d9-grub.cfg.drv
building /gnu/store/m87i36kdb09vig99q3mj24f30i1h8bjf-grub.cfg.drv...
successfully built /gnu/store/m87i36kdb09vig99q3mj24f30i1h8bjf-grub.cfg.drv
building /gnu/store/ngdkc4dhaf9qhry71dmcp1dj7rvnaqiy-partition.img.drv...
--8<---------------cut here---------------end--------------->8---

The installed Grub configuration file in /boot/grub/grub.cfg points to a
system that is *not* part of the closure. The second Grub configuration
file shown above points to the other system that *is* part of the
closure.

While booting the image in QEMU, the boot fails when trying to access
the missing /gnu/system/xxx-system/boot file.

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#50676; 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: Fri, 24 Sep 2021 23:00:02 UTC

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