From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id GE6YFc0iRmbjLgAAe85BDQ:P1 (envelope-from ) for ; Thu, 16 May 2024 17:14:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GE6YFc0iRmbjLgAAe85BDQ (envelope-from ) for ; Thu, 16 May 2024 17:14:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715872461; 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: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; bh=zLnV1ZBjGCxfMmfZrOH43lwIaH4Im8pP5X5Nd6Qv5Po=; b=OXPefh1UyjUlehZSSGuDVm+ZNSuKVgu8kVc/RN3/zwxY7oPYhCv82o4AMh43zspX9kXy+0 LCIbDxkukBwXnu2OqFAB56poSApCXDJ3zNW3u1ZOFIYkho+5JrOnQmG5Pp+/P9lb+VkrPl lxTUGf1MM+UE1F2hDNHyEHea2kUl8WztCpefgKmnf9mruwkxnxDe0MFKQz1Lds3dHXGUmy 7q1A1v2ZmK2nzHfmwceHkEnjbCjtYgFIASUIFqCUwd6K8s3Z0QvOnvfBtFn9hMLgzGlcH0 FjWuDgshDJvHkb3YcokrltE6e4ixZD6JNYWiGzAymHyzMBO4N868qPe/W2I9OA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715872461; a=rsa-sha256; cv=none; b=UI5sxd2SU6xiuHc9jixUDjXVb8R0mriw+7P/tgiVU+e0Q+7gTCED5QA0Rtegv85VzqlE5L +WiTqmBk8YJ0nnwNuGcxo1TlFnGK0FArZSuETD4LXxuMKUESy7mrcFM2ff6xE9JmHI64PT pas9H6RHf2SFu58f87ynguUnzwBmj8xTgi/6XJZAvkNZFv6KmSuFQfiYVuCeMAdUGIieM5 Ms9Fi6r+YmxaFL7AI0foPFGIyB8jhGchr6U1CozUQJSGbiSvPkryUS6cK6bt3GfptcwTcu nPXMo934AbWCsbXkeBKf3k1B0Fy2BaCnO3lxvxM1qJCJLRfKnlUimHlLnMhMGA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" 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 001E2298A for ; Thu, 16 May 2024 17:14:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7cny-0003dX-8w; Thu, 16 May 2024 11:14:02 -0400 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 1s7cnw-0003dB-Jh for guix-patches@gnu.org; Thu, 16 May 2024 11:14:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s7cnw-0001lx-BS for guix-patches@gnu.org; Thu, 16 May 2024 11:14:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s7cny-0007uE-Cl for guix-patches@gnu.org; Thu, 16 May 2024 11:14:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70985] [PATCH 4/4] guix: build-system: meson: Don't error on unsupported targets. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 May 2024 15:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70985 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Christopher Baines Cc: 70985@debbugs.gnu.org Received: via spool by 70985-submit@debbugs.gnu.org id=B70985.171587242930374 (code B ref 70985); Thu, 16 May 2024 15:14:02 +0000 Received: (at 70985) by debbugs.gnu.org; 16 May 2024 15:13:49 +0000 Received: from localhost ([127.0.0.1]:49267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7cnl-0007tp-AI for submit@debbugs.gnu.org; Thu, 16 May 2024 11:13:49 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:33202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s7cng-0007th-73 for 70985@debbugs.gnu.org; Thu, 16 May 2024 11:13:48 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8512D1FE1; Thu, 16 May 2024 17:13:34 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qW-lyZ3H1hZS; Thu, 16 May 2024 17:13:34 +0200 (CEST) Received: from ribbon (unknown [193.50.110.250]) by hera.aquilenet.fr (Postfix) with ESMTPSA id EBE2E1F41; Thu, 16 May 2024 17:13:33 +0200 (CEST) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <1f217c47d4494a29035dd136c2672771990c0eb0.1715871966.git.mail@cbaines.net> (Christopher Baines's message of "Thu, 16 May 2024 16:06:06 +0100") References: <3828bc238a8cc400f9686fe6856c665c31e927dd.1715871966.git.mail@cbaines.net> <1f217c47d4494a29035dd136c2672771990c0eb0.1715871966.git.mail@cbaines.net> Date: Thu, 16 May 2024 17:13:32 +0200 Message-ID: <87jzjtbxib.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) 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-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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -3.87 X-Spam-Score: -3.87 X-Migadu-Queue-Id: 001E2298A X-Migadu-Scanner: mx11.migadu.com X-TUID: 5trTo7sDWCqP Hi, Christopher Baines writes: > Rather than raising generic errors. > > * guix/build-system/meson.scm (make-machine-alist): Return #f if the trip= let > is unsupported. > (lower): Return #f if the machine alist is #f. > > Change-Id: If6a1f8d1c2073e43107406ac186aa9c845005a95 [...] > + (and > + (make-machine-alist target) I think this call is unnecessary (and kinda confusing because =E2=80=98make-machine-alist=E2=80=99 is a pure function) because =E2=80=98m= eson-cross-build=E2=80=99 calls =E2=80=98make-cross-file=E2=80=99, which calls =E2=80=98make-machine-= alist=E2=80=99. Ludo=E2=80=99.