From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id OJvdDSPXXWdqPgAA62LTzQ:P1 (envelope-from ) for ; Sat, 14 Dec 2024 19:06:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id OJvdDSPXXWdqPgAA62LTzQ (envelope-from ) for ; Sat, 14 Dec 2024 20:06:11 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20240523 header.b=lK9lOZob; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=kolabnow.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1734203170; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wHAXOpcG7Vt20gIRyXStO6bKcNv62by6PIuwA+uXP08=; b=mZoCQBe1H6GzRBV/3WV2K4baXkCSJwdj+hFYfTqocnfS/M2/3f/G1iX0End3KBXD5DzD8b TAQn2VqWeHKT32H9iChMINh+hOd2Z0Hl3AopyIZZ6t2pGA+nISsFmsZXKNLEDZIfOca4Y/ cHIaaBtAcjIydUuU6353OELvDLFZVksFybjVYh6pTFucC49sqYV4gJ6LqpEw+EUCJ1KpRV b/YFawg8fqq/iGWMnYoZZNqTCwKO16VBkBGrDdVtTIzwSIYRkxatkMFP9e88ovcgREIKwh nkCcRT9pl49vUTA9muE/vLh/Y+nuTHkLrgRlxMoJwlalZAOEEXlHVTe0I2cxMA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1734203170; a=rsa-sha256; cv=none; b=J6DKvdMwEXhCTEG/KuNIzSfFKKqEvOIIJ2FCCGslgI14reU9Tlx6moJB/fxagm5yCSBIW9 wbahbJnwHDPbdbewrcwsH6OI745MkV5umIu268enKTCTvypLeRE06108P5Q53TTI/yIDTB sF6K0tEPgK9fPHSyyx0GEVkxv/a+HQDETBg4Uqw9Dy+01/2TgVZKi6Ik7kZjsTcLKfjXel go0ho1/QVkKnHj0YD6gfDyC50/e4Y/gsn1cYm5yNSEXQ70DO8DJlfQ8oupfFeWTJXukPxE Y4T8scYGJZWb2gMIUw/uYHhRbS6D1kkDNdlEs5VESFQ/3ef773KT6qYGAKgQyw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=kolabnow.com header.s=dkim20240523 header.b=lK9lOZob; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=kolabnow.com 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 A9C637F723 for ; Sat, 14 Dec 2024 20:06:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tMXS8-0002nM-R9; Sat, 14 Dec 2024 14:05:24 -0500 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 1tMXS6-0002n0-Au for help-guix@gnu.org; Sat, 14 Dec 2024 14:05:22 -0500 Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tMXS4-0003zq-Lp for help-guix@gnu.org; Sat, 14 Dec 2024 14:05:22 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 669D3306C993; Sat, 14 Dec 2024 20:05:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received:received; s=dkim20240523; t=1734203112; x=1736017513; bh=wHAXOpcG7Vt20gIRyXStO6bKcNv62by6PIuwA+uXP08=; b=lK9lOZob1qZA o+uqzDkGIZJMXNhAYB3nIZUNNn7+4n37cpcFOmPoCrzo2aiPblRirTQVTtxUuH8z Re9KijadSUVrpxTMSMkYyeU2suxsWg2p6m4XEmMPxY2KzOxnmhiHyTwQn8lwtSKt j/YdIMpNMF53m2ZeQkUrrpnVlgcmchu5qKwMVKjFtsE7jKNeS0VCQwh1BgkqmANX 0xrOQNtZl8m/2tJKx1SXRO/6WnbU9QmsT7rxC0eO+MJKI25yYD71HVOuEAC0xoSg OqjMKsyDBondXjHBDi86Rlrk462MsfUaFzWGb/HzanT17BqwsuK+JFUvQYHBmtXg uyGEtwobTw== X-Virus-Scanned: amavis at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id Ft35Q41ZjjFM; Sat, 14 Dec 2024 20:05:12 +0100 (CET) Received: from int-mx011.mykolab.com (unknown [10.9.13.11]) by mx.kolabnow.com (Postfix) with ESMTPS id 85C28306C8B0; Sat, 14 Dec 2024 20:05:10 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx011.mykolab.com (Postfix) with ESMTPS id 55A22792244; Sat, 14 Dec 2024 20:05:10 +0100 (CET) From: Thiago Jung Bauermann To: Andy Tai Cc: help-guix@gnu.org Subject: Re: Use Qemu to build for non-native architecture on foreign distributions In-Reply-To: (Andy Tai's message of "Tue, 10 Dec 2024 13:46:28 -0800") References: Date: Sat, 14 Dec 2024 16:05:05 -0300 Message-ID: <86o71e6q72.fsf@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=212.103.80.155; envelope-from=bauermann@kolabnow.com; helo=mx.kolabnow.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.21 X-Spam-Score: -9.21 X-Migadu-Queue-Id: A9C637F723 X-Migadu-Scanner: mx11.migadu.com X-TUID: hn5pIY3o6M9r Hello, Andy Tai writes: > I am running GNU Guix on Ubuntu, on x86-64. Sometimes I need to build > packages for 64-bit ARM (aarch64). The GNU Guix > manual shows how to set this up on GNU Guix System (as native > distribution, using Qemu > to emulate the non-native architecture such as aarch64), but I find no > info on how to do this if I am running GNU Guix on a foreign > distribution. Any pointer on this is appreciated. On Debian and Ubuntu systems, you just have to: $ sudo apt install binfmt-support qemu-user-static -- Thiago