From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wKodO/D+CGOfyAAAbAwnHQ (envelope-from ) for ; Fri, 26 Aug 2022 19:12:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uG5JOvD+CGO33gAAG6o9tA (envelope-from ) for ; Fri, 26 Aug 2022 19:12:16 +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 8ECC43D3F for ; Fri, 26 Aug 2022 19:12:16 +0200 (CEST) Received: from localhost ([::1]:59766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRcsR-0000oD-PD for larch@yhetil.org; Fri, 26 Aug 2022 13:12:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57358) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRcsG-0000nD-Gq for guix-patches@gnu.org; Fri, 26 Aug 2022 13:12:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36492) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRcsG-0000jf-7i for guix-patches@gnu.org; Fri, 26 Aug 2022 13:12:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oRcsG-0003r9-33 for guix-patches@gnu.org; Fri, 26 Aug 2022 13:12:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57430] [PATCH] gnu: wayland-protocols: Fix cross-compilation Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Aug 2022 17:12:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57430 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: 57430@debbugs.gnu.org, Tobias Kortkamp , Liliana Marie Prikler Received: via spool by 57430-submit@debbugs.gnu.org id=B57430.166153389414727 (code B ref 57430); Fri, 26 Aug 2022 17:12:04 +0000 Received: (at 57430) by debbugs.gnu.org; 26 Aug 2022 17:11:34 +0000 Received: from localhost ([127.0.0.1]:54464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRcrl-0003pS-VA for submit@debbugs.gnu.org; Fri, 26 Aug 2022 13:11:34 -0400 Received: from nomad-cl1.staging.muradm.net ([139.162.159.157]:40908 helo=nomad-cl1.muradm.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oRcrj-0003pB-MM for 57430@debbugs.gnu.org; Fri, 26 Aug 2022 13:11:32 -0400 Received: from localhost ([127.0.0.1]:45306) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1oRcqj-0007lo-2F; Fri, 26 Aug 2022 17:10:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To :From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=pccu45MkCc5PCDN5lQe43d/Eor38UXFtBosL6Jf80Co=; b=kjfDkoJDnLL1CPy01aH9gxhVyj ZOMLQcIhInJPA1m3bHobrixhYds3vjxd+gqKasDZSKUZ5S6Qfl/gNTxBqjaOTl/mUbJKrjJmPFe1p 4rdFjuJEsOd+joD2gsCeEDqmKSNrH1Z0/dctgv+ELcklHPflalRi4HAGraNojeKUiqh6BTy38t9TW nvUmwzEMctCxGR+qmxs8mDXUldaeD0XFhr62xvMtdE9PhCD2FHhYpx0LEni6LKm8r+fPBRIBgzf65 /hwObN2baZU4A6aubIcLWK7f7aL4XIjs3QIV7vqf31ghZ8fsm2DORrJbWyuZnJ4N6IjXTi9vBhgwp VXWn/Rg/zVRITLm1LOrzR0zhp5xFd7x7A68zo5us6B9jAuGn4/OghQLG3FfEBFJKWsWHNWz4LNFYh qyNKeZT3bmJ5XEFjycJy/bhIoF+Dvf1CCti5dD2yJNhg8Xsv2Wz/FEH1HEvNPi8vCUnxbdcGg9Yrl vVXBrTsfoTxIwAprzV9DlUhb; Received: from muradm by localhost with local (Exim 4.96) (envelope-from ) id 1oRcrc-0007mk-0E; Fri, 26 Aug 2022 20:11:24 +0300 References: <2195d673159785d305502677d786ae9bcd69ac7c.1661508240.git.tobias.kortkamp@gmail.com> User-agent: mu4e 1.8.7; emacs 29.0.50 From: muradm Date: Fri, 26 Aug 2022 19:59:01 +0300 In-reply-to: Message-ID: <87bks7x744.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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" 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=1661533936; 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: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: dkim-signature; bh=pccu45MkCc5PCDN5lQe43d/Eor38UXFtBosL6Jf80Co=; b=JqKFBAdo9/bn6M20rXNzqzoJXVzIgbwET5AdtKLeV+cgLmmK+PSSc9RmWASh4K0ldCCqml +uN19oi/0X/EOmPzvQWBmKqVgPZSPGAz1PGkbeTAN26cHztFt5Z75ENGItjA4t+bNAT3kI ki2NIhgRWoHBVdyfHqscWMZVbVtVYQm9rtuRkYsjfHII7ZezRfgKU+d3PFarkq0cUcltca 6b82p7aUxp5EEuglLZufusNoo1uUDwCqMiF5lH4UM4J/1B0EQSbqQoL3I/zPxZQ0Zmavwb l3wrXwFEt8NOZGCg2KiV8p3XeKVs+3M94lgDfC1qS2I/bIOmuO3mLSjJk5wcRA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661533936; a=rsa-sha256; cv=none; b=LQwFwEPS1qvdo1F4mwgrcivdwID0R6DH+Ep2TmlMSOnW+fB5bv1lH5lmlgjuYhqBN7pZ7k ANX1s4B3beU0hFdgsu+F+aedTg06wzs9SxR/8d9768L63L9rjnr5vaJWyxzVBLRhUoktMc x1smtYib/KBMzqwitYGEIcwY+XnAni+lK4DZW+p/DFmvvG+5xpS17zaAsOUdJI/tRs4JRw A6s9poYddCCgS7Yn7UorM+hukMzh42E+sQ4c3CCnr9MC0FDvWmvczPiHG2wqeBakdpt1by 1LHo/YqIVGI+aCK9M8zPhVwmV/vwIaLjh76KeOX4Bw5wPBzTTjN134McZx9H/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=kjfDkoJD; dmarc=none; 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" X-Migadu-Spam-Score: 0.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=kjfDkoJD; dmarc=none; 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" X-Migadu-Queue-Id: 8ECC43D3F X-Spam-Score: 0.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: eEAZx9fjsECT --=-=-= Content-Type: text/plain; format=flowed Maxime Devos writes: > [[PGP Signed Part:Undecided]] > On 26-08-2022 12:14, Tobias Kortkamp wrote: > >> * gnu/packages/freedesktop.scm (wayland-protocols): Fix >> cross-compilation >> [native-inputs]: Add pkg-config-for-build and wayland. > > According to 'guix gc --references $(guix build > wayland-protocols))' > and it only having a 'share' subdirectory, this appears pure, > architecture-independent, data. > > As such, here's a proposal for a simpler solution: do: > > ;; Pure architecture-independent data, cross-compilation is > meaningless. > ;; Resolve a cross-compilation failure and save some disk space > and > compilation > ;; time by always compiling natively. As an additional benefit, > this > avoids some > ;; worrying about whether placing this package should be placed > in > 'inputs' or in > ;; 'native-inputs', it can now be placed wherever makes the > build succeed. > > (arguments (list #:target #false)) > > This appears related to https://issues.guix.gnu.org/50627, so > putting > the people there in CC. > > I'm wondering, is whatever the issue addressed by 50627 now > addressed > by this patch? Purpose of 50627 was to reduce dependency on wayland-protocols from other packages. As far as I understand, this one is to reduce dependencies of wayland-protocols itself. As far as I know, there is no binary output of wayland-protocols, and wayland maybe needed as dependency for testing purposes only. IMHO these tests are targeted for developers producing protocol specifications. Once protocol specification is ready wayland-protocols is released. So running tests on wayland-protocols should be pointless waste of resources, as they don't prove that anything useful, instead dependents should test themselves. If testing causing waste of space and resources I would turn them off or probably use copy-build-system even. > Greetings, > Maxime. > > [2. OpenPGP public key --- application/pgp-keys; > OpenPGP_0x49E3EE22191725EE.asc]... > > [[End of PGP Signed Part]] --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmMI/rsACgkQ6M7O0mLO BeKB5A//YcFULW9xPCgdM/htMSe8Y0zko04acRr9TQ7chjyEQsApA2aZLt9vUY4f CFh0lxRV8f+e/8mHesWcqeNpbGAL8P3y2kJPtgAfsGUDF2+T0n3YBjEe4eRasedf NFgyt9Ds/9N4ujMRsWDuYRx6Mi0d9HghAzQgERMyGIrLYw6efAEQgdpQufHZe2qh fcD2G8nswSuprJpA2xSEFAYfQ/tbrmf26QATBy7u1Qt/N5s6SslCDo8+Bnm8FuQe Q+TQdDSJFjNaqTARhVA4+54MdT19cGKIf264Ji3eGYMAyYGfLdpoo+VAi1fusQEO fnvlddSLi2DmAFVKihfNyghWUD4u+e9mrAWrThE/zMoGop/Eq1TgyjIIUyPpBrzE v+BU4/vzY6+WL3G+bWeSiPHQKCi+GGUXSHiNecy0Zne5y/OgPsxDtBYVWDBUuq6T ktjY/tyMinUKb6OJTfDej5MrKWT7QUNtrgBg89gGszYIxbsxr7r0PHteEDRN9D7e mEOkPz2YwZAKTiEIEQwQ+rXpZHmMiRUGEEL8pM6XGkQzKyuZlwceefaf3kUf1DvA G17Eiyf25G8RGaf6BO5+d96xLE+BZdXUaOWpaJgCCS9VwUOO7om0VZx/VxZKM19W xf42phluUQfK5LlQz56bEW+r5cZuQYYMwagxuFm8epS6pTXZXLw= =er86 -----END PGP SIGNATURE----- --=-=-=--