From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cC1bDM/tsmDJTAAAgWs5BA (envelope-from ) for ; Sun, 30 May 2021 03:43:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +DOQB8/tsmDHJQAAB5/wlQ (envelope-from ) for ; Sun, 30 May 2021 01:43:43 +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 6ABFB21119 for ; Sun, 30 May 2021 03:43:42 +0200 (CEST) Received: from localhost ([::1]:55618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnAUO-0004Ml-Je for larch@yhetil.org; Sat, 29 May 2021 21:43:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnAUE-0004MN-Jp for help-guix@gnu.org; Sat, 29 May 2021 21:43:30 -0400 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]:40462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnAUC-0001sF-Nd for help-guix@gnu.org; Sat, 29 May 2021 21:43:30 -0400 Received: by mail-io1-xd2b.google.com with SMTP id e17so8305617iol.7 for ; Sat, 29 May 2021 18:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=atai-org.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=LC1dtvoauen0Egl/fTWooFkckRCf3El+2edxnS++a5w=; b=GGIePtlbh4Ao6OJjDKxWCyrt3aSCdlqAtLEME9hiAbq1T/uAHfi6wRA8uthuwVA8lS UCiQyuChIGdLYPpAI24682P/cdeXZY9hZCod4SPz1I+83qXOKBly7GpU/oafXy4KBbe4 AgV3mopZkaTrX7wuZJUeqKaSo/cF3twXWK3c4+gdRz9UJPkdUZgDBdaJAKTbUxagJhEr SrQIVosJycPP08GSNTal3Qb/RuMpl76eQfhRpDAC+KwVn933nOdAfWHN5pdCWnYOeUvT Z7geWFAtsqO1pJhS7XMBlumTbTBIKopzzQgJaKN60VL9iCQozSN9hMvuCiLaT8q3zEms 5VVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=LC1dtvoauen0Egl/fTWooFkckRCf3El+2edxnS++a5w=; b=Vq2vrmUpGQwm7lIGfEJ2iJd46yqWy3D/+96LhZFXvDOkfKDqAaBUhcome7o8dSLK4S JZsLyyQf7FabMJbbl/QI83NacftBWLwaRVGSUyb91ZGKduNuTS1uSVrXdIiGcUj3h3zS 3kG7W1VVZnAookPXGEbN5b8SQu4nmPU26zGbUZkBTlOM3UJ06mGZeUoPvbjgRONDd59t +grxBZ0lEtQOBSPSOB8Wxy48mj2yPbKLzSUN4p8ZwvqzUVXuneYfgF2NoWMXM38oAprF UhHYiZK1kOPWbMQ1FkffHoDasgEVTPeX89f7MnHMoQU9mPbErv4pfalTexH/+BhWoEY9 5MRg== X-Gm-Message-State: AOAM531gMsTII00y4NTd94VfZnZp2vtfsQcMPJuUzri4wAT+0heCSYS4 MvYTNC/HhKmGgxkPL8Pdo03DaMvRPqpOyCu0pqtjeWfSMXRShQ== X-Google-Smtp-Source: ABdhPJzgeSEBKrsD8vilvHXdecRml5AGzB01ttamnBKaPi1MT27QeaKEO7gej641lJbrdQlCdru/Hq7DEi33n5a4nnY= X-Received: by 2002:a6b:b4d8:: with SMTP id d207mr11742631iof.152.1622339006594; Sat, 29 May 2021 18:43:26 -0700 (PDT) MIME-Version: 1.0 From: Andy Tai Date: Sat, 29 May 2021 18:42:50 -0700 Message-ID: Subject: enabling non-native architecture build To: help-guix@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::d2b; envelope-from=lichengtai@gmail.com; helo=mail-io1-xd2b.google.com X-Spam_score_int: 13 X-Spam_score: 1.3 X-Spam_bar: + X-Spam_report: (1.3 / 5.0 requ) BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622339022; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=LC1dtvoauen0Egl/fTWooFkckRCf3El+2edxnS++a5w=; b=A1IlQAH/0H+DfnKvL1aODv1olxfvdeHflyI0BZez84W5ZP9nXO6u5RaX8sENSaHjfvXdd8 x8ZBb3M7UPq2I1sOHO7qtFhQMDTFTeBRRhKc0n2Ss5YkwRRPIuA9/w8ZbnspCz8qmOoRhp 14M6Hw9ChidagzSgGWiw3W9uoswOPLyiDgWVB1/WnwF0jWVSvVrzQxmF5l6TmtrfWunfxU IMwbQ5F/9HB1BqaYu5vTo2/Pjsd/RFFtyiLxK1/crRFGjcLE2h0HoP3mkZXbxkpXWiRs3B Llz8hZbLcgjNYRs5EyIZNtFv6GjPmIWhmyFHsOpeTtq1yYlnMjJyX1BhrVnLSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622339022; a=rsa-sha256; cv=none; b=PlAPjNQ9Au7hJXcB0NTewofk4O0iV06jg8/pTykpnKF9MfELWUTBTSeN+bHg3Qkf5fmGes NTT8mGa3wlsgWDOO6rUMG/LGZXsCiFN+eG1ovaGbXCdDlnlr97GNqWKjQYNyYg76ObsiLw 47ZSKPD9kQTgQp1yKIlPPU9KjCVGhmL0ll66eYjL0DM4oADVcsRuLQ27lsFX6bP5rfuEc1 cgUhc42GY8RbjT1jYteoF4zEEDK4Uz1eVYWyGj97Sis6hdx0tNL4hNnEdFT/gYHhpUyNEo OkfhcpGBi1DxNu400JJu6cwyRMscPAgIGCm/qUrfONgdAYXj1K2NR3Lcxz2qcQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=atai-org.20150623.gappssmtp.com header.s=20150623 header.b=GGIePtlb; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=atai-org.20150623.gappssmtp.com header.s=20150623 header.b=GGIePtlb; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 6ABFB21119 X-Spam-Score: -2.63 X-Migadu-Scanner: scn1.migadu.com X-TUID: zGN4g35Fid3K Hi, in the Guix manual this section https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html > We recommend you also try building the package on other supported platfor= ms. As you may not have access to actual hardware platforms, we recommend u= sing the qemu-binfmt-service-type to emulate them. In order to enable it, a= dd the following service to the list of services in your operating-system c= onfiguration: > > (service qemu-binfmt-service-type > (qemu-binfmt-configuration > (platforms (lookup-qemu-platforms "arm" "aarch64")) > > Then reconfigure your system. shows how to support building for, say, arm, on Intel systems. However, if I am using Guix as a foreign distribution upon another GNU/Linux distribution, for example Fedora, how do I achieve the same as above? Thanks --=20 Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: andyta= i1010 Year 2021 =E6=B0=91=E5=9C=8B110=E5=B9=B4 =E8=87=AA=E5=8B=95=E7=9A=84=E7=B2=BE=E7=A5=9E=E5=8A=9B=E6=98=AF=E4=BF=A1=E4= =BB=B0=E8=88=87=E8=A6=BA=E6=82=9F =E8=87=AA=E5=8B=95=E7=9A=84=E8=A1=8C=E7=82=BA=E5=8A=9B=E6=98=AF=E5=8B=9E=E5= =8B=95=E8=88=87=E6=8A=80=E8=83=BD