From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id gCXoHF6wQWXgDwEAG6o9tA:P1 (envelope-from ) for ; Wed, 01 Nov 2023 02:56:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gCXoHF6wQWXgDwEAG6o9tA (envelope-from ) for ; Wed, 01 Nov 2023 02:56:46 +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 E92A6324C2 for ; Wed, 1 Nov 2023 02:56:45 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698803806; a=rsa-sha256; cv=none; b=I8iVLT2iO4osFK6y7VHg+GaLZigWpikYOGBXHFCwqKIxhT/nR0+y3AHWFcg2emLZj4YQH7 IIg3PkfgT/CJ+sCsoWQjDsWA4DfqjBqh1l/Qp5Mt4aQERq+DSiaD1HJy45r8BkMiCJA+yB wafuLGwbonzv+jB5g+6PEhu1rcI8R+Ur/BzWZ1O4gyLXsGBp3qGLUc+hFr0261Bgpcd/Mg F/HxA+75WBHtgKOoDnoRkn+nWoy3LtKIGVDOU6YiOlDoJ8sAkm3M9W5JhuVKA0P3bWTzyQ imsFpMAqe/N+clVqvoDt31t+kdhPAjeRGU3t7sjBs+agnrTX2d3GPKzBvTAm7w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698803806; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=S6RRISXISUEVbxwVE0L48La/4+LJ19V2s32SxSVfuzA=; b=qRSpVXcc06W+AqxvamQXldKI7fG3vz1tFX2S5EKMyUjFtBT4/tKGoAOsCy16t+jirL6MOy Mghl8tn1bCfPU+3BqUx7AlVch08EGp5A/dXmjkqIRkYhsWE3BU6MeyFFKpNl0TkYStz4hT TnUiF2vPGXrQyqc4cr9THrjFWCgF03Up8ZIAtQeRMrDuHsZC3/XukiYC/I7ZyoiAUVIx92 7ZyEiyJW/73lgIDvTxZn1VQZ5Z+EnkhT6lCwka+No8/65yfA722t5BE9c6dgO0PsfUi0x8 JRcCvQKtcmjLXxPnfIu19rcPuWzZm1Y8ZUws9SgvPdI1UCfjhBjBT7h8Q59bTg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qy0TC-00014I-71; Tue, 31 Oct 2023 21:56:34 -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 ) id 1qy0T7-000147-4R for bug-guix@gnu.org; Tue, 31 Oct 2023 21:56:29 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qy0T6-0002zA-8I for bug-guix@gnu.org; Tue, 31 Oct 2023 21:56:28 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qy0Te-0006gS-0F for bug-guix@gnu.org; Tue, 31 Oct 2023 21:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66866: aarch64 system cross compilation + pinebook pro image broken? Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 01 Nov 2023 01:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66866 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66866@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.169880379525649 (code B ref -1); Wed, 01 Nov 2023 01:57:01 +0000 Received: (at submit) by debbugs.gnu.org; 1 Nov 2023 01:56:35 +0000 Received: from localhost ([127.0.0.1]:49566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qy0TA-0006fZ-2u for submit@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 ) id 1qy0T3-0006fC-VB for submit@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 ) id 1qy0SP-00010s-A1 for bug-guix@gnu.org; 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 ) id 1qy0SM-0002vj-Cg for bug-guix@gnu.org; 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 ; 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 ; Wed, 1 Nov 2023 01:55:37 +0000 (UTC) Date: Wed, 1 Nov 2023 02:55:17 +0100 From: Denis 'GNUtoo' Carikli 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@cyberdimension.org; 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-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 X-Migadu-Queue-Id: E92A6324C2 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.71 X-Spam-Score: -6.71 X-TUID: N0t9MVg+GfZd --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 # "/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 -- \ 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 # "/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--