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 ms0.migadu.com with LMTPS id 2KfCHPCRRGIuLAEAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 19:22:56 +0200 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 cMKeFfCRRGKzwwAAG6o9tA (envelope-from ) for ; Wed, 30 Mar 2022 19:22:56 +0200 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 05A57353D0 for ; Wed, 30 Mar 2022 19:22:56 +0200 (CEST) Received: from localhost ([::1]:51408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZc23-0003t3-2L for larch@yhetil.org; Wed, 30 Mar 2022 13:22:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZc1R-0003su-Ug for guix-devel@gnu.org; Wed, 30 Mar 2022 13:22:17 -0400 Received: from [2a02:1800:110:4::f00:19] (port=58430 helo=laurent.telenet-ops.be) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nZc1Q-0006Sz-9e for guix-devel@gnu.org; Wed, 30 Mar 2022 13:22:17 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by laurent.telenet-ops.be with bizsmtp id ChND2700D4UW6Th01hNDV8; Wed, 30 Mar 2022 19:22:14 +0200 Message-ID: Subject: Re: Deprecating legacy build phase style when cross-compiling vs. native From: Maxime Devos To: Josselin Poiret , guix-devel@gnu.org Date: Wed, 30 Mar 2022 19:22:13 +0200 In-Reply-To: <874k3fh3m8.fsf@jpoiret.xyz> References: <874k3fh3m8.fsf@jpoiret.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-WvRxH6L3FrQK8ELPX+v9" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648660934; bh=LQJ1wmawcuD4q+WP4RJYSNdvFKOfWdi9kgljeDA+E+k=; h=Subject:From:To:Date:In-Reply-To:References; b=iVqbfvcFyhJH0lh+gfB9XdNvRrQGgWsI45Cl3Xsd90GMATjQcXOHnNmrGgcClkp/C MGAAnI3xdPdLwbNo9c632OQDL9pTbBWgfZ8SU8wnWvGd9vmks0pofMvOHk2ycHRxIt lmU9sRUqbOaxtVe3xkClCQon9zKzc0IkkQ5gDnmuRJr0iN5xJKwcEy95fsYXOvAOSe osdFpgUQmKLOh0lRAxeqtcwdNWrbwCehZF4sQGEU0jHqcT5Kd55ikrBTiaC0/AufTe WlwlzDUGryBbFvZIA2tX1cJayBUDxMqoNDloOCnOGcniAGNTCWOhCNpatNSOHycbfd QJbQ5OAkOsjMg== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:19 (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:19; envelope-from=maximedevos@telenet.be; helo=laurent.telenet-ops.be X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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_LOW=-0.7, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648660976; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=LQJ1wmawcuD4q+WP4RJYSNdvFKOfWdi9kgljeDA+E+k=; b=kdD5itPYbT7pXxn9t65+JxQZSTMvZLDjV8TtffiyQ6tdoSqVWi1k2QlAMEg8EWqsGajRUJ OgA/jvOgTq6oUYT1VY/53sdf6OcL1yvBmBbG5BwHJP61CemPvIY2ehA7Ryy8RIILmyuLYa Klf56Yp2yK+8MmYjRoMttCuJo3n6yh5aUr6ErF/F/VuVK0lIuKRgI8s1/dvLWvKIsyvFsP HbItJFtTEirfVefPtdHdya6nXZjyrVgk/4Lt8b6yLrl+pY+L/x5Nf6I9zzW6VQT/U0GK0f OGLigrZeNnbYawvM4TAqeUw8toS7h/1TZeM+RuDBBpoKtHdqya4mEraK7ye7Lg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648660976; a=rsa-sha256; cv=none; b=cvxCP0Nn6jy3dTzEviSlQ5DY1s2WqCvKn1h4lPWfrTRQvLL60nr276IW2squTlHaRzw1eY +oyK8oKWbfQC/9KZVVTiVNrS4WbpOsnu1aJynL7H76wzLKcw5NVwCRnt41DA1Dgr9RVA+7 r8J1MqCQKyxJDxIxiasZfO9W55w/4s4kyLsGraIpfRMSrfP0obUNzIULmW+140/lcDGO2k rTj+O8Y1QoSCUX+wRr6P0znAmTnm9lg7ZA26BihprFrZNlGpFYFtCZm9wpAH1l4ATjRlx6 GjyNkjROrX1tHdfYXT5HwvWs1grALq3P8wz4ZJxZwk16mhj5TTuoYOYOqZhdgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=iVqbfvcF; dmarc=pass (policy=none) header.from=telenet.be; 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" X-Migadu-Spam-Score: -6.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=iVqbfvcF; dmarc=pass (policy=none) header.from=telenet.be; 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" X-Migadu-Queue-Id: 05A57353D0 X-Spam-Score: -6.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: MY86a0SRtUHY --=-WvRxH6L3FrQK8ELPX+v9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret schreef op wo 30-03-2022 om 17:17 [+0200]: > This means that packages that were not updated to fit the new style > should all fail to cross-compile.=C2=A0 This simple bug could be resolved= by > adding %output to gnu-cross-build, however as was argued on IRC this is > now undocumented behaviour and we'd rather switch all packages to the > new style instead.=C2=A0 While I 100% agree with this, I think we should = have > a uniform deprecation policy for this matter, and that there shouldn't > be such a disparity between cross and native builds. >=20 > What do you all think? Not sure how this deprecation would look like (a NEWS entry, a blog post, a (lowercase) news entry, a linter detecting %output, ...), but I agree with (eventually) removing %output / %outputs whether cross- compilation or not and for all build systems. More generally, I agree that disparity between cross and native builds would ideally be minimised (I consider native builds to be a special case of cross builds where one can run the compiled binaries and run tests). Greetings, Maxime. --=-WvRxH6L3FrQK8ELPX+v9 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYkSRxRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vJVAPwKUe6ZQdVoWqXM75GZHPWoluF4 QQl1Vd3GdeFVFNuNqgD/SmSkmHfqDSlKMkbMoBzPaFtW0mZQRgVQTNWiP1tiuAk= =ib8j -----END PGP SIGNATURE----- --=-WvRxH6L3FrQK8ELPX+v9--