GNU bug report logs - #66866
Grafting breaks cross-compilation

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: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>; dated Wed, 1 Nov 2023 01:57:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 66866) by debbugs.gnu.org; 13 Jan 2024 18:42:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 13 13:42:23 2024
Received: from localhost ([127.0.0.1]:41069 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOixb-0002tA-2R
	for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 13:42:23 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:48372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1rOixW-0002sd-Bf
 for 66866 <at> debbugs.gnu.org; Sat, 13 Jan 2024 13:42:19 -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 <othacehe@HIDDEN>)
 id 1rOixN-0005oW-Vc; Sat, 13 Jan 2024 13:42:11 -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:References:In-Reply-To:Subject:To:
 From; bh=Wmnijj+qWH8mc11qynvNnvpHy3jxQZBlXwLONeOpl9c=; b=ehaGdEXysFpS2MWLDkwL
 ovJgfi8RJmCk1EZEs3c28+RyrdGCA6mkd/pz3AgOKauiNbxV09tvA3Fg2H+9QSNNc03h4cTO5Wuvc
 XUzc2MBhyHdJFWpKr4QAV//qDj05q4AXXZoc50K0I8FjfcfDmBrQRG7MViRDcv6D4vkI6HRGW/yIm
 wXPuJINw/rfusaiNKmj/Iq0y4DvzIKwMOs1lk842sLGwCilg/SVIXJCSXn3YwI41g1aFe8svMFXfz
 Rg4tY/CdPz966ToDqFk7muWKfX8cdtLOEHV3gVRr/ZUXKunmWGy3XUutuo6J3WDZDsZYPmjpzwkh+
 v4dT5nbZbBqKQA==;
From: Mathieu Othacehe <othacehe@HIDDEN>
To: dan <i@HIDDEN>
Subject: Re: bug#66866: aarch64 system cross compilation + pinebook pro
 image broken?
In-Reply-To: <871qal6ruc.fsf@HIDDEN> (Mathieu Othacehe's message of "Sat, 13
 Jan 2024 18:55:23 +0100")
References: <20231101025517.5cce4d7f@primary_laptop>
 <87jzqu7oih.fsf@HIDDEN> <874jhv6tn7.fsf@HIDDEN>
 <87a5rn6qz7.fsf@HIDDEN> <87o7e2zt0c.fsf@HIDDEN>
 <871qal6ruc.fsf@HIDDEN>
Date: Sat, 13 Jan 2024 19:41:51 +0100
Message-ID: <87ttnh5b4g.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66866
Cc: Josselin Poiret <dev@HIDDEN>, Jan Nieuwenhuizen <janneke@HIDDEN>,
 Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Efraim Flashner <efraim@HIDDEN>, 66866 <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 (---)


> The issue seems to be that grafting ends-up dragging the bootstrap
> packages into the closure when cross-compiling which is quite scary.

I could narrow it down somehow.

This commands drags the bootstrap and fails:

--8<---------------cut here---------------start------------->8---
guix build --target=<any-target> alsa-lib 
--8<---------------cut here---------------end--------------->8---

while this one doesn't:

--8<---------------cut here---------------start------------->8---
guix build --target=<any-target> alsa-lib --no-grafts
--8<---------------cut here---------------end--------------->8---

Not sure how to go further. Adding Ludo and Efraim.

Thanks,

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#66866; Package guix. Full text available.
Changed bug title to 'Grafting breaks cross-compilation' from 'aarch64 system cross compilation + pinebook pro image broken?' Request was from Mathieu Othacehe <mathieu@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Mathieu Othacehe <mathieu@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 66866) by debbugs.gnu.org; 13 Jan 2024 17:55:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 13 12:55:38 2024
Received: from localhost ([127.0.0.1]:41007 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rOiEM-00025K-6C
	for submit <at> debbugs.gnu.org; Sat, 13 Jan 2024 12:55:38 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:50896)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1rOiEK-000252-79
 for 66866 <at> debbugs.gnu.org; Sat, 13 Jan 2024 12:55:36 -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 <othacehe@HIDDEN>)
 id 1rOiEF-0005xa-DI; Sat, 13 Jan 2024 12:55:31 -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:References:In-Reply-To:Subject:To:
 From; bh=hcOk9H3B0phJFN5G83IhB1WGlmwXuixkkKQ41af3NjQ=; b=dOyJREX8v2pKkEw1Xao8
 Ywf4vtiHpGSckbmObzXWkJRBSsUVTGFdELwVwmDDwALF4+6/LMOG7ItgaLK0OTH5v6TJJOXrCkewn
 vK1YeyMgO5JmBJtPSC+k/J2tIVod6RQyIHwhqGoW8X2EoRLvkjInaavE4F6I4O1Tekv8VeR/utXNH
 4lp1WeicBpYNYXS+06Z44nSEryqH3pmLJS+LFHhz4LYhKmQ97XmQiuROHLztv/QcspVp/rwbpeeWh
 lWQEnfHKmx/zFUDy1Ud6o1BbtSDa9ITLD0aJSi4OEUFBHfWwW4jlnJTHPewYLYGWTUjw2CdlcayMZ
 ok0fHQL6lbrePw==;
From: Mathieu Othacehe <othacehe@HIDDEN>
To: dan <i@HIDDEN>
Subject: Re: bug#66866: aarch64 system cross compilation + pinebook pro
 image broken?
In-Reply-To: <87o7e2zt0c.fsf@HIDDEN> (Mathieu Othacehe's message of "Wed, 03
 Jan 2024 10:05:39 +0100")
References: <20231101025517.5cce4d7f@primary_laptop>
 <87jzqu7oih.fsf@HIDDEN> <874jhv6tn7.fsf@HIDDEN>
 <87a5rn6qz7.fsf@HIDDEN> <87o7e2zt0c.fsf@HIDDEN>
Date: Sat, 13 Jan 2024 18:55:23 +0100
Message-ID: <871qal6ruc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66866
Cc: Josselin Poiret <dev@HIDDEN>, 66866 <at> debbugs.gnu.org,
 Jan Nieuwenhuizen <janneke@HIDDEN>
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,

> ./pre-inst-env guix system build --target=aarch64-linux-gnu gnu/system/images/pine64.scm
>
>
> which cause an issue in gawk-mesboot:
>
> checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
> configure: error: /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash ./config.sub aarch64-linux-gnu failed
>
> Janneke, do you know what could have caused this regression?

This probably has nothing to do with the bootstrap packages. I noticed
that the CI succeeds in building the pine64 image:
https://ci.guix.gnu.org/build/3265001/details.

The difference is that the CI is building without grafting. Disabling
grafting locally, seems to do the trick as well:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix system image gnu/system/images/pine64.scm  --no-grafts
--8<---------------cut here---------------end--------------->8---

The issue seems to be that grafting ends-up dragging the bootstrap
packages into the closure when cross-compiling which is quite scary.

Mathieu




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

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


Received: (at 66866) by debbugs.gnu.org; 3 Jan 2024 09:05:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 03 04:05:53 2024
Received: from localhost ([127.0.0.1]:51841 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rKxCD-0003Wp-1T
	for submit <at> debbugs.gnu.org; Wed, 03 Jan 2024 04:05:53 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:46780)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1rKxCB-0003Wb-5z
 for 66866 <at> debbugs.gnu.org; Wed, 03 Jan 2024 04:05:52 -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 <othacehe@HIDDEN>)
 id 1rKxC1-0000jH-CA; Wed, 03 Jan 2024 04:05:41 -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:References:In-Reply-To:Subject:To:
 From; bh=mRZQ+dkb6gKRgXJrRzNw6VMtUB2SczlliFxj49cwFfk=; b=JqM0R3A81uWFghkt+b0z
 lr468UkRxA0/418ood4091i2BIL4Jdn1qPtl7wKs6I1suNEdZYyjkRvlxlbG3J1EgoVExwl9Y3sNA
 y5k6MwW3UbhBbgquQyCDWfQP2JnsxaADQSOk+VxBfOxJb74q5+XPqTSxUmFvwe8zrm49+U9DEWH9g
 3BqBoLfyDCHrort5V3naCbyeXeP8ooAdcpJuoKz6U3/vr20nlKxee/d9QrREckShp56YJ6A7QT46k
 PcyM5RhLbLWUHW+x5Gqr25wgw9VsRMV91hGm9qaYxwY0j3T5zWWweoJpC5Hj2uUve38gMbGVTf6Zy
 XytAWZ7EDBCXww==;
From: Mathieu Othacehe <othacehe@HIDDEN>
To: dan <i@HIDDEN>
Subject: Re: bug#66866: aarch64 system cross compilation + pinebook pro
 image broken?
In-Reply-To: <87a5rn6qz7.fsf@HIDDEN> (dan's message of "Thu, 09 Nov 2023
 20:23:56 +0800")
References: <20231101025517.5cce4d7f@primary_laptop>
 <87jzqu7oih.fsf@HIDDEN> <874jhv6tn7.fsf@HIDDEN>
 <87a5rn6qz7.fsf@HIDDEN>
Date: Wed, 03 Jan 2024 10:05:39 +0100
Message-ID: <87o7e2zt0c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 66866
Cc: Josselin Poiret <dev@HIDDEN>, Jan Nieuwenhuizen <janneke@HIDDEN>,
 66866 <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 (---)


Hello,

I can reproduce the error by running:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix system build --target=aarch64-linux-gnu gnu/system/images/pine64.scm
--8<---------------cut here---------------end--------------->8---

which cause an issue in gawk-mesboot:

--8<---------------cut here---------------start------------->8---
checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
configure: error: /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash ./config.sub aarch64-linux-gnu failed
--8<---------------cut here---------------end--------------->8---

Janneke, do you know what could have caused this regression?

Thanks,

Mathieu




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

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


Received: (at 66866) by debbugs.gnu.org; 31 Dec 2023 15:50:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Dec 31 10:50:40 2023
Received: from localhost ([127.0.0.1]:46884 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rJy5H-0004wt-Je
	for submit <at> debbugs.gnu.org; Sun, 31 Dec 2023 10:50:39 -0500
Received: from mail-lf1-x12f.google.com ([2a00:1450:4864:20::12f]:60515)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rustand.lars@HIDDEN>) id 1rJvwd-0002yT-HP
 for 66866 <at> debbugs.gnu.org; Sun, 31 Dec 2023 08:33:36 -0500
Received: by mail-lf1-x12f.google.com with SMTP id
 2adb3069b0e04-50e67e37661so8533175e87.0
 for <66866 <at> debbugs.gnu.org>; Sun, 31 Dec 2023 05:33:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1704029606; x=1704634406; darn=debbugs.gnu.org;
 h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc
 :subject:date:message-id:reply-to;
 bh=Niz4WJO972BNvaX0Fk13D3ATkoa7718BNN9Ixx+duIs=;
 b=iLwROEwXZ/073yf0PJx8tKTZ2ORo5qmnxm7YuZtQ2pK5GCFtAKcIJdDWxE73veG0i3
 Kg6tmEH7fVTRpQ3WDWKmxNawYrG88rtVzrgodynhOwkxt+iZvF4XBUNa+3omtu0Jj0kX
 gCoTYopZSYTTPmOngPqOUUW/KJLExg/ZYtTYfSWHzL3nXX7Hmp9ovDfp/5Q5RHckDXdi
 1cCBPaCbSQiOgQkmKVZ0IFIQhMzs7Nc8sdetjBu4vyLVbBcLzeBi7AoxJkaxPQEtL1Qh
 PCJdrKc6XpOQcWxczZb2GHWVFbHbUqwWNC8DQ8Bmfp4DIEV2HUfRz4K6gr9X2F4HtEgW
 cbjA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1704029606; x=1704634406;
 h=mime-version:message-id:date:subject:to:from:user-agent
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=Niz4WJO972BNvaX0Fk13D3ATkoa7718BNN9Ixx+duIs=;
 b=Gjm7zxpVrR919Hhcz5KMe1uO1d+xPOYqDQ3k+DuhxRibi2EjzG4zpQyb/1/wG74pgB
 Zw+OqdNzAAOh6Wx92N/O+Zkk/HcJCJ+dWz8uv5KFZGLkp754V9E5PCKyP6Wxz3yBLTgY
 0YVU0HrjrlFbOrAW1B+cEv5VACtG2jiJ0DMJaxQjzUkGrjJvw+OzZ6q/ftGneGNSUf4B
 tweIUzDYkHu/00jZuxq1e/3y1bhGGXBgwJFvwAMSI8Ylj2Ge+yiJcX4Fh/6SyfEB6T8u
 9L5VC9T0NsJ8RmcO/0Dq/6xm3PRHoSOOp/J0XkUXnS/7qJ7Uy8C191F92Wk2q8g+BirG
 9zNA==
X-Gm-Message-State: AOJu0YwY/lmEHWLeOV2uyhthjsLn+qLhHjqxkAusr0zrubuRkGdHZRUF
 F4Sw7QVhb6+V48F87naT1M/YtzedBi0=
X-Google-Smtp-Source: AGHT+IFiTd7er8CtHQii9uvRYdRR6MpnaP0ZQ2uH9RRsW4G3Ue6pqnGLG0cU5kWD7NNkcSqld7+/Gw==
X-Received: by 2002:a05:6512:b20:b0:50e:9356:86e1 with SMTP id
 w32-20020a0565120b2000b0050e935686e1mr1633531lfu.69.1704029606088; 
 Sun, 31 Dec 2023 05:33:26 -0800 (PST)
Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78])
 by smtp.gmail.com with ESMTPSA id
 m26-20020ac2429a000000b0050e6584f531sm2866021lfh.0.2023.12.31.05.33.24
 for <66866 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 31 Dec 2023 05:33:25 -0800 (PST)
User-agent: mu4e 1.10.8; emacs 30.0.50
From: Lars Rustand <rustand.lars@HIDDEN>
To: 66866 <at> debbugs.gnu.org
Subject: aarch64 system cross compilation + pinebook pro image broken?
Date: Sun, 31 Dec 2023 14:23:07 +0100
Message-ID: <87wmsuxzrz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66866
X-Mailman-Approved-At: Sun, 31 Dec 2023 10:50:38 -0500
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: -1.0 (-)


Hello, bumping this issue since there has been no activity for a while
and this error is still present. I get the exact same error as Denis
when building any Pine64 images. Building with --system=aarch64-linux
instead of --target=aarch64-linux-gnu works, but this is very much
slower.


This is what I get:

> checking for string.h... (cached) yes
> checking whether NLS is requested... yes
> checking for msgfmt... no
> checking for gmsgfmt... :
> checking for xgettext... no
> checking for msgmerge... no
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... Invalid configuration `aarch64-linux-gnu': machine `aarch64' not recognized
> configure: error: /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash ./config.sub aarch64-linux-gnu failed
> error: in phase 'configure': uncaught exception:
> srfi-34 #<condition &invoke-error [program: "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" arguments: ("./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "--prefix=/gnu/store/bl3aq7fnpyxq9w2a7bqa4zqgd8z88y8x-gawk-mesboot-3.1.8" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-linux-gnu" "ac_cv_func_connect=no") exit-status: 1 term-signal: #f stop-signal: #f] 152c4c0>
> phase `configure' failed after 38.7 seconds
> command "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "./configure" "CC_FOR_BUILD=gcc" "CONFIG_SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "SHELL=/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash" "--prefix=/gnu/store/bl3aq7fnpyxq9w2a7bqa4zqgd8z88y8x-gawk-mesboot-3.1.8" "--enable-fast-install" "--build=x86_64-unknown-linux-gnu" "--host=aarch64-linux-gnu" "ac_cv_func_connect=no" failed with status 1


Other cross-compiled images like Raspberry Pi work fine for me.




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

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


Received: (at 66866) by debbugs.gnu.org; 9 Nov 2023 12:40:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 09 07:40:06 2023
Received: from localhost ([127.0.0.1]:46971 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r14KL-0001Yf-RV
	for submit <at> debbugs.gnu.org; Thu, 09 Nov 2023 07:40:06 -0500
Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56597)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1r14KI-0001Y2-Hv
 for 66866 <at> debbugs.gnu.org; Thu, 09 Nov 2023 07:40:04 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.nyi.internal (Postfix) with ESMTP id 014005C030C;
 Thu,  9 Nov 2023 07:39:18 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute4.internal (MEProxy); Thu, 09 Nov 2023 07:39:18 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc
 :cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:sender
 :subject:subject:to:to; s=fm1; t=1699533557; x=1699619957; bh=Fu
 Nt1LGuB26J06xL9b4n4YGz+zzO/+LeRhRnbRFy3O0=; b=iMEX3Ypcwg9a472Pny
 DrXwj7hXIKsuSRLDL39GOTg1Z/bsCDAVc+SG1xUpZe/aCFaXTqmS2SSIHGIsoN1x
 1+C371bkinqyB67yvhdjJ1IBdUfywJ3njBM0QLOsj6O6UUb3rsPmuIhu67GUr4TH
 CX+UgOUVdELQ9eJrNhIx9o1BSVCQ3Xy1yBJ0XXBeq083fAUZ3KIYiozCn6vGIvVT
 poPnbNJw1GCM+w7epUySsr628z9uiPiwT6EDsShW1YhFqUqaFoLgvUENZ0e+8lhp
 2JSh4lUiEvYQG3+MrgAj5K2blYo1dW35KHEp6pR65prbNUUwxSzUAG143DW6BDS8
 1pBA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:sender:subject
 :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm3; t=1699533557; x=1699619957; bh=FuNt1LGuB26J0
 6xL9b4n4YGz+zzO/+LeRhRnbRFy3O0=; b=HuLClNkUzuy0Y377KOM0cHbxNqD3A
 3HbhScVM1Oi7t9syHKdTKWnMpvym3HDSSXpfU5KuAx2MtH6wUQnPBhlrKNttWri9
 s+Ew/LGsLNACrealwyzH5c4C4LMx6SGLEYkezkoolUaZMIWs72Ytx4nRBJrFQT68
 6nx5zztG12d/6yL0xvUe+Oc4CK9xm3lCoVAOI00aJPWVJ7nRXB3hbw9wDzFCQaZq
 yJuZtPLT4l82tlLyu6aVm0CH4EIZ6D6fCckV8PavMRLlojfCccKBDcqfNSJSBcMr
 Qfju+7UcnofMFQtWfy0pJR/QpXrx/DsXpdjtWolw06oWsmya+AHxNyLcw==
X-ME-Sender: <xms:9dJMZXEkh3ID22kQkgsBBqA8in5r0LfkxLqM2htoUMYDKumBxh2VOw>
 <xme:9dJMZUUmagy_xgw4lCfV-xgELSEDrcFETXUwbFHjmimhTKVJe3V8dQZmGRuLrtuZS
 7-CS7l6AVjmafzAM-Q>
X-ME-Received: <xmr:9dJMZZKhkLwwMAp3thVpKg-zOCftBD5LsftGUQ48u5FfGugL8fgixA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddvuddggedvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfeehmdenucfjughrpehffg
 fhvfevufffjgfkgggtsehttdertddtredtnecuhfhrohhmpegurghnuceoihesuggrnhdr
 ghgrmhgvsheqnecuggftrfgrthhtvghrnhepjeduffduveeggffgheduvdeiiedvuefhvd
 fgvdejgfdvtddtvefghfdvhfegjeejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghr
 rghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvsh
X-ME-Proxy: <xmx:9dJMZVFjOQ5qgUQ5RRYu0JlVdCrudsPYh_wdiYTxSMSqrp0PmurRLw>
 <xmx:9dJMZdXTmaYGeB0uzHbXpPIE2j5V_3XivB2jep1dp6Pl5w-Z4AgQtA>
 <xmx:9dJMZQMsE6OBPvSQL6YJs6x5lQBj5XB_1QbeKy7evwEecHSsvXGeyg>
 <xmx:9dJMZeeeZVMb2W4qne7WrjNM3ajzpbNFoC3xaH88YqHjrVPYcV4_Jw>
Feedback-ID: i3b5946ed:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu,
 9 Nov 2023 07:39:15 -0500 (EST)
References: <20231101025517.5cce4d7f@primary_laptop>
 <87jzqu7oih.fsf@HIDDEN> <874jhv6tn7.fsf@HIDDEN>
User-agent: mu4e 1.10.7; emacs 29.1
From: dan <i@HIDDEN>
To: Josselin Poiret <dev@HIDDEN>
Subject: Re: bug#66866: aarch64 system cross compilation + pinebook pro
 image broken?
Date: Thu, 09 Nov 2023 20:23:56 +0800
In-reply-to: <874jhv6tn7.fsf@HIDDEN>
Message-ID: <87a5rn6qz7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Score: -0.3 (/)
X-Debbugs-Envelope-To: 66866
Cc: 66866 <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: -1.3 (-)

Hi Josselin,

Josselin Poiret <dev@HIDDEN> writes:

> Could you post some more details about what you mean by 
> "couldn't work"?
> What exactly is failing, and with what logs?

I was testing it with a cloned guix repo on my disk, opening a 
shell with "guix shell -D guix git".

when checkout to the following commit:
> $ ./pre-inst-env guix describe
> Git checkout:
>   repository: /home/dan/workspace/guix/guix/
>   branch: HEAD
>   commit: 1328c4cca531318e3ed90c6aecb522a5b22a4bcc

i run "./pre-inst-env guix system build 
gnu/system/images/pine64.scm --target=aarch64-linux-gnu -n" would 
get the following result:
> $ ./pre-inst-env guix system build gnu/system/images/pine64.scm 
> --target=aarch64-linux-gnu -n
> The following derivations would be built:
>   /gnu/store/jgd1kl2zavkxsvxa875r8lpndq292vgb-glibc-2.35.drv
>   /gnu/store/0za1m1xwpzwai1sgq5zwgyk6zg62w6a0-diffutils-boot0-3.8.drv
>   /gnu/store/1mizwrvfq2f96jjwxbky0q1pbdhfr09g-grep-mesboot-3.8.drv
>   /gnu/store/9xwp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.drv
>   /gnu/store/bfh1p0wjl0jgy7yyzrl9kxxls08in0z9-glibc-mesboot-2.16.0.drv
>   /gnu/store/bwx8g1wy9pc4aa5my3c8mqg0cb68hhw3-make-mesboot-3.82.drv
>   /gnu/store/da5mc3xqc5rqlzc6jyvhgw2nklhcxrxn-gcc-mesboot-4.9.4.drv
>   /gnu/store/f5l62q2ykp5vc9pvnw7cwp9ymkyb1m0p-tar-mesboot-1.34.drv
>   /gnu/store/knnik0y9ckaiahhyrc0vrmciz92jfiaf-gcc-mesboot-wrapper-4.9.4.drv
>   /gnu/store/sdz4dcdd1fnp078m4km980h3q5668w44-sed-mesboot-4.8.drv
>   /gnu/store/svcq1qj4j5b784z2sykrm5nj6qsv0mly-make-boot0-4.3.drv
>   /gnu/store/vljsi6fwfpxwf3bivhsv7nvrdilk0c89-xz-mesboot-5.2.8.drv
>   /gnu/store/1am1zifq9lvlrx7xayzfgq10bzwyi9jz-gawk-boot0-5.2.1.drv
>   /gnu/store/2fyrmqijwm1kn90iy1n339kip9c4iq7d-bzip2-boot0-1.0.8.drv
>   /gnu/store/3kcikvc17a4wfh4bz13sibnbbz2ybi8j-sed-boot0-4.8.drv
>   /gnu/store/879pl2y8f87r7x7p14cxg43qzwrabvhz-bash-static-5.1.16.drv
>   /gnu/store/9h6w80fckq0pz6h9w7ab6si6x9arw46s-coreutils-boot0-9.1.drv
>   /gnu/store/b7abpvf7w2yv8qzj9gvrbxqvys3cfvvi-binutils-cross-boot0-2.38.drv
>   /gnu/store/gjln0wdfin1cd4pa5p05xpgcm18zhbpb-tar-boot0-1.34.drv
>   /gnu/store/lzyaiv4rri34n3wqyr7sh7as5rm3qscy-file-boot0-5.44.drv
>   /gnu/store/xkrprcjws5xjanfbyzxvyjrz59dza43l-findutils-boot0-4.9.0.drv
>   /gnu/store/z9v1jii5ja9y8szrgfyq9vbainldzzrx-patch-boot0-2.7.6.drv
>   /gnu/store/bansacd0mz6f0jilr2b18na7k41vyd7l-gcc-cross-boot0-wrapped-11.3.0.drv
>   /gnu/store/c97avnw7ivnsf4zpz2lhpy7gnxvdyi1v-glibc-intermediate-2.35.drv
>   /gnu/store/f9djhbwy9p706xzkl0r0zx5brqhlm0qd-gcc-cross-boot0-11.3.0.drv
>   /gnu/store/r4ab2f6hmrd0z630c1isyyq7dd3pr3zd-libstdc++-boot0-4.9.4.drv
>   /gnu/store/nq5i5b8y411hfzc5a0xcqmjiw6y2f5wq-ld-wrapper-boot0-0.drv

but with the previous commit:
> $ ./pre-inst-env guix describe
> Git checkout:
>   repository: /home/dan/workspace/guix/guix/
>   branch: HEAD
>   commit: f62737bfee086040fa3ecb26968f6d16f84147aa

i run the same command, would get the following result:
> $ ./pre-inst-env guix system build gnu/system/images/pine64.scm 
> --target=aarch64-linux-gnu -n
> The following derivations would be built:
>   /gnu/store/cax2125wghlr5wz8hwllrz6vb3l7wd83-system.drv
>   /gnu/store/1r0j7c31427lirfdrdggjk9q3jqimf2h-etc.drv
>   /gnu/store/4wf34mjqdb7bnx6jfyhlyki5v14dzvvg-profile.drv
>   /gnu/store/3wh899wnr71shq81lnl3kaw1rpnilvrn-linux-libre-arm64-generic-6.4.16.drv
>   /gnu/store/x7c5jrsg2kv71jb5bdxf4cv107mlnf4p-linux-libre-6.4.16-guix.tar.xz.drv
>   /gnu/store/gyhzn3j6iqa3yf25fv2crbkssg5b7xn5-linux-libre-6.4.16-guix.tar.xz.drv
>   /gnu/store/d11phf2n76syynzmrf02va9phjmgr2d2-raw-initrd.drv
>   /gnu/store/fqnahvhkabz9riaw5ffr3pnpsp1qiyj8-init.drv
>   /gnu/store/0arw5hrqdvzf2ma370ki2d2sn7gij3j5-linux-modules.drv
>   /gnu/store/92phv6cpskhywlwv0lqh9ssrmdbm3rls-module-import-compiled.drv
>   /gnu/store/hgd43fd0b1xgfw23xmq99k75kiq94zpq-boot.drv
>   /gnu/store/a5gwz9v5l5slihmws7wh9x0ic1ckjrb7-shepherd.conf.drv
>   /gnu/store/0kiyxgqnjxigfcks0n494apj6wqb6ylg-shepherd-term-tty3.go.drv
>   /gnu/store/hpjcgw36jypikzj4qqsb8wmlh140gy1f-shepherd-term-tty3.scm.drv
>   /gnu/store/14f4h28fs49vnqvdc65xr5ddcmsh2i79-shepherd-user-file-systems.go.drv
>   /gnu/store/njwv1l3hx5lcph4k0d0ld0j3cggc6c3h-shepherd-user-file-systems.scm.drv
>   /gnu/store/1blrbcbd54yxzc6i57gqba3wf59icc6p-shepherd-file-system--sys-kernel-debug.go.drv
>   /gnu/store/69i8aqkgqlka4f9ld1dg6bqgykc6ygpa-shepherd-file-system--sys-kernel-debug.scm.drv
>   /gnu/store/1sriznlp88pvsjl7nc0pjjzbdy5ws3af-shepherd-loopback.go.drv
>   /gnu/store/rrxcn31zcsnxlaq8zk9gll4iidh0ic1m-shepherd-loopback.scm.drv
>   /gnu/store/v31z2xn1cppj0a1f3yiyvj644vmwndin-set-up-network.drv
>   /gnu/store/y6jhmhhi82pmbdajj69bbzmy4k32pdfg-tear-down-network.drv
>   /gnu/store/2kk9i32m2kb8cnz30j4bwh4mmdndppl5-shepherd-term-tty4.go.drv
>   /gnu/store/k05d8mgivw164n2y4gjg2x3z7lkqdpqw-shepherd-term-tty4.scm.drv
>   /gnu/store/520k2gmf1ijjb76ya5w6ygbv4liwp39k-shepherd-sysctl.go.drv
>   /gnu/store/fib3qy0y43a4a93qyndqbikvqgrhfkxa-shepherd-sysctl.scm.drv
>   /gnu/store/7s3s1668iaiim9dpgz1a7csff4jwc3xh-shepherd-file-system--gnu-store.go.drv
>   /gnu/store/bja3yyc9w5hky3r1aq5hdnb1krn7qg4m-shepherd-file-system--gnu-store.scm.drv
>   /gnu/store/8dq6wd9r3jzvqd0vr8q1glp6mhj6gjpf-shepherd-syslogd.go.drv
>   /gnu/store/51srqr58bryw03yk270v9mssbfarmpp9-shepherd-syslogd.scm.drv
>   /gnu/store/99q0vjfzifrfgscc8yl194c9q52fkwyq-shepherd-udev.go.drv
>   /gnu/store/65df4zhha8cf26n22vyj17gsj9724474-shepherd-udev.scm.drv
>   /gnu/store/bm7xbhjj5zs2xq23gnq6gnzyilxmbs07-shepherd-user-homes.go.drv
>   /gnu/store/6hrjiznzhzgjj3adgkq1zwkvlyyj314m-shepherd-user-homes.scm.drv
>   /gnu/store/bmsjagrlm632hv92gkrpdpjq3n229sna-shepherd-term-ttyS0.go.drv
>   /gnu/store/z4s7dgif1y0yva5xqbjy34lnf7zv7gf2-shepherd-term-ttyS0.scm.drv
>   /gnu/store/chwdh3w2dak4p8kgapsxd1lqp9iz62g5-shepherd-term-tty5.go.drv
>   /gnu/store/s13f3l8xbyilkc0a1yqw7s49h6cq2i13-shepherd-term-tty5.scm.drv
>   /gnu/store/cxagxv7w84ql14pccfjnb06856a2g9l5-shepherd-ntpd.go.drv
>   /gnu/store/kivwsv987k6gk6j7p83fj3l01vyx1y7p-shepherd-ntpd.scm.drv
>   /gnu/store/d3f3dmjx37v0nqbya4jsdghm6v1qrzh5-shepherd-file-system--dev-shm.go.drv
>   /gnu/store/h21i7lnl53r44gihzyr0fgvddm1s6p46-shepherd-file-system--dev-shm.scm.drv
>   /gnu/store/fz1rh58hxrjbbapx18rpls7bnakgzhxw-shepherd-console-font-tty5.go.drv
>   /gnu/store/8mql0kq6kcjd61rwj8bls9m5mlcsq0a8-shepherd-console-font-tty5.scm.drv
>   /gnu/store/gjvqi9g6yy9qci4p67kyyaam6dw61805-shepherd-console-font-tty1.go.drv
>   /gnu/store/402zm6hv4lc39z0ykfsx714ib5bcv5wm-shepherd-console-font-tty1.scm.drv
>   /gnu/store/hngg96ll4kf0z86nhw4ywkzv0lza583d-shepherd-root-file-system.go.drv
>   /gnu/store/2li00z702m92f0li64s24fqb8976ilfw-shepherd-root-file-system.scm.drv
>   /gnu/store/i2yxdpd0kkxlvsg0r6lcqh71r9j6v05i-shepherd-console-font-tty2.go.drv
>   /gnu/store/h8vy9vhijsaaigfqfr72yda1fa6bx592-shepherd-console-font-tty2.scm.drv
>   /gnu/store/i5l3z1nd148i4nfwqmaa8bm4aj3vg4ac-shepherd-mcron.go.drv
>   /gnu/store/2mcmgdhxqxpnlw62w34fsiind9wmdkap-shepherd-mcron.scm.drv
>   /gnu/store/igh05n6cl1j4mbln0pbcigvivy0b9ikg-shepherd-term-console.go.drv
>   /gnu/store/hf45xs7dg95hxlvy5mgzr97b6ddc6x5k-shepherd-term-console.scm.drv
>   /gnu/store/ihjlaih6s44qkbbm14f1cy5q19rr1akm-shepherd-nscd.go.drv
>   /gnu/store/lp1bbipmkc9g3yql4h065i5dhgx5jrc8-shepherd-nscd.scm.drv
>   /gnu/store/iisgxznxsy92wsjzrqcf6ddwmn28nx4f-shepherd-console-font-tty6.go.drv
>   /gnu/store/6icw2vx5r4wh3dbsxmnh2w2503qrmqyz-shepherd-console-font-tty6.scm.drv
>   /gnu/store/ij0lkffa6wdlyl7kj27s2w6zax1rvxd9-shepherd-console-font-tty4.go.drv
>   /gnu/store/25g92fvbda0yrizzzw8kjadsamm26srm-shepherd-console-font-tty4.scm.drv
>   /gnu/store/j9k6rmd56bdn15902liwxv48x2bbq11s-shepherd-networking.go.drv
>   /gnu/store/dvv78as9zahczwah44rmi5rl4s7yg8ax-shepherd-networking.scm.drv
>   /gnu/store/jk5fymc5jib7w21a7p956pbz852yalww-shepherd-term-tty6.go.drv
>   /gnu/store/ngzgzpi2bz690q1nskdz2fjrsp331xlg-shepherd-term-tty6.scm.drv
>   /gnu/store/jx2jppx5dhmnjcwcfxls2kg77x264hx1-shepherd-user-processes.go.drv
>   /gnu/store/bp8sivwmxa3g9wzdwzpjaa4nwskiwasf-shepherd-user-processes.scm.drv
>   /gnu/store/k79janpj778l510bgi37wpmxh0ha1hh2-shepherd-file-system--sys-firmware-efi-efivars.go.drv
>   /gnu/store/y223il22d89isplp1bian122anyjpdx8-shepherd-file-system--sys-firmware-efi-efivars.scm.drv
>   /gnu/store/mavfkif2mrzs5kl0ki991qw6bjjba0g0-shepherd-virtual-terminal.go.drv
>   /gnu/store/rdqs6n095b3ik11xssxm5yxxx11pkb60-shepherd-virtual-terminal.scm.drv
>   /gnu/store/n59zim15hxx6la4dlx1vnzh1yxsb0yid-shepherd-guix-daemon.go.drv
>   /gnu/store/mr9c3vz52xw91f8f0vdbh4jrcq5rgmrg-shepherd-guix-daemon.scm.drv
>   /gnu/store/bsg6ch3xba65vbnvzyhziy3yipdl83rb-module-import-compiled.drv
>   /gnu/store/xj7d31m5al9p9s01js3wm2xzq00yw65k-module-import.drv
>   /gnu/store/gh8jn7v8g6wjlv7xxd4iwb8s6lf1vi13-module-import.drv
>   /gnu/store/j4jpv3fz040ib61a5gxmfnkhlmpbxjqh-module-import-compiled.drv
>   /gnu/store/nbbh16s2mknyqbg2xg0iyv26rlzgvjaw-shepherd-term-tty1.go.drv
>   /gnu/store/6wfg73yi16y53s4s7hcz5nxwcfxjcaz3-shepherd-term-tty1.scm.drv
>   /gnu/store/nv97smi17v2karxph7srdrfpwq35rppw-shepherd-pam.go.drv
>   /gnu/store/v8ff296w21accz3bvqg9jh8wdc82qvga-shepherd-pam.scm.drv
>   /gnu/store/palakvjqjnj80jbyra4scfyspih1wifi-shepherd-console-font-tty3.go.drv
>   /gnu/store/y005yjlik5dsixcni8msx9nbqsbipxcj-shepherd-console-font-tty3.scm.drv
>   /gnu/store/rgbw62hmvkxjlgdfk3f3ry5l5pn4zh75-shepherd-file-systems.go.drv
>   /gnu/store/dkh818aiaj7avqd8rp5zm9nisl1r3711-shepherd-file-systems.scm.drv
>   /gnu/store/rrllmghp7q776jywrr75qhmrspg26584-shepherd-term-tty2.go.drv
>   /gnu/store/897giswvipl2xhgwb9v4yz1y09ivhlhq-shepherd-term-tty2.scm.drv
>   /gnu/store/sxa2xavxmcdawczwzqfrxvjxai9m9371-shepherd-host-name.go.drv
>   /gnu/store/xip20gf2vd552myd42ycp2dyhai35xng-shepherd-host-name.scm.drv
>   /gnu/store/y0ni7a5zjy4nqv4yfxn4bslzsj6v88pm-shepherd-file-system--dev-pts.go.drv
>   /gnu/store/h7cbhd75fdav2031v155pw0a5zs52jzg-shepherd-file-system--dev-pts.scm.drv
>   /gnu/store/yqcz9zidxs1kdq77zhap3zkpx3fcp0ay-shepherd-urandom-seed.go.drv
>   /gnu/store/lqvhnjgzawdpnvljggvrr83hl37aadhy-shepherd-urandom-seed.scm.drv
>   /gnu/store/vd1l7svckb1fq3nlmzjwbzaqp4cz0x9n-activate.scm.drv
>   /gnu/store/1vgahz7srvsdzbhjnc702gl7qi60vpf4-activate-service.scm.drv
>   /gnu/store/gx60xc2lrxgd1fibjcwkvi454ddhq8k8-acl.drv
>   /gnu/store/8bbiy0lafccd4lzp0af57l0w3psbdzmn-module-import.drv
>   /gnu/store/nb6fkdy1v30xlkd4p3xs4bwfqfg9dssb-module-import-compiled.drv
>   /gnu/store/3agzzn8p3zin7vnzhhah8r6r2pgff0ds-activate-service.scm.drv
>   /gnu/store/znkjpdb6x1sf6vzya7bycvpbgvvlnnmz-activate-service.scm.drv
>   /gnu/store/k9y3w7adb6g3cp3flgadz4apmly0qq4r-parameters.drv
>   /gnu/store/x02skzyvfwdrhff50lp0yq25ha9gr5gg-profile.drv
> The following grafts would be made:
>    /gnu/store/y7lx3n5lqkp7vk6nzkhk10bigkgdf8x0-ntp-4.2.8p17.drv
>    /gnu/store/aqgyf8rnhfir47cgqgh1800fcsqzvm1g-usbutils-015.drv
>    /gnu/store/3bwg8pc7hd2m735sb1sl5is9ksh44l0m-python-3.10.7.drv
>    /gnu/store/cv70dvs89zfqfhsah2l0ch0jx3dqx0kc-tk-8.6.12.drv
> The following profile hooks would be built:
>    /gnu/store/4vg65901lji5f69d0p28zgsb9ixsa9wy-linux-module-database.drv
>    /gnu/store/gm6qi78vsz56rnl69nqyqjjd2i0bn8l6-manual-database.drv
>    /gnu/store/l2g2ibnrvh9r0xfjjfp3y4qygavj6z54-fonts-dir.drv
>    /gnu/store/mlnqcgp644h5wbd0sj8xxnfj6ywva91j-info-dir.drv
>    /gnu/store/qj73yz4kwdp30vk9524sjqr2bng8zbfj-ca-certificate-bundle.drv
>    /gnu/store/wfpvk0c61qpgyd04qhqn07lh1nry7fqn-emacs-subdirs.drv

It seems like with commit 
1328c4cca531318e3ed90c6aecb522a5b22a4bcc, when building the system 
image, it tries to bootstrap the world?  When running the previous 
command without the "-n", it returns the exact same error posted 
by GNUtoo, which is failed at building gawk-mesboot, which doesn't 
support aarch64-linux at the moment.

Are these logs sufficient?

-- 
dan




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

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


Received: (at 66866) by debbugs.gnu.org; 9 Nov 2023 11:42:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 09 06:42:20 2023
Received: from localhost ([127.0.0.1]:46915 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r13QS-0005iy-9l
	for submit <at> debbugs.gnu.org; Thu, 09 Nov 2023 06:42:20 -0500
Received: from jpoiret.xyz ([206.189.101.64]:52512)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1r13QQ-0005ip-8D
 for 66866 <at> debbugs.gnu.org; Thu, 09 Nov 2023 06:42:19 -0500
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 9F145185445;
 Thu,  9 Nov 2023 11:41:37 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1699530097;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=lDUHlEJZS0s/Cj1QE769jtN/vtb5z8/GdPvCdddrSp0=;
 b=jmLca8/+ckQ+s7QAeTyYztJyiODYvGshaEhaxkd48VeWqzEXblr2VHoQMqR2ZIXhOmAg/k
 Cd6jUhBJm8DwqI//oAPP8/qXpqT3Aj1p5MIBuAh+YDYYC0UHggP0B3vxqleFVcMqwiZlSI
 6lecnteoyELuIQ8oS78sfpC5RreIQobUdbSyLzEJ9O7LPnTBXyeJ0xu2jRwnlDCwNCwWGJ
 NgifFQP41cndGFi81rXGQpz31wIVVwrR2K/uipOHnlD9vx6dtRdhaa6YhAShX8yxKHP3VA
 4jvRtYJCVKt/hEBbwtU7IJYgSlKS1i+rjexkKEpO0MXVHdCU8aRxg80PauUenw==
From: Josselin Poiret <dev@HIDDEN>
To: dan <i@HIDDEN>, 66866 <at> debbugs.gnu.org
Subject: Re: bug#66866: aarch64 system cross compilation + pinebook pro
 image broken?
In-Reply-To: <87jzqu7oih.fsf@HIDDEN>
References: <20231101025517.5cce4d7f@primary_laptop> <87jzqu7oih.fsf@HIDDEN>
Date: Thu, 09 Nov 2023 12:41:32 +0100
Message-ID: <874jhv6tn7.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Level: *
X-Spamd-Bar: +
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 66866
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: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Hi dan,

dan <i@HIDDEN> writes:

> with git bisect i found after this commit the cross-compilation=20
> couldn't work anymore:

Could you post some more details about what you mean by "couldn't work"?
What exactly is failing, and with what logs?

Best,
=2D-=20
Josselin Poiret

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmVMxWwQHGRldkBqcG9p
cmV0Lnh5egAKCRBQXkC5Fhcaity6C/sHaBPm5TI/MieR4Zx/u1NcIWwTzO6VRo1f
xJrX+VEYX4KDvakt83L2JVTHnndlH8j9i/UL/lrtuQmpC3dz6KclSycW/+C1GCfI
Y/JloUmHEmeeyWWw7xX7MK8qUTkGg3cDsC18GlrTsykmruF+5jvTLJOUjhwfSYHQ
sL2gSc9Mv5+Ov6MqbsLOXlF4XuKEVY1TmmqeJqX2YzY5BiHKCTD6S59G7UYWvegP
xu7kC5rB54sxEr0sPVF1D4wXQkzF3AYOwFN+X2GpqCbzGWbPdNcWABI/NKx7V7oP
/5vaeVakONWk2v5/4G0jF8NSObzf64SS5bEkU70W/ywoTvGnXPIjY2ZV3yWHrOQg
6mNhuBJUZLQhBxSuVBk6gCVIXBNkQNvEmUxYiWoIvaHOhR7m5F67JwMUILDHENqN
CmnTxMqzkzuQXJiYfN1GXxeyR0sBM89LD+0xJMejTJcDFCVmU7TRmcQ8QdfnereV
vEhzQ2ZdOpF2qRJNtzlG0TbKRfsJwpA=
=PZI6
-----END PGP SIGNATURE-----
--=-=-=--




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

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


Received: (at 66866) by debbugs.gnu.org; 6 Nov 2023 17:58:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 06 12:58:52 2023
Received: from localhost ([127.0.0.1]:40681 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r03sB-0006hj-VW
	for submit <at> debbugs.gnu.org; Mon, 06 Nov 2023 12:58:52 -0500
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:48589)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <i@HIDDEN>) id 1r03sA-0006hN-4F
 for 66866 <at> debbugs.gnu.org; Mon, 06 Nov 2023 12:58:51 -0500
Received: from compute4.internal (compute4.nyi.internal [10.202.2.44])
 by mailout.west.internal (Postfix) with ESMTP id F0E4A3200930
 for <66866 <at> debbugs.gnu.org>; Mon,  6 Nov 2023 12:58:04 -0500 (EST)
Received: from mailfrontend2 ([10.202.2.163])
 by compute4.internal (MEProxy); Mon, 06 Nov 2023 12:58:05 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc
 :content-type:content-type:date:date:from:from:in-reply-to
 :message-id:mime-version:reply-to:sender:subject:subject:to:to;
 s=fm1; t=1699293484; x=1699379884; bh=clkNXl36PQYFdf860rO9l9nfI
 t+S54LUZSJC7Vyx4Vs=; b=qEDmcmJSbIpGwDu/m3df3E8h4zGzMZoAtu9JdGZrj
 /7MrYX7qxUlLlnzCWvhXXClOwMaqVSQh8qYiCId8kW853XoB9OlO0tIM2fHPP7B0
 oe9oeH6BBDTKQQPwuiLDUEQNZF7Htes606c2/nQtTlny02OCoeewF3Obh/sn4bEs
 LU3qzZ2PpvO7GlTgbHT+EJimweVnVg99UMvMiwzqnKde4LkVqbXvElsLAd7C1kgD
 VnfbfB04+7qvVHOaFvv7bq2COfqKkJgY3O6ttd6AtQNYoRyv+DRtoeBW0WjvyfHM
 /HfBtLi4PEzKOicxC7zCwiCM842uWwRXGQZgULpg00wAg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=
 1699293484; x=1699379884; bh=clkNXl36PQYFdf860rO9l9nfIt+S54LUZSJ
 C7Vyx4Vs=; b=beULux5vq00Fi1ncOQWJCXoZgr0RO9Zj0j8OfsucivLIIdoeMob
 IFwr8wCGw0+bCZGJSIfFuboqvSJ8vMjDYg6+ne55eG51DqskFUGTIRmH0BYY8lyb
 8DyItinyJ5tVpUpSlvTjCaEloJd4MDTh5gra2gaB68RkLoxMC4thSClldiRWsLlR
 E01mdwutbPD1MUsHCknoExyn8M4ANtbRmJoAf79DY0cLzlV4we+4R8LaSADJsJbs
 9b1xg82XcPt3t5wqmW+VsWfTueQDbeho3pFEc0gbrVjgk7omc7+gZ1qOfivpwTQN
 4HqHRhJ6pMZ7JIukfc5DwUJ6KR3Fnm64eew==
X-ME-Sender: <xms:LClJZcsrPqpnIKkZdRFbcfnn-F3wo85WADtt62-AsPxtWW6RCpYAPw>
 <xme:LClJZZcj6wgEYl5IORtyCAiv2xOtGqDFCyVLAJ4ZelJuxkYin41p24b_tNww-Y1ru
 TJES9vlb2bXDiat9Gw>
X-ME-Received: <xmr:LClJZXwprMa35EVtRKT-8_z5ToiawbjdjiMgAnnlQW9sQ80XucknPAg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddugedguddthecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecunecujfgurhepfgfhvffufffkgggtsehttdertd
 dtredtnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgrthht
 vghrnhepveehiedtleehueegiefgfeetfeehueeiudefudehkeefjeetheegjedtuddtud
 dunecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfr
 rghrrghmpehmrghilhhfrhhomhepihesuggrnhdrghgrmhgvsh
X-ME-Proxy: <xmx:LClJZfN9xk-Bo1ZbIOb9XZgEOkyV_vBdxFvJgYJq8lnFUCRZkTfeSQ>
 <xmx:LClJZc-2814rG2LsFvjm0NFvRVtJ3QBbktoGWN8P9tCo_noypVYg5w>
 <xmx:LClJZXVsve3UfbltbLQfzvt5VBL5Kc5J593o-gdCLh0P1BqZxWzLAA>
 <xmx:LClJZVKSAY8-QqxSNMuMe84S_kbGZtNB4iRtt615grVTURfWSoEeMQ>
Feedback-ID: i3b5946ed:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA for
 <66866 <at> debbugs.gnu.org>; Mon, 6 Nov 2023 12:58:03 -0500 (EST)
User-agent: mu4e 1.10.7; emacs 29.1
From: dan <i@HIDDEN>
To: 66866 <at> debbugs.gnu.org
Subject: re: aarch64 system cross compilation + pinebook pro image broken?
Date: Tue, 07 Nov 2023 01:55:38 +0800
Message-ID: <87jzqu7oih.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 66866
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: -1.7 (-)

with git bisect i found after this commit the cross-compilation 
couldn't work anymore:
http://git.savannah.gnu.org/cgit/guix.git/commit/?id=1328c4cca531318e3ed90c6aecb522a5b22a4bcc

i think this is beyond my ability to understand why it breaks, but 
if anyone could take a look at this it would be really helpful.
-- 
dan




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

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


Received: (at submit) by debbugs.gnu.org; 1 Nov 2023 01:56:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 31 21:56:35 2023
Received: from localhost ([127.0.0.1]:49566 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qy0TA-0006fZ-2u
	for submit <at> debbugs.gnu.org; Tue, 31 Oct 2023 21:56:35 -0400
Received: from lists.gnu.org ([2001:470:142::17]:56370)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <GNUtoo@HIDDEN>) id 1qy0T3-0006fC-VB
 for submit <at> debbugs.gnu.org; Tue, 31 Oct 2023 21:56:30 -0400
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 <GNUtoo@HIDDEN>)
 id 1qy0SP-00010s-A1
 for bug-guix@HIDDEN; Tue, 31 Oct 2023 21:55:45 -0400
Received: from cyberdimension.org ([80.67.179.20]
 helo=gnutoo.cyberdimension.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <GNUtoo@HIDDEN>)
 id 1qy0SM-0002vj-Cg
 for bug-guix@HIDDEN; Tue, 31 Oct 2023 21:55:45 -0400
Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1])
 by cyberdimension.org (OpenSMTPD) with ESMTP id da4b97a0
 for <bug-guix@HIDDEN>; Wed, 1 Nov 2023 01:55:37 +0000 (UTC)
Received: from primary_laptop (localhost [::1])
 by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id eb007b73
 for <bug-guix@HIDDEN>; Wed, 1 Nov 2023 01:55:37 +0000 (UTC)
Date: Wed, 1 Nov 2023 02:55:17 +0100
From: Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>
To: bug-guix@HIDDEN
Subject: aarch64 system cross compilation + pinebook pro image broken?
Message-ID: <20231101025517.5cce4d7f@primary_laptop>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/AUwmhF8_3+2ZyTVzoa6..iA";
 protocol="application/pgp-signature"; micalg=pgp-sha256
Received-SPF: pass client-ip=80.67.179.20;
 envelope-from=GNUtoo@HIDDEN; helo=gnutoo.cyberdimension.org
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
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: -0.1 (/)

--Sig_/AUwmhF8_3+2ZyTVzoa6..iA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi,

With:
> $ guix describe
> Generation 311	nov. 01 2023 00:03:34	(current)
>   guix 938a47c
>     repository URL: https://git.savannah.gnu.org/git/guix.git
>     branch: master
>     commit: 938a47c86d7bea785f33f42834c5c1f3dfa594b0

And the following minimalist system configuration:
> ;;; Copyright =C2=A9 2023 Denis 'GNUtoo' Carikli. SPDX-License-Identifier:
> GPL-3.0+ (use-modules (gnu bootloader)=20
> 	     (gnu bootloader u-boot)
> 	     (gnu system file-systems)
> 	     (gnu packages linux)
> 	     (guix gexp))
> (operating-system
>   (host-name "g")
>   (bootloader (bootloader-configuration
>               (bootloader u-boot-rockpro64-rk3399-bootloader)
>               (targets '("/dev/mmcblk2"))))
>   (kernel linux-libre-arm64-generic)
>   (file-systems (cons (file-system (mount-point "/")
>                                    (device "/dev/vda1")
>                                    (type "ext4"))
>                        %base-file-systems)))

that I built with:
> guix system build --target=3Daarch64-linux-gnu noconfig.scm

I end up with:
> [...]
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... Invalid configuration
> `aarch64-linux-gnu': machine `aarch64' not recognized configure:
> error:
> /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash
> ./config.sub aarch64-linux-gnu failed error: in phase 'configure':
> uncaught exception: srfi-34 #<condition &invoke-error [program:
> "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash"
> arguments: ("./configure" "CC_FOR_BUILD=3Dgcc"
> "CONFIG_SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3=
.0/bin/bash"
> "SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/=
bash"
> "--prefix=3D/gnu/store/mn43k8aldd7h9jcx8q5ryij29kdqriz0-gawk-mesboot-3.1.=
8"
> "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu"
> "--host=3Daarch64-linux-gnu" "ac_cv_func_connect=3Dno") exit-status: 1
> term-signal: #f stop-signal: #f] 1700400> phase `configure' failed
> after 115.3 seconds command
> "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash"
> "./configure" "CC_FOR_BUILD=3Dgcc"
> "CONFIG_SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3=
.0/bin/bash"
> "SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/=
bash"
> "--prefix=3D/gnu/store/mn43k8aldd7h9jcx8q5ryij29kdqriz0-gawk-mesboot-3.1.=
8"
> "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu"
> "--host=3Daarch64-linux-gnu" "ac_cv_func_connect=3Dno" failed with status
> 1 builder for
> `/gnu/store/9xwp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.drv'
> failed with exit code 1 build of
> /gnu/store/9xwp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.drv
> failed View build log at
> '/var/log/guix/drvs/9x/wp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.=
drv.gz'.
> cannot build derivation
> `/gnu/store/jgd1kl2zavkxsvxa875r8lpndq292vgb-glibc-2.35.drv': 1
> dependencies couldn't be built guix system: error: build of
> `/gnu/store/jgd1kl2zavkxsvxa875r8lpndq292vgb-glibc-2.35.drv' failed

I've tried to bisect that with:
$ guix time-machine --commit=3D<commit> -- \
  system build--target=3Daarch64-linux-gnu noconfig.scm=20
but strangely I failed to find some working commit, so I end up not
being able to bisect.

As I understand the Pinebook pro image is also cross compiled, so
normally that should fail in the same way. But here something is
really strange as well:
- The CI says everything is ok here:
  https://ci.guix.gnu.org/build/2279759/details
- The download image doesn't exist but return '{"error":"Could not find
  the requested build product."}' instead.

That correspond to the commit e6af40d7b46b5c9e397a38c62c885fb42ccd9d26 .

So if I use:
> ;; Adapted from Guix manual, GFDL 1.3 (+?)
> (use-modules (gnu system images pine64))
> (operating-system (inherit pine64-barebones-os))

with:
$ guix time-machine \
  --commit=3De6af40d7b46b5c9e397a38c62c885fb42ccd9d26 \
  -- \
  system build --target=3Daarch64-linux-gnu pine64.scm=20

I still end up with:
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... Invalid configuration
> `aarch64-linux-gnu': machine `aarch64' not recognized configure:
> error:
> /gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash
> ./config.sub aarch64-linux-gnu failed error: in phase 'configure':
> uncaught exception: srfi-34 #<condition &invoke-error [program:
> "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash"
> arguments: ("./configure" "CC_FOR_BUILD=3Dgcc"
> "CONFIG_SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3=
.0/bin/bash"
> "SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/=
bash"
> "--prefix=3D/gnu/store/mn43k8aldd7h9jcx8q5ryij29kdqriz0-gawk-mesboot-3.1.=
8"
> "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu"
> "--host=3Daarch64-linux-gnu" "ac_cv_func_connect=3Dno") exit-status: 1
> term-signal: #f stop-signal: #f] 170f400> phase `configure' failed
> after 209.2 seconds command
> "/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/bash"
> "./configure" "CC_FOR_BUILD=3Dgcc"
> "CONFIG_SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3=
.0/bin/bash"
> "SHELL=3D/gnu/store/rb75igdc6daly1mz2ivz7rs8hd85imdz-gash-boot-0.3.0/bin/=
bash"
> "--prefix=3D/gnu/store/mn43k8aldd7h9jcx8q5ryij29kdqriz0-gawk-mesboot-3.1.=
8"
> "--enable-fast-install" "--build=3Dx86_64-unknown-linux-gnu"
> "--host=3Daarch64-linux-gnu" "ac_cv_func_connect=3Dno" failed with status
> 1 builder for
> `/gnu/store/9xwp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.drv'
> failed with exit code 1 build of
> /gnu/store/9xwp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.drv
> failed View build log at
> '/var/log/guix/drvs/9x/wp6pi7ssi9jhhj50dd1apryidcz2hk-gawk-mesboot-3.1.8.=
drv.gz'.
> cannot build derivation
> `/gnu/store/jgd1kl2zavkxsvxa875r8lpndq292vgb-glibc-2.35.drv': 1
> dependencies couldn't be built guix system: error: build of
> `/gnu/store/jgd1kl2zavkxsvxa875r8lpndq292vgb-glibc-2.35.drv' failed

Denis.

--Sig_/AUwmhF8_3+2ZyTVzoa6..iA
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmVBsAUACgkQX138wUF3
4mM5uxAAhLoBxaB8TzekmwIP8u47E59nmuygsN4dSHfqxMMSSZGu8dZvDBskSLvl
vFcOS5CAV2QLFtQULYpvuAHIDnzejjs7jAk1NNpTdUIh/HWGpm8Yx95vHRXxXBHk
5I39SX3i3ItbEa8dbjD8CtDF1B7H5aHo/hWq9z9LeEhH9alTMAD0PKGDcEW10V/Z
3gh547XcUiP5Atss9XyFmuo3jX3WxZeDV3dapmQ+mUfU7Esd5VX6/42c1WVNnmiq
zoCIhK7GGYpJxGoKp1rxXjaJccYDh9VZhpQdQqmPtRbhZrEGrVyKGjW0tWR+aksi
AJ/6YT2ZLBGMcAQL5fYXNo6cBQLadJDTmWoyxm3BLi6a1wBcYiK1oKpzQzzi/elI
obi1KlPoaAf5pJgR44/QplEpJwNsKx83j6Z9TE/8nPvQKRzerHK/m7UMgJpB3hEN
VebPPUkbE/Vsq9MrFeuW/TvzGpGbOUn7Jonm35K7MJiUSpOq4hsqjWy0pWrJECip
kz2JnA2eiLiFTTY52EKRNBql9mE7crMtlvIfNNH8sV24GaYQVTsZZA+mqlqGCphE
hOBw9VIU4oZ+w2HBf8CHeEdQK4QB93LFUvREExGEyobreYHhjYlVP5qqWGJfiv6k
x6sL0DjcbJLAQpFn5N5aF0uYnIOUgUZdBRmIC8ULGzAKRGi69aI=
=HWRm
-----END PGP SIGNATURE-----

--Sig_/AUwmhF8_3+2ZyTVzoa6..iA--




Acknowledgement sent to Denis 'GNUtoo' Carikli <GNUtoo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#66866; 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: Sat, 20 Jan 2024 12:30:02 UTC

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