From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2Pn1LQtO+mPGQgAAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 19:06:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QO4ILQtO+mMI3AAAG6o9tA (envelope-from ) for ; Sat, 25 Feb 2023 19:06:03 +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 7BA469B36 for ; Sat, 25 Feb 2023 19:06:03 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVyvc-0007H5-Cp; Sat, 25 Feb 2023 13:05:48 -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 1pVyvb-0007Gi-0C for guix-devel@gnu.org; Sat, 25 Feb 2023 13:05:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVyva-0007hl-Nt; Sat, 25 Feb 2023 13:05:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=fTPIAC2V9IEiPz9RXhxzOzwSNJCSqhe6PvyWVzfVfDM=; b=azdWxVVbu6x2GmCTx8HC 6NQReoGzswSg/G25tpLpjGJNDCBjrjJFIwNcs127f4UYbdd/GsSStaoT/ui2N6VdnRl0UDtua/J7D gnxCaaZoB/svlroQB28IMRekzDKUZuUGI8dj+BMZLuZsSBRq+ZZniinHK/5aakRAPUw62uFguSR3l fBdGV8WIwx4nd46Qu5k76ZkSrjGTxUnqQKMxQudyrZlDNBER19c5vy9MnO2dfdwxBwhipAx55Zt61 1RRgA1A+PjmbQezZuRcEy5IEtsjfAbs9iBexfravm71h4jlgl/zObZjQEY7NBQOTea3IaIRO2A1Tk +hQvMKEonMvWQA==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pVyva-0003yx-47; Sat, 25 Feb 2023 13:05:46 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Maxim Cournoyer Cc: guix-devel Subject: Re: Uniformly treating native-inputs in native or cross build contexts References: <87k01ay90w.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Septidi 7 =?utf-8?Q?Vent=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour de l'Alaterne X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sat, 25 Feb 2023 19:05:44 +0100 In-Reply-To: <87k01ay90w.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 25 Jan 2023 09:38:07 -0500") Message-ID: <87v8jpwrgn.fsf@gnu.org> 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 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: 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=azdWxVVb; 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=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677348363; a=rsa-sha256; cv=none; b=Q9c4oyzhX7OnL3e04CUAxZcFNBYy6VkO+k65OXzkjaEJj8CyXkAoyT6pvWbqTuEJ5aG91Q 04cMXFz6XfIzoexh15CWxxAYyclorQF/GtqOVC6ufoYc434lEHw8/RgtuuXuJiPLoF06bA PgNOgdtCY3v9qDLbkkQhqbxGXTDMOQ5VgwyZ5qqv802GFcQr5m1SyVJX7LALPauF2d0Te/ LZRmqHLUUlE7r6gBQe6By2lkKxiaVGc/Baz/xe/RAn215qA/cD5oZAETLpXunLniw1/Waq 8Qz61wNFRcABoVYlsKGO3eHTjqlkqXiYbFokU2s9a9OpaCXOvRebeUB0gs/T5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677348363; 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=fTPIAC2V9IEiPz9RXhxzOzwSNJCSqhe6PvyWVzfVfDM=; b=uV+YRxJMV0zglbwZRIwfnxixOdCDmTvAWpbb8iCuCPSSHSHneZDpRpkXHoah3EKnjI5zMk EfezFFkTF3/stNStPH5I2r0g0PWvMs0GCf1yoY0fjJGJnrpD/CvX2amjdPVAIAJoD1MSWY NXA0gP9Fqptk7T1BW29aFzM5do1WlmpQyWClJuKprf4c3rhyuPqOA1Eog87DX546bdyyaY leQl8QUtlzRsIZ3btx8w54EkRIZSz/dPJ8exBghARVbL61g9NztHtxO+K8+o1UtAjOAbqb A2Q7V2MrMZD3IY5tHp+QOcOHfLG+6fuw8yUQ4BYed5ywgPjYoBhh9tRLeZ3f3A== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=azdWxVVb; 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=gnu.org X-Migadu-Spam-Score: -7.70 X-Spam-Score: -7.70 X-Migadu-Queue-Id: 7BA469B36 X-Migadu-Scanner: scn1.migadu.com X-TUID: Jc8nur0D2oI4 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? seems= to be unrelated. > 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=99= s no reason to distinguish between =E2=80=9Cnative inputs=E2=80=9D and =E2=80=9C= inputs=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, perio= d. In , we=E2=80=99re interested in giving =E2=80=98native-inputs=E2=80=99 a different meaning, that of build dependen= cies. Packages listed in =E2=80=98native-inputs=E2=80=99 are indeed usually build= -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-dependenci= es=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 sh= ould be prepared for long experimentation times and coming up with a deprecation schedule if it turns out that the changes are introduce some incompatibility. My thoughts as an old guy. :-) Ludo=E2=80=99.