From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 6++wHc7jQGJSsAAAgWs5BA (envelope-from ) for ; Mon, 28 Mar 2022 00:23:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sNZzGc7jQGINLwAAauVa8A (envelope-from ) for ; Mon, 28 Mar 2022 00:23:10 +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 EE4661B95E for ; Mon, 28 Mar 2022 00:23:09 +0200 (CEST) Received: from localhost ([::1]:43458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYbHw-0005iK-1u for larch@yhetil.org; Sun, 27 Mar 2022 18:23:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYbHq-0005ho-Ds for guix-patches@gnu.org; Sun, 27 Mar 2022 18:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYbHq-0002hy-5s for guix-patches@gnu.org; Sun, 27 Mar 2022 18:23:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nYbHq-0005ZW-1v for guix-patches@gnu.org; Sun, 27 Mar 2022 18:23:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54595] [PATCH 2/2] gnu: libfido2: Fix cross-compilation. Resent-From: Thiago Jung Bauermann Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 27 Mar 2022 22:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54595 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: pierre.langlois@gmx.com, sl@eauchat.org, 54595@debbugs.gnu.org X-Debbugs-Original-Cc: Pierre Langlois , =?UTF-8?Q?S=C3=A9bastien?= Lerique , guix-patches@gnu.org, 54595@debbugs.gnu.org Received: via spool by 54595-submit@debbugs.gnu.org id=B54595.164841972221332 (code B ref 54595); Sun, 27 Mar 2022 22:23:02 +0000 Received: (at 54595) by debbugs.gnu.org; 27 Mar 2022 22:22:02 +0000 Received: from localhost ([127.0.0.1]:56724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbGr-0005Xz-Pg for submit@debbugs.gnu.org; Sun, 27 Mar 2022 18:22:01 -0400 Received: from mx.kolabnow.com ([212.103.80.154]:4558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbGp-0005XO-Us for 54595@debbugs.gnu.org; Sun, 27 Mar 2022 18:22:00 -0400 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id E823B1AD4; Mon, 28 Mar 2022 00:21:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:in-reply-to:date:date:subject:subject:from:from :references:received:received:received; s=dkim20160331; t= 1648419713; x=1650234114; bh=KMCykxI+Oo8uGhj1Fem3M64NPIXK+te/ijB +zKCzjEQ=; b=1Gt3eapbHcy269UrH/TLEg9wSwoZfVXeTuqdMWt7GQwY9abM8mJ e2ZQVY8pxwlXr9+FtbY/I7g5CqI6N4J/Uh/F9LrUws09xXql22lDhX8ZSYQgrSPa 1DAdHCZe2r+nA9nvFekI2fJshOCqIZlYtmpZFRjRiAMEQshPlUQELGHA5IyheJ/q 5xCZJgCF0HToa5OOfZZicVI8ijqtRi7sHaWroh+O0lamipHSLHdcWbpItNTVHodN yrcAV1fZO2ppTUOlfJGxS+5p79PbvRYJ4BmKgPGp3rrJc9n7NqIQdzStO5QDORdL xUnZs0jmeajIoPlZOKT+6H2jC5nKGMJMjAGLXe0ITyF3ONBW1sCjxQQIosDBxOxs Nfpz5whEYUAulXD11w86Ml8DGPXa/ImZzmaaZHAB6ObrOk/vz/IW4SIg8m+rMP6E 3WvoDW/G/woQ9o8NvpIoq2F83PdX0TEXx3ixV/ZCsyzGnzkpeX6JeWfVPcqBwIrV p1xe41Kj54ifQ/arIVaDUSsVuoKzAu5kySSbZjkPSiw1kRR/6WpQfA96YQiKXj1/ EOqu51L9+nmOwHDV2fJf8GPlnaT37W/hrpO99KO6jiph3v73SARaNBbkJMeOMCCO 72EF9l0oybr2wuZE413dIMveFWvwcvZXb1IDFihyjG8VVxsiV0V9yLxk= X-Virus-Scanned: amavisd-new at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m4F3Au_RWmMO; Mon, 28 Mar 2022 00:21:53 +0200 (CEST) Received: from int-mx001.mykolab.com (unknown [10.9.13.1]) by mx.kolabnow.com (Postfix) with ESMTPS id 3DAB517C8; Mon, 28 Mar 2022 00:21:53 +0200 (CEST) Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx001.mykolab.com (Postfix) with ESMTPS id 506E3BC9; Mon, 28 Mar 2022 00:21:52 +0200 (CEST) References: <20220327122956.524901-1-sl@eauchat.org> <20220327122956.524901-2-sl@eauchat.org> <871qyn7afq.fsf@gmx.com> <1fd85fd1bd5389fbe4f14325e22fac8705b9807b.camel@telenet.be> <87y20v47of.fsf@gmx.com> <1d2b3dc1ff2195c9e9df86f0943cdaf024cb0234.camel@telenet.be> Date: Sun, 27 Mar 2022 19:12:25 -0300 In-reply-to: <1d2b3dc1ff2195c9e9df86f0943cdaf024cb0234.camel@telenet.be> Message-ID: <87o81r2g05.fsf@kolabnow.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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" Reply-to: Thiago Jung Bauermann X-ACL-Warn: , Thiago Jung Bauermann via Guix-patches From: Thiago Jung Bauermann via Guix-patches via 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=1648419790; h=from:from:sender:sender:reply-to: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: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=KMCykxI+Oo8uGhj1Fem3M64NPIXK+te/ijB+zKCzjEQ=; b=g3rdMJ9EDgBQgVr4N0JZ7qgz7TFlY+baH2siZ2zCWDDXu0vjoPg6Nhv9M+unkL76htkWrT UP+bHhgWdPE4ZrneaEGjFBB1HV8iCeNgew0wnR9Qb9lY6nwgC2XXM0kKInnv0AX0ei1EHA xf/APZ6FoUvW4hwt3pRw9r83tSBCtQLB23Boot4QZvIP5OPhRckniXxYIT9UcrTKOyY6kQ rKirFznnD5YWRsiYx0yTZBlHPQpfW9+I9mXQC2XsSqvbgeegBCmQ14FpisNymrUVFZ8pcX Yf3geHJDEd5guoMtGqr0YUjbkTJ/RhLOYAEs+NNleWdtb5/2ZVgcBEE3j8Ei0w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648419790; a=rsa-sha256; cv=none; b=t3PW3ZTn1VYijrc5BCiwyypBayIba5819JFKfedS/IbiZII03HYsJ6IoQgXMNEJGuA3ZgE ZffGi15AlgapS11h/Rkk4wpxboxd+gwMFghrLMw4+wuYoGQTkcl5iVHptN8it/TdZYYx8g j5I1i/3iwkaozOtuMMcg9OIhHVmyRjWZt2HLkyYar33PYLg4npG559Kenwp9GuQYvfftlu jGcGVTOrRxEHm1hLuIlOXn6/KbP7YjD8FOGNQ1xU/7Ax8XJ1PzLdnOFmjeRhAw8U49JbMI Ri5VRKJj+id5f5l3Hshvy1Gihoo9kwX/r1WNEbTn9hcfn3m+E5GBKF7LZY+JIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=1Gt3eapb; dmarc=pass (policy=none) header.from=gnu.org; 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: -3.87 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20160331 header.b=1Gt3eapb; dmarc=pass (policy=none) header.from=gnu.org; 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: EE4661B95E X-Spam-Score: -3.87 X-Migadu-Scanner: scn0.migadu.com X-TUID: kRShgIcthkIo Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Pierre Langlois schreef op zo 27-03-2022 om 18:27 [+0100]: >> Yeah, if we have this pattern often it sounds like a good idea. >> However, better yet maybe could be to make the cmake build-system >> handle >> it automagically.=C2=A0 I see `PKG_CONFIG_EXECUTABLE' is part of cmake >> itself >> so that might be OK? >>=20 >> https://cmake.org/cmake/help/latest/module/FindPkgConfig.html > > Seems reasonable to me, though it that probably needs to be on core- > updates due to many impacted packages, so that's more of a long-term > thing. IMHO the most correct way to fix this problem is in CMake itself. If it's cross-compiling and there's a $TARGET_PREFIX-pkg-config in path, then it ought to use it automatically. I'm not volunteering to champion that solution though. :-) So of course the next best thing is to make Guix's build system do that for us. --=20 Thanks Thiago