From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QH4QE8i3aWLMSAAAbAwnHQ (envelope-from ) for ; Wed, 27 Apr 2022 23:38:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2CXqEsi3aWKROgAAauVa8A (envelope-from ) for ; Wed, 27 Apr 2022 23:38:16 +0200 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 451ED1259E for ; Wed, 27 Apr 2022 23:38:15 +0200 (CEST) Received: from localhost ([::1]:57368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1njpMU-0003wL-Gz for larch@yhetil.org; Wed, 27 Apr 2022 17:38:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njpMI-0003vr-60 for bug-guix@gnu.org; Wed, 27 Apr 2022 17:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50748) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1njpMH-0004Jr-TJ for bug-guix@gnu.org; Wed, 27 Apr 2022 17:38:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1njpMH-0005ue-Kv for bug-guix@gnu.org; Wed, 27 Apr 2022 17:38:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#54864: GNU Cuirass reports arm64 as armhf Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 27 Apr 2022 21:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54864 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 54864-submit@debbugs.gnu.org id=B54864.165109547322715 (code B ref 54864); Wed, 27 Apr 2022 21:38:01 +0000 Received: (at 54864) by debbugs.gnu.org; 27 Apr 2022 21:37:53 +0000 Received: from localhost ([127.0.0.1]:44645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njpM9-0005uI-6e for submit@debbugs.gnu.org; Wed, 27 Apr 2022 17:37:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36318) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1njpM7-0005u1-Oy for 54864@debbugs.gnu.org; Wed, 27 Apr 2022 17:37:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37612) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njpM2-0004HC-2E; Wed, 27 Apr 2022 17:37:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=30q8j+s1pilF6pwEAc2mCL3OcP7wqq8qAy0PNCTP1Oo=; b=IYhMwf0FBJ+19uHUyZwm p/XNMACWQA1hm7xs2hUdw7ACdukqt7O9kZxHwtLmyM3AJzzC8GxsTkOdSjUaWOrc0kT1xM0QL3DJ4 MvpXJdUVaomRsVU6FeOwLX5z56aF94PTvNl6yXBY7TP37eVa8QFO2WOiY1tds2saOdGZNebT3TeYH JGu1lF/Z/BzqlGGCkB8emhXmYZSbaa2oIR7E1jIuMJrSoBlJRUvPiN2vQbu476ezUYcVt6ds3/U4c udzzgdx+ozdtU5jSVAh/hgHAr1fFR7IbfqHs3CcX1fmj2fFpwg3BG2RRP962Suw6Sn1L8CwGGVKhJ K9oY+fcsIUsCUA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57701 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1njpM1-0005Uk-MG; Wed, 27 Apr 2022 17:37:45 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h76no7gv.fsf@gnu.org> <87czh94u83.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 =?UTF-8?Q?Flor=C3=A9al?= 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, 27 Apr 2022 23:37:43 +0200 In-Reply-To: <87czh94u83.fsf@gmail.com> (Maxim Cournoyer's message of "Fri, 22 Apr 2022 00:28:44 -0400") Message-ID: <87r15igqc8.fsf@gnu.org> 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-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: , Cc: Christopher Rodriguez , 54864@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1651095495; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=30q8j+s1pilF6pwEAc2mCL3OcP7wqq8qAy0PNCTP1Oo=; b=UN0rt/EOZgRXEFpmLB+03AlYI9J+Lgn1CIRPO7nS7Xw7gRA3Do79I/UlhYxsTWTI+KcYpN vka1bFay8nXCwBn93wzAp4upbsLbygdsJfKgUcQwtmpTshOgq8v5h4NsS4ClUwa/HZ40sN RNsM+ozlIfJhwrUFjmR3S0hLv5ximrZhm3hFImzoaYK+DXVh3M7MA0TKsxroitvjuPGNab 9EUJhz/cbKHLaWDKcffnDYDAzvwCdBxU/mjXtvDZbFTgmn/dnsxUigR8oeEr3KFZp2YeJ/ OiPsV9YemUT6TYZMnkrsh15/SjkvG8IivLVlLtZc0c3sLiER6qdDZ8OQlfrf1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1651095495; a=rsa-sha256; cv=none; b=gfjwpGDr5trXqSgHi2vUUqeVjDMLSCHBErSfzQs8AaqHcGKJXI3Blxe1W8RFhD+i0q1HOR 3AkpKz7Sex47fra+WHPIb8bidSezyysSOCzE85gpRXih+1Q8ulUCUThMRrlZTik5D4twZt fy68RbXAPie7i481lFzuK4To1Mj/KjVp1Iz2t31KyFsSNkLC784vxtSPutgKiBLa+Ykmwv GAVGsp4k5GlvyBnG5uxfydT9v4sZyBPSbfpISZIOouoMZfM2xjwRim8IFCJ2PyPrq38Wt+ HyS+wUkPmRis639prn7m3wMnX+bwaMv+loERync7YRmXKIjx5HGv8jI0iKIX+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=IYhMwf0F; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.30 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=IYhMwf0F; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 451ED1259E X-Spam-Score: -5.30 X-Migadu-Scanner: scn0.migadu.com X-TUID: eyDvZHQyC362 Hi Maxim, Maxim Cournoyer skribis: > [...] > >> I see, yeah, I eventually figured out that aarch64 was what I was >> supposed to be using (I think I was reading >> https://wiki.debian.org/Multiarch/Tuples when I realized this). >> >> However, what confuses me still was that 'arm64-linux' did work as a >> system type: A bunch of packages failed to build, but some builds were >> successful. Maybe that input just makes it default to 'armhf-linux'? > > I've had this experience before, it's very confusing (it goes on trying > to build a toolchain for something that is sure to fail). Perhaps we > could at least have a place to refer to in the manual for the common GNU > triplets which make the most sense in for GNU Guix (e.g., the currently > supported GNU system triplets). Currently I grep the manual for > disparate examples when my memory fail me. =E2=80=9Caarch64-linux=E2=80=9D & co. are Nix/Guix =E2=80=9Csystem types=E2= =80=9D; GNU triplets look like =E2=80=9Caarch64-linux-gnu=E2=80=9D or =E2=80=9Ci686-pc-linux-gnu=E2= =80=9D (info "(autoconf) Specifying Target Triplets"). Triplets are passed to =E2=80=98--target=E2= =80=99. Note that the current situation is: --8<---------------cut here---------------start------------->8--- $ guix build -s arm64-linux coreutils -n Backtrace: In guix/memoization.scm: 101:0 19 (_ # # =E2=80=A6) In guix/packages.scm: 1247:37 18 (_) 1507:16 17 (package->bag _ _ _ #:graft? _) 1608:48 16 (thunk) 1403:25 15 (inputs _) In srfi/srfi-1.scm: 586:29 14 (map1 (("coreutils" #) = =E2=80=A6)) 586:29 13 (map1 (("grep" #) = =E2=80=A6)) 586:29 12 (map1 (("locales" #) = =E2=80=A6)) 586:29 11 (map1 (("bash" #) = =E2=80=A6)) 586:17 10 (map1 (("gcc" #) = =E2=80=A6)) In guix/packages.scm: 1360:20 9 (rewrite ("gcc" #)) In guix/memoization.scm: 101:0 8 (_ # # =E2=80=A6) In guix/packages.scm: 1374:13 7 (_) In guix/build-system/gnu.scm: 157:33 6 (cut? _) In gnu/packages/commencement.scm: 3522:39 5 (arguments #) In gnu/packages/gcc.scm: 200:48 4 (arguments #) In gnu/packages/bootstrap.scm: 342:14 3 (glibc-dynamic-linker _) In ice-9/boot-9.scm: 1685:16 2 (raise-exception _ #:continuable? _) 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: dynamic linker name not known for this system "arm64-linux" --8<---------------cut here---------------end--------------->8--- I suspect Cuirass hides this somewhat and goes on building fixed-output derivations (i.e., source code downloads), which are system-independent, giving this impression that it=E2=80=99s kinda working when it really isn= =E2=80=99t? HTH, Ludo=E2=80=99.