From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 8HRjAObXeGLfewAAbAwnHQ (envelope-from ) for ; Mon, 09 May 2022 10:59:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mNokO+XXeGLCJgAAG6o9tA (envelope-from ) for ; Mon, 09 May 2022 10:59:17 +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 8293C3C5C1 for ; Mon, 9 May 2022 10:59:17 +0200 (CEST) Received: from localhost ([::1]:44500 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnzEa-0001Gx-Hh for larch@yhetil.org; Mon, 09 May 2022 04:59:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56262) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnzDP-0000Zv-1a for bug-guix@gnu.org; Mon, 09 May 2022 04:58:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33894) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnzDN-0005Kn-OE for bug-guix@gnu.org; Mon, 09 May 2022 04:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnzDN-0007h8-LS for bug-guix@gnu.org; Mon, 09 May 2022 04:58:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#55283: =?UTF-8?Q?=E2=80=98tests/guix-shell-export-manifest.sh=E2=80=99?= fails on aarch64-linux Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 May 2022 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55283 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom Received: via spool by 55283-submit@debbugs.gnu.org id=B55283.165208666529556 (code B ref 55283); Mon, 09 May 2022 08:58:01 +0000 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 08:57:45 +0000 Received: from localhost ([127.0.0.1]:56024 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnzD6-0007gd-NH for submit@debbugs.gnu.org; Mon, 09 May 2022 04:57:44 -0400 Received: from flashner.co.il ([178.62.234.194]:55358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnzD2-0007gM-1g for 55283@debbugs.gnu.org; Mon, 09 May 2022 04:57:43 -0400 Received: from localhost (unknown [37.46.46.12]) by flashner.co.il (Postfix) with ESMTPSA id 229A7402CE; Mon, 9 May 2022 08:57:34 +0000 (UTC) Date: Mon, 9 May 2022 11:57:01 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Vagrant Cascadian , 55283@debbugs.gnu.org, Maxime Devos , raingloom References: <87ee1761ci.fsf@inria.fr> <20220506022826.5089eb2c@riseup.net> <5d219586c7a9a5ed2d89b12db73385d9d55adeb9.camel@telenet.be> <871qx68g33.fsf@contorta> <87wney6vwq.fsf@contorta> <87wnevu0x1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="4k1cL7Cz3DNXhP+J" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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" 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=1652086757; 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:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=S8v2nbUyHeaV1kNvVdsx6l0Lafratk1liKwRBJnpckg=; b=lZVg0ZCxpZMZkCwHht+Cdkqn4Ts5NiGYai5Bad5et54cVdcnChkwFvHzvGZH6l98gCeqfw rzPLhpEu/8hX++4cmiEDlHUyrX8rh3xrHWLgIJQKdS5LOuOQvTsMnASZvxWYIDsAYB0/cw oiiAmI7TEnOED2Ic1wnREMtSNEzNTv6A/kMxnyttRlKrdjJ/f8IjksN93TXNALNohKjkH3 CFyuyQg0mepyDLucgYfmbPlHho5KmMOWAFY7X56Co6WpY8RL7+ZTcCQea0vWZUR+zdLKFp wZOtZ96p6B0Mj8tAHr01dtg3XJvIz+L6+lyzdnblYOqg4SnNx7g0/qnQ/Ugwig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652086757; a=rsa-sha256; cv=none; b=TpuMGyBoaDzwDdFfr/bwSa3QwLvMaYRPiNQzDGm7ZRXG31zU9vlJZSLzfRQy4ArABihr5i lW/lLNwyi1IWKxeTwyjBmdBx/Sb/dYmqOc2DNUsfrBzDiRRu7FMT+BnbDPvcwqfKAgECtV nKYKd3AZaXpffhb8XeHtBbCThVJn1ZKJD4Kj5Q5rQXoKH9p8W1mI3hmr7KVBrPIUGUUwuP BLoAsd5aVQRCn9sZ70JOjOTRntwYQ9peWjAOzGmKXJ/au4B040WU9t1V5VUE3xGlKoe1it HWzjntnmyPZoydVT1sRiQGgnWUrIJmAWeYcP7c+tcKUmeGrfR4v72+2hPQxhlQ== 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" X-Migadu-Spam-Score: -4.60 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" X-Migadu-Queue-Id: 8293C3C5C1 X-Spam-Score: -4.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: ReIquSefukbb --4k1cL7Cz3DNXhP+J Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 09, 2022 at 11:44:28AM +0300, Efraim Flashner wrote: > On Mon, May 09, 2022 at 12:14:50AM +0200, Ludovic Court=C3=A8s wrote: > > Hi! > >=20 > > Vagrant Cascadian skribis: > >=20 > > > Well, I guess I answered my initial question by reading the error > > > message... guix/cpu.scm ... how did that work before for things like > > > cross-building, where /proc/cpuinfo is *definitely* wrong to get > > > information about the architecture you're building for? > >=20 > > (guix cpu) is used when passing =E2=80=98--tune=E2=80=99, which is used= for native > > builds: > >=20 > > https://hpc.guix.info/blog/2022/01/tuning-packages-for-a-cpu-micro-ar= chitecture/ >=20 > I have a WIP patch for adding CPU detection for aarch64. Perhaps it'll > help with the issues? (ins)[efraim@pbp guix]$ ./pre-inst-env guix shell --export-manifest gsl ope= nblas gcc-toolchain --tune ;;; note: source file /home/efraim/workspace/guix/guix/cpu.scm ;;; newer than compiled /home/efraim/workspace/guix/guix/cpu.go ;;; ("aarch64" #f #f #f #< vhash: # insert: #<= procedure %insert (t-5ce36f5c768e728-317 t-5ce36f5c768e728-319)> ref: #>) hint: Consider passing the `--check' option once to make sure your shell do= es not clobber environment variables. guix shell: tuning gsl@2.7 for CPU armv8-a ;; What follows is a "manifest" equivalent to the command line you gave. ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. (use-modules (guix transformations)) (define transform1 (options->transformation '((tune . "armv8-a")))) (packages->manifest (list (transform1 (specification->package "gsl")) (transform1 (specification->package "openblas")) (transform1 (specification->package "gcc-toolchain")))) --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --4k1cL7Cz3DNXhP+J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmJ411oACgkQQarn3Mo9 g1HezhAAshSK9V0NUlcJ3NAJZE09pAOVJeuWudp7Qjjd0o2+JVgOOFf66gePgpbq e8sKXbKZcCAMYlKDE66ufSwXPL800u7WK5HgsUvVq2ckr0BvZkimPlUNWhFD4S67 W6PW2muzOqplQJ/fm6SH8I6V5byYF6Wko9xg2cojiwIt6mbJGf0tf9Z4o0zGLIn7 KN7sQbeUICdc9xHHvInucNaXGrQG7L0Q5IcmSzUzQuUDJwoqDyyRENcqsaEd3kT7 5qDmLh/IxeWbNRcoE1RUJdFjgOFsNqsBO9WxSRpCQDxNMhOo5t0MJ1fz7d4frBxV Fo53/i2gOQXdEZ+hNEtbxc5hAo9+tzP+wqn7l4p0GTm72ahPAtv5GZQPCeyyf+JL iMALtEiro8k2McenDp3Xg7IKwsy4Gurm9VhfsmPzznQOyFkRCZFjU081SNxOJVKt mXbesz0q54J/xL94eYKL3pvhazZzQe4VfFGYRqYh04xxELoOH8CTpwNTe28JTUjU nNp6zYtMyUO1C2y1CU+8h2gdVs/henKbSrlb/VSgw6CH5WOgpKHr9LaFHI8+nqCc m5Q36rVXoTND5/EzYfeMSQc4VQ2Fce/11S6DxYmpf+cUZOH0fVUwCiRx6EX29Hdc zurqL+Xd0NLTByNUJeiBHiKi+g7kN85at/HnsHv++WAo/ebiBwc= =ffwf -----END PGP SIGNATURE----- --4k1cL7Cz3DNXhP+J--