From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gIqrEvFZQGKFwgAAgWs5BA (envelope-from ) for ; Sun, 27 Mar 2022 14:34:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id AK0VEPFZQGLO+QAA9RJhRA (envelope-from ) for ; Sun, 27 Mar 2022 14:34:57 +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 D2920EA23 for ; Sun, 27 Mar 2022 14:34:56 +0200 (CEST) Received: from localhost ([::1]:57650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nYS6h-0005jC-MA for larch@yhetil.org; Sun, 27 Mar 2022 08:34:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nYS6E-0005id-Iq for help-guix@gnu.org; Sun, 27 Mar 2022 08:34:26 -0400 Received: from elegua.eauchat.org ([91.224.149.118]:55630 helo=eauchat.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nYS6C-0004dX-0G for help-guix@gnu.org; Sun, 27 Mar 2022 08:34:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eauchat.org; s=mail; t=1648384462; h=from:from: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; bh=Y3o93qtLBDdL+4zw5lOugQmQK/1TSoz1n3c6Lu/5gG8=; b=TMUhShLmdc1yULk9ZaOa6BqnihIulBaMjewRU+dY9vOmlTdQwxSareSVgfJPMv7SkkdvwZ up+xBTv6GjZ+385uqzwNHJVFvLtO8/AZARmmbb/ttqkS9hItCorHUV5hfgcBz8exQfN0jt r9Ml0LGbimQmyaW7BgcHu02tMgiRybg= References: <87leww94jv.fsf@eauchat.org> <87v8w093kc.fsf@gmx.com> From: =?utf-8?Q?S=C3=A9bastien?= Lerique To: Pierre Langlois Subject: Re: Cross-compiling libfido2 Date: Sun, 27 Mar 2022 21:31:33 +0900 In-reply-to: <87v8w093kc.fsf@gmx.com> Message-ID: <87o81rlgl6.fsf@eauchat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=91.224.149.118; envelope-from=sl@eauchat.org; helo=eauchat.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" 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=1648384496; 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=Y3o93qtLBDdL+4zw5lOugQmQK/1TSoz1n3c6Lu/5gG8=; b=acb5C7MSiBPPHIFHx7oe5nkvvfClhjHNQ23mouHUg00xw/U9Mpw5YqRy+lytWV6BLmoIgP XwF6+hsU4X1JYqYjJR2IalVKnZpxfMMP1KVYOzaN/q9mIZxO2oPXfMOjYe2u1nnOagkOEn b25pb6/vrjstZxPbNss/u6DfgrSykh27waGsrX+9lKMcHIoc6KAjXKYEPjffKXSbi+gb1u NNuZp6FmuG9oyQa+Be2IUKv6TuD1BqiaXmgQIRXu1mBP2f5Jz2UlueSmoGDT1JUPgU+mtQ xXMUTW+Qzk29AlTvknKHNpnIQF9umK3qFdW6YNWLoOaq2enOFjey8sXfBnubSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648384496; a=rsa-sha256; cv=none; b=OFFg3vQDYpxwIzygTN7YSOe2FPiZmkUxEKqk6ai+vUdrCZsnIDaYzQnaGEkJ1XVfH8pTKs lLQi+f8CSxbXdxflthI5il/g2svB3tY+2ml6pHp62bRFIxaBdsNYSn3H48dyPLBtxLvE1E EZEZeYE7VoRma3AHWnPFuG727KHudfwoSRLHKkh8T5iEEOXBCquVxIO95LA7oAa9rT0dp/ N74oCYRH1Lrp+giiVG98/K/3pG/ueUv+17iPaYiJLxClal+MNwLJmOExE7l/FPQWrawNGO KCkfZhzF+AyJqte8ShZ0bglbtfOKdzVskRno/C0xuPCbQYX33MfEKeUNXfYAcg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=TMUhShLm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.13 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=eauchat.org header.s=mail header.b=TMUhShLm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=eauchat.org (policy=none); spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: D2920EA23 X-Spam-Score: 6.13 X-Migadu-Scanner: scn1.migadu.com X-TUID: WbK6S50FP/sm On 26 Mar 2022 at 14:38, Pierre Langlois wrote: > Doing some grepping in Guix and a quick test, I think what you need to > do is set PKG_CONFIG_EXECUTABLE to (pkg-config-for-target) when > cross-compiling. I can see that the libgit2 package does this for example [...] > Doing the same thing for libfido2 seems to fix it for me! > Thanks! That indeed works :). I just submitted a patch following this: https://issues.guix.gnu.org/54595. Thank again for the help, and happy hacking! S=C3=A9bastien