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 ms0.migadu.com with LMTPS id SLm3HhCRRGIuLAEAgWs5BA (envelope-from ) for ; Wed, 30 Mar 2022 19:19:12 +0200 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 OEcUHBCRRGI4GAAA9RJhRA (envelope-from ) for ; Wed, 30 Mar 2022 19:19:12 +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 EDE001A40F for ; Wed, 30 Mar 2022 19:19:11 +0200 (CEST) Received: from localhost ([::1]:50194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nZbyQ-00034S-Pd for larch@yhetil.org; Wed, 30 Mar 2022 13:19:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:60496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZbxx-000345-92 for guix-devel@gnu.org; Wed, 30 Mar 2022 13:18:41 -0400 Received: from [2a02:1800:110:4::f00:18] (port=34500 helo=michel.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 1nZbxv-0005WR-Si for guix-devel@gnu.org; Wed, 30 Mar 2022 13:18:41 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id ChJe2700F4UW6Th06hJeNx; Wed, 30 Mar 2022 19:18:38 +0200 Message-ID: <9f4115a0e42f3578527de64372983b00f7788533.camel@telenet.be> 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:18:38 +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="=-1qNVmGzdn0TlOdrfYqvA" 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=1648660718; bh=Xugk/yKUClJROdFKwGRy2svgY6iTmaVPCsp+OvPWRGY=; h=Subject:From:To:Date:In-Reply-To:References; b=mrW9IKqXqa1TJx243ecF2oNZ+0A/ngQzEzV5FgIev9z//LHkSFMyBk4PDsIT3I5oC 4DhrouzAZYD2g5GdDOHow6M63c1sJBym2GJANu+CxidFXMzjVH/WGO+kEuIuvVPI+3 Ev1wdSiVTL5Ecf2yGFLIfMzGxN4aPDQoCSTSjh8XhZkpv4ZZJpqPsnHnxvKwPDNr18 7sg6IAe9HrJHAbW8tuZYwyuJAyNRfA0XDq+nnr9lH8FBVU3OJuXzliwn0i5IJ40fk1 sJp3+srMepCRo7wfH72EeeF2btA+eUICrsbL3Diex4e8uPm/JQ3DKTsbxGqtfo7o6t D/G8xhAI7mxmQ== X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:1800:110:4::f00:18 (failed) Received-SPF: pass client-ip=2a02:1800:110:4::f00:18; envelope-from=maximedevos@telenet.be; helo=michel.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=1648660752; 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=Xugk/yKUClJROdFKwGRy2svgY6iTmaVPCsp+OvPWRGY=; b=LXWWL4laVF6gQZocvSOSPGFRFSmLasBMKNSdWLzdYPmtO18HFir3Teq4aRWY1erL4V5zj/ nYuS4q/AClS6NV3fUNo5xBEyo/38HTyJgTg3vqbDDBQ0buOp+FYX9avFF7H8/WPN8LtktR PyaLYUSY6ay5jQANqHT3EbdOdmvb0KosYwQnnzw2qSUDT4MokaKz5m/6yzeQVOa5o/bi3/ r6qzCGKgKL/pGXmIHiEocmlMlUHfE6vtpJcdUJyv97zRb0S8hZHs5tQtGRqSiXlmOXF7iZ rgBOeVTH9sBlXjUURyZ2WUH6Jm85L8outuuR306dq/g1c9N1CXy/Qpie9zjHDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648660752; a=rsa-sha256; cv=none; b=MfuHm3S5uza5nL77NLpCBQG40rE2BHhXNUgbfU+zZZT3CkUCnchho3DYvbgG86WN9TSISH 3KDHn9aHQwMKy/Zddpm0gi2AdPVbwh8nfNuorFx84Fi8WRw09fPvT+EGLzM2IsvHrJvlbX jJAUSKFQ7uL+YbUMV8rA8iS/mhJsfoD+cDW/TKTlvXE+R+bNC7532u1VAh3oO3jOiNogDy bmrbK91bmNf+d/zEqnnsJt7i2wTia5e0as32MrWvJO9aajTRwd5GgXu0iodlzCVuF1jtCS EW0tCoU6u3704kcZRxxiG0nDypyItPR5R+NKbrkbEWDTq2fw0m/m9iJtgXrNlQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=mrW9IKqX; 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: -11.27 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=telenet.be header.s=r22 header.b=mrW9IKqX; 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: EDE001A40F X-Spam-Score: -11.27 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5YNHJCLu5Ffe --=-1qNVmGzdn0TlOdrfYqvA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret schreef op wo 30-03-2022 om 17:17 [+0200]: > Following a report on IRC [1] that nss-certs wouldn't cross-build, I > found out that the old syntax of using %output instead of the shinier > $output was still supported only when native-compiling, and not when > cross-compiling, at least for build-systems inheriting from gnu. This is a bit of a distraction from the main point of this e-mail, but nss-certs is architecture-independent, so you could add '#:target #false' to 'arguments'. Then the native compilation code is run instead of the cross-compilation code, and the same derivation as for native compilation is reused, saving a little build time (and disk space, in case nars are generated or deduplication is disabled). Greetings, Maxime. --=-1qNVmGzdn0TlOdrfYqvA 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+4iGRcl7gUCYkSQ7hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7rCzAQCoxDwUe6KKEMjyL6QIwBU+zQyh jNusEmTQtNwjJspQmAD/VB5OIhl2Rpj2yOntz0IJl1LmsDhVAghvd82dlHsXCww= =mstH -----END PGP SIGNATURE----- --=-1qNVmGzdn0TlOdrfYqvA--