From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 KOEEAWw/w2OUZgAAbAwnHQ (envelope-from ) for ; Sun, 15 Jan 2023 00:49:00 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YA0KAWw/w2NKMAEA9RJhRA (envelope-from ) for ; Sun, 15 Jan 2023 00:49:00 +0100 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 62ADD1B4EC for ; Sun, 15 Jan 2023 00:48:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGqGF-0004Fn-WC; Sat, 14 Jan 2023 18:48:32 -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 1pGqG8-0004D6-HV for help-guix@gnu.org; Sat, 14 Jan 2023 18:48:29 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pGqG6-0006QG-23; Sat, 14 Jan 2023 18:48:24 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 8e51718e; Sat, 14 Jan 2023 23:48:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=7QY9xl8D4SKi /AeGDaCfG90qEGOq4bI2aEj+xaBmQCI=; b=Z8xYgaHxbJhxbsBZ2oiq/0eOqvW+ yxRYEs9ZzeUKW+1oJ6biuwur91MakklsWvyXV3k2tr3GOpHBEvN1aWdflXwzSZUI NCb63EEP9bmLsHsKpGETSE/7a0E3nYZRINKfmaA2aa2Gtukr7pFbxmHF6mkYqaNE 1R2gowk3Dizq0nD3xDeCqD09FNgbSNuPxNBSIFOyCP8a3XLfqxTxddcpISc5FNF7 EijtkQ26Hw0Da3iI0VC8Gx8k2e3yZzQyitvO8kZ19J2g83OVZ9RwFo4wS+E7iIAu lnfI3gSR7kFQy5Y1GjEL7fHwy0rQsIf0bOzaokA/IaNlkYIKqwHonopFWg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 61666e0b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 14 Jan 2023 23:48:07 +0000 (UTC) Date: Sun, 15 Jan 2023 00:48:06 +0100 From: Julien Lepiller To: phodina CC: help-guix , =?ISO-8859-1?Q?Ludovic_Court=E8s?= Subject: Re: Guix supported-systems option User-Agent: K-9 Mail for Android In-Reply-To: <4G3v8WeH2-W4HbzMp6lKpSwRHb4OM6jU91I-gaQUdVgsqfkqWmsCdqSQ6t8bm0a2gDicPTSyy6GO8hjT5Y8Q24bwDbdKKrdpYbjFvoZR9ug=@protonmail.com> References: <006ACFAA-0D67-4B5B-9A2B-001A075EAD39@lepiller.eu> <4G3v8WeH2-W4HbzMp6lKpSwRHb4OM6jU91I-gaQUdVgsqfkqWmsCdqSQ6t8bm0a2gDicPTSyy6GO8hjT5Y8Q24bwDbdKKrdpYbjFvoZR9ug=@protonmail.com> Message-ID: <668F4FF9-FFB1-4D6D-923C-5C81D76EA355@lepiller.eu> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu 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, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=Z8xYgaHx; 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=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673740139; a=rsa-sha256; cv=none; b=pJOdCtlGLXF6QGpOgJ5HU6ntAtxLThD+/gerW/ZpGzl0wYlyDVQM98aiLtfST8YmLsw5UI 43/82E1iTpFWhnmen1hN2/IJ1WS/Jv76ikQuswYGIg84WdjaW0sG2/iXItoez+DwOCNeC0 geKmj7B7fbDfPajC8R/5Z/TPrkZcifptDRN3w+ovzMjyjBiFsPO0hed6f3fIYezomtZ2Ff rDnsE1QSLXeQAU/wnN1fPXUUzGaeVkJm2bxMMi+q+V6lj0qfWufTRfctV/KcBsW5NRxgJz 1eJNiCYYTvdVqnzIk3TaiJjY5cupyMu8MQGHk4J9q9BQG6LPxTtD2TzOVd+p9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673740139; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ZkGxQuvlcW8++9KarupvQiOUwyvWz0T0x0tu/MloHzo=; b=MEM0id5jOcBvLwv7ov19NderA1KXDSEAwjZJE3BXXVs6ucwEHSYmKJEPp4YiJ7kXQl2Hd/ M8EBgWaJwor+4snXkgC1M3LixZ5ugrJywRR31venE6Ozc62G587D0qcakdg+izJObkAI3k OKZD3t9X3q1Nw1iBoup46MzER3Egx0x9tJGkqhgqzo6dM8K5QLNpQCjklEFcTd2TanR0Ae AGvY4Sbku9Tf1qHwXGa9eHzDlNyToN/gY3yq4THygr5iDQgE7J2EGSvxm2vwpyUgBAzT3T LXstO9DCGAAD3R4EHNOton8dP6C7V6TAI+jh0V2oFJHPhZuz7wuHSFcHGPu75Q== X-Migadu-Queue-Id: 62ADD1B4EC X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=lepiller.eu header.s=dkim header.b=Z8xYgaHx; 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=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) X-Migadu-Spam-Score: -2.62 X-Spam-Score: -2.62 X-TUID: cfGDphFcAuE0 That's how it's done with some packages that need arch-specific things (inp= uts, build phases, =E2=80=A6) so yes :) Le 14 janvier 2023 23:01:49 GMT+01:00, phodina = a =C3=A9crit=C2=A0: >Hi Julien, > >> I think you have multiple packages with the same name and version, but = different supported systems=2E Am I right? > >you are correct=2E I have multiple package definitions as shown in the at= tached scheme file=2E > >The names and versions are exactly the same, just the origin differs and = Guix picks "randomly" one of them=2E > >I did as you suggested to rename the packages - append the arch=2E This w= orks in short term but I'd like to have one profile and just apply it on my= laptop (x86_64) as well as on Raspberry Pi (aarch64, recently added to Gui= x by Stefan)=2E > >Having different names will then not work or results in even bigger mess = with if statements=2E > >> Now, supported-systems does not mean "remove this package on other arch= itectures", but rather "can't build this on other architectures"=2E So it's= perfectly possible that guix will arbitrarily select a package for a diffe= rent architecture=2E > >Well this is the reason I ask=2E I though this has deeper meaning as to t= ell Guix, okay you found a package with that name, but it's not for current= architecture=2E So keep looking and if you don't find any other return thi= s one with a warning that it's not supported=2E > >So the "right" way would be conditionally select the right origin for the= package and use just one package definition with list of supported systems= , right? > >---- >Petr