From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iFyvB0BqemKrsQAAbAwnHQ (envelope-from ) for ; Tue, 10 May 2022 15:36:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mJ2BB0BqemIZLQEAauVa8A (envelope-from ) for ; Tue, 10 May 2022 15:36:00 +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 B1612235E2 for ; Tue, 10 May 2022 15:35:59 +0200 (CEST) Received: from localhost ([::1]:43028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1noPmi-0001NJ-Q1 for larch@yhetil.org; Tue, 10 May 2022 09:20:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1no2eK-0003S3-4A for bug-guix@gnu.org; Mon, 09 May 2022 08:38:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34397) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1no2eI-0007hA-Iu for bug-guix@gnu.org; Mon, 09 May 2022 08:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1no2eI-0006i2-Dn for bug-guix@gnu.org; Mon, 09 May 2022 08:38:02 -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: =?UTF-8?Q?S=C3=A9bastien?= Lerique Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 May 2022 12:38:02 +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: 55283@debbugs.gnu.org Received: via spool by 55283-submit@debbugs.gnu.org id=B55283.165209985325748 (code B ref 55283); Mon, 09 May 2022 12:38:02 +0000 Received: (at 55283) by debbugs.gnu.org; 9 May 2022 12:37:33 +0000 Received: from localhost ([127.0.0.1]:56526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2dp-0006hD-8u for submit@debbugs.gnu.org; Mon, 09 May 2022 08:37:33 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:36236 helo=eauchat.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1no2di-0006gf-1W for 55283@debbugs.gnu.org; Mon, 09 May 2022 08:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1652099837; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=13+pmTbZ6d4S/39o7S8xOMhT3kngOohG8EKnlJy1YF0=; b=qzyUviK2s1euwlGqbYvR8f357CjMAftlNZh2taxVXYUaMUXTQPQmEXdeC3D7FSpijxIwXe Tu0PLFd1sZhcV/mcEzfcaykM6GZ7ucZYG5ALLrYxq30c6giOYnMfRTygtDhSu9bRXNJBaY otGjQK3dT6EQWwPy3+FLq8O9jL8S1hI= References: <87zgjqc2p2.fsf@eauchat.org> From: =?UTF-8?Q?S=C3=A9bastien?= Lerique Date: Mon, 09 May 2022 21:32:47 +0900 In-reply-to: <87zgjqc2p2.fsf@eauchat.org> Message-ID: <87sfpic26f.fsf@eauchat.org> 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-Mailman-Approved-At: Tue, 10 May 2022 09:19:39 -0400 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=1652189759; 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: 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=13+pmTbZ6d4S/39o7S8xOMhT3kngOohG8EKnlJy1YF0=; b=roKIPTAAX4NMMa0DHcRxonbVX/AzJ84CCEI194XnHy2jVmEYLLNBQDNRP5dzFPObeiVzsv P1mv+/RgZ0Sd5Xh20e2NSW9h/d95Hm4NHgs5/83N3T32muBUWvkFFvJW6i9N6JRt2o7OZF qWr+3b4Ee3eM5cPq6TjwDzxIsSFbScadObc+JOuFe9BhZIJyhI1FBtsRDzJ8RLVU9gmF0R R1h/k+iU9JpzGowW5p83AjfBUUSHOjhF+r3SLW9e92DD/uuj3QFXtIM9wwYtlBCsMVulW0 CP+J2lez/9aWj76xCFuvewv9Vvp1BKQZnJ3CvDSEhUvgFET6w1J/Rwda5RmNTw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652189759; a=rsa-sha256; cv=none; b=QROxL5L1UJgRZhroOUFyjmHkS9estM77r9RNz+5b8mjK0wUbXM5kO02SmS7nd2wVq4YMci i4wPbNIGxOCnYc84xLBSFpCFEsRQpm/wjqykwDZLHvm4vFsV9CyaaVNkqkNuBB+SRyJc+V B5a6nIpM7lbHM3WT0E9EMKZMBfOSllt2TCD3vvjz85W2A/nMuPQ2w7xai4tIr3n5pgaSfC 2ZHbxG19RIlSMpOTKlN3XptrL+gz4DyIrx49w1AL+BE9Atqcwfaa7XXkodn2lWn+WRhHw0 1n8rwIWAQNWUOVthdbCWjoIYfSxVuAJT9DJ1Q+KenO2cyH/hbcZHcUpT/j4i/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=qzyUviK2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=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: 6.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=qzyUviK2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=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: B1612235E2 X-Spam-Score: 6.40 X-Migadu-Scanner: scn0.migadu.com X-TUID: Qxrk5NPHmI3f > #x is for hexadecimal, right? If so, this can be simplified by using > the second argument of string->number: (string->number (string-drop > model 2) 16). > So does this: --8<---------------cut here---------------start------------->8--- sl@matrixbox ~/guix [env]$ ./pre-inst-env guix shell --export-manifest gsl = openblas gcc-toolchain --tune ;;; ("aarch64" #f #f #f #< vhash: # insert: #<= procedure %insert (t-5ce36f5c768e728-317 t-5ce36f5c768e728-319)> ref: #>) 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")))) --8<---------------cut here---------------end--------------->8--- (I'm happy to provide ssh access to this rock64 if that can help.) Best, S=C3=A9bastien