From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KC0/EY5k+mOpBgEAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 20:42:06 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 4GFNEY5k+mPfUAAA9RJhRA (envelope-from ) for ; Sat, 25 Feb 2023 20:42:06 +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 1905BC8BD for ; Sat, 25 Feb 2023 20:42:05 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oGtcvPug; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677354125; a=rsa-sha256; cv=none; b=g27fMSDW4MD2mypYtcyU+gsCHRJlqqJCZ1uGD4ztwPBeg01eNn/9pnPARCcqJ8bR9QICNb FhUWoVQdBkZp920rwAQ+DEi5+d0We0tKMlbv/HsI91zHbYIRZenNPVDv7UXm60woJuttbN R77o9orz74Uz/BRB8drzh6vs6d5qdy9iI7BmmiZkTrWdp+R+tSSMluPLzWrLrAI0fyhVN1 0ETsPUaZwabx8rMyz8wvkK7WY/oKs9HMeEovQpIsRJoAVf4mhaIdIC8Pp1a8iAqCFpLhO0 zrSWUunESxULsLEqryDTSQD4mhE0Fg6PR0dJnFWa31PT0gZM2fHC2F4sSn6dHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=oGtcvPug; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677354125; 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=/gpi6DDAY+bep1DgLsfapwRuuXw8Dnf2qageAkavcBc=; b=AJ1MhGZuSIC6+VxfeHP3gj1ZXQUjMagAylk0kgQKzgaDFnJyMyNOnV+NWBASGbssdGYxAs 55ZX9y9gmkXawaEUC1B+ZCxbJJMJUSNiWZBitHgxHpTIt5sbB+VRXhcyUEmO87Nz99zUSg HWDTenb+wz/wOcyP4mPI5jtYkyid83GaCT+XAXMyGPsjH4cXMUO0Nxk4ZLj38YfTVfsF4o A+XoYy7W3bD4gjeiHcMVhtYxgBLWHjPSLjDBjGAKA3/ddxSfstSacdFIwihArnJKgFfI81 2Is1da+9cnTcdoDCeFMX8dZzgDYn9HUWQuoJhr1DPKJAcS4Z3woX1kZ3OqYXhA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pW0QV-0003xG-A9; Sat, 25 Feb 2023 14:41:47 -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 1pW0QT-0003x4-QT for guix-devel@gnu.org; Sat, 25 Feb 2023 14:41:45 -0500 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pW0QS-0008Fb-3y; Sat, 25 Feb 2023 14:41:45 -0500 Received: by mail-qt1-x835.google.com with SMTP id c18so2890189qte.5; Sat, 25 Feb 2023 11:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to; bh=/gpi6DDAY+bep1DgLsfapwRuuXw8Dnf2qageAkavcBc=; b=oGtcvPugKYfzE37bjKAGP7R72lj7QJIYtClMzkKEe/7HpRrxbv34z1qP5Z1CPlxmD1 6SVqJWx63pHPfrKHu2J7lt7v970AXcrP7jsv3yGKOtozXpjfl1sajz53xcTMclHtGXLq Q11+NF0iDYy4vHT2SmU5D+NH4rbBqD9UoPVq130MeKhUAq+hnqd1khqzTb+1l7Yp5BcM XoHQB4W7bAHLiMX0K99GwwayIaPN9h/2HUUkJhS7U7Ll+dMnAP4cGvUR86+5bh6UKVc9 UaFOv2fZ01pD2wGUK9euHNDxT7n38GIM4LrJBUCNZAb4ascJ4fV/qxBy1Z8xdBM6XkI0 e0dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=/gpi6DDAY+bep1DgLsfapwRuuXw8Dnf2qageAkavcBc=; b=KGUX3YrM5dZSys77IVSu1Y+/rVjQeLKvK4jiWqIgEV2QN8HLcTlGTxTJQuOu54SBUH Cjv6XS4utIs9i0xo2kEvOZTzR1DpliGE/Fv9vcG6XMcm6XE5tesTCUERoHzSm9uNtWzQ zm81EZKRfM0AuNCQsKYmd7e8Q0uGzj1eNTjpLTABT9ZvuaHKkkUI+zJNVX+P2AECV/e6 DBVyTrbowozda7q8PcC/c4i1F7exqulte/ASOps8VPk9yRmAFIK70d8TAZxoj6faLNER gBkyUiam8571kNW8TI0D9IHtE5FlxaWVascnV4XETS7xbHKRP4arY/J9Kn0chXvNnjl0 drIw== X-Gm-Message-State: AO0yUKUEUt4Zx2wPqZ0ndoiVLD+5vC2/soNw8vfe+BmueTA2r6UL+ScJ IlLBmk3aokq8TMU4hEW7fAqZDJEGuKQQEA== X-Google-Smtp-Source: AK7set9KVjzlIkjspXkUoyOzLbbqESLeAJTLTYAWWO7a7N6Udy5XJvRtWQzca5kFFhUwMFmRI8mspA== X-Received: by 2002:a05:622a:211:b0:3b9:bc26:3349 with SMTP id b17-20020a05622a021100b003b9bc263349mr18922736qtx.37.1677354102078; Sat, 25 Feb 2023 11:41:42 -0800 (PST) Received: from hurd (dsl-141-27.b2b2c.ca. [66.158.141.27]) by smtp.gmail.com with ESMTPSA id 70-20020a370449000000b00741a984943fsm1689823qke.40.2023.02.25.11.41.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 11:41:41 -0800 (PST) From: Maxim Cournoyer To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Subject: Re: Uniformly treating native-inputs in native or cross build contexts References: <87k01ay90w.fsf@gmail.com> <87v8jpwrgn.fsf@gnu.org> Date: Sat, 25 Feb 2023 14:41:40 -0500 In-Reply-To: <87v8jpwrgn.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Sat, 25 Feb 2023 19:05:44 +0100") Message-ID: <87edqdfs7f.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::835; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qt1-x835.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 1905BC8BD X-Spam-Score: -8.20 X-Migadu-Spam-Score: -8.20 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: xOuIg9z8cXw6 Hi Ludovic! Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> In #60857, I've unified the cross/standard builders for the >> pyproject-build-system; even their bags representation are now >> shared. It enables fixing things such as #25235. > > What=E2=80=99s the number again? see= ms to > be unrelated. Oops, it's #60847 (https://issues.guix.gnu.org/60847). >> Going forward, I think it'd be beneficial to apply the same strategy to >> other build systems, for consistency and to allow filtering purely build >> inputs from the inputs captured in the wrap phases. >> >> Thoughts, concerns? > > I don=E2=80=99t recall the detailed reasoning for doing it this way, but = I think > it was roughly along these lines: when doing a native build, there=E2=80= =99s no > reason to distinguish between =E2=80=9Cnative inputs=E2=80=9D and =E2=80= =9Cinputs=E2=80=9D because all > the inputs are native. When computing search paths or iterating over > input directories to strip, you=E2=80=99d just iterate over #:inputs, per= iod. Separate builders (like is currently done) also have another plus, which is that bugs in the cross-compilation builder can be fixed separately without impacting the native builder. > In , we=E2=80=99re interested in giving > =E2=80=98native-inputs=E2=80=99 a different meaning, that of build depend= encies. > Packages listed in =E2=80=98native-inputs=E2=80=99 are indeed usually bui= ld-only > dependencies. Yet, we=E2=80=99re trying to stretch the definition of > =E2=80=98native-inputs=E2=80=99 to something like =E2=80=98build-dependen= cies=E2=80=99, which leads to > different needs. > > Independently of this consideration, any change in this area can be > tricky to test: all the build systems and packages may be affected, both > with native builds and cross builds. > > I=E2=80=99m not saying things should be set in stone but rather that one = should > be prepared for long experimentation times and coming up with a > deprecation schedule if it turns out that the changes are introduce some > incompatibility. Yes; that's why starting with a builder that affects little packages (pyproject-build-system has like 100 packages using it) gives us a nice testing ground to validate the idea is sound. --=20 Thanks, Maxim