From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cKnxNSlbvV7/KAAA0tVLHw (envelope-from ) for ; Thu, 14 May 2020 14:52:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eJo6MClbvV6IQwAAB5/wlQ (envelope-from ) for ; Thu, 14 May 2020 14:52:25 +0000 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 10ACC940058 for ; Thu, 14 May 2020 14:52:24 +0000 (UTC) Received: from localhost ([::1]:52530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZFDj-00022r-8z for larch@yhetil.org; Thu, 14 May 2020 10:52:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZEoG-0001fB-GH for guix-patches@gnu.org; Thu, 14 May 2020 10:26:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51045) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZEoF-0007Ka-Hw for guix-patches@gnu.org; Thu, 14 May 2020 10:26:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZEoF-0005M8-Ef for guix-patches@gnu.org; Thu, 14 May 2020 10:26:03 -0400 Subject: bug#41074: [PATCH] gnu: qemu-minimal: Only build for the host's architecture. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Thu, 14 May 2020 14:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 41074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 41074-done@debbugs.gnu.org Mail-Followup-To: 41074@debbugs.gnu.org, efraim@flashner.co.il, efraim@flashner.co.il Received: via spool by 41074-done@debbugs.gnu.org id=D41074.158946632120467 (code D ref 41074); Thu, 14 May 2020 14:26:03 +0000 Received: (at 41074-done) by debbugs.gnu.org; 14 May 2020 14:25:21 +0000 Received: from localhost ([127.0.0.1]:34347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEnZ-0005K3-Ff for submit@debbugs.gnu.org; Thu, 14 May 2020 10:25:21 -0400 Received: from flashner.co.il ([178.62.234.194]:53544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZEnY-0005Jm-IE for 41074-done@debbugs.gnu.org; Thu, 14 May 2020 10:25:21 -0400 Received: from localhost (unknown [188.120.128.132]) by flashner.co.il (Postfix) with ESMTPSA id 87E7A40041; Thu, 14 May 2020 14:25:14 +0000 (UTC) Date: Thu, 14 May 2020 17:24:36 +0300 From: Efraim Flashner Message-ID: <20200514142436.GQ918@E5400> References: <20200504102515.18650-1-efraim@flashner.co.il> <87k11mbv9p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TYoqghpzCwoKvQG2" Content-Disposition: inline In-Reply-To: <87k11mbv9p.fsf@gmail.com> 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-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 2.19 X-TUID: nlIjO6lbCbRp --TYoqghpzCwoKvQG2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 08, 2020 at 12:01:22PM +0200, Mathieu Othacehe wrote: >=20 > Hello Efraim, >=20 > > + `(,@(match (or (%current-system) > > + (%current-target-system)) >=20 > If cross-compiling for aarch64, %current-system will be #f and > %current-target-system will be "aarch64-linux-gnu" which does not match > anything below. >=20 > I think "system->linux-architecture" could help you here. Otherwise, > this seems fine. >=20 Thanks for the tip. I integrated the system->linux-architecture code into qemu-minimal and it works nicely. --=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 --TYoqghpzCwoKvQG2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl69VKQACgkQQarn3Mo9 g1H0exAAov7T5m2KfOx6tUABNc8+oksrn8c1LLYJCTHhQSTVX9R06AGSoE6Nt5fF rkTjhwmhYWFNnlfdJIovSYUQ3uJJSwDaMc1EtJtCuCefalqoCWH60a9kSCeqQV1L E0Yd8yQppYjWY8RDtpVYyBu9+b72vvmJIPH6vwf2EiGUcaji1iYJChiSlAX4Defk HoGHIBM9GaSMIRFylExxlumSnEcCSR/a8adAuk+K2CAQrmUwUzxLnVn3azgCVoRb lj//+KzAf1Ahn5OU/xiPiUT05BUVywG0VnoorWR1Abvzd1NTzkGImcvxt4B3j0fg 2YNOrBi/+f085MSslwHBZLcxlGnyMEL+VZS/olKb1X0FiNcJrCWbyAgL7BTnsJhi PlCZZesQf/CBMjqWLBUzXlZ5CtX5gY+vkhli83dX9DGrPlpPCSREo4lg3U6hZLt6 ce0JiGk0WiCIycyiGc5UGYLdUksPblziUJbioMvv9pagWomRmb14iL+IRSXqufd9 OAA/T6Q3xvyPZgyqYqQ3EmJ03PsR5VL56oIXUL607AU+RzJgmpx36BZHPClI/Ds9 PVTeW6RuC9W/+Cd3pU2A/4a2FdLsZsflRUXuKvnnu6Xf3jGSqtB6pOsylV5cf/Is EikaUjqulDZlyrb4vrHefK71K6nKGrkAOTN46ohngttR0/RjRQc= =KpOr -----END PGP SIGNATURE----- --TYoqghpzCwoKvQG2--