From patchwork Sun Aug 4 10:03:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Waldemar Brodkorb X-Patchwork-Id: 1968797 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.133; helo=smtp2.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4WcFXH6nhsz1yYD for ; Sun, 4 Aug 2024 20:03:59 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 6009840488; Sun, 4 Aug 2024 10:03:58 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id CQdg4CSGTTAy; Sun, 4 Aug 2024 10:03:57 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 10C94402F7 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp2.osuosl.org (Postfix) with ESMTP id 10C94402F7; Sun, 4 Aug 2024 10:03:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 13AC81BF59E for ; Sun, 4 Aug 2024 10:03:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 0DBD0402F7 for ; Sun, 4 Aug 2024 10:03:56 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 4kEjZJMM-lun for ; Sun, 4 Aug 2024 10:03:55 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=wbx@openadk.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 8EE614012B DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 8EE614012B Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) by smtp2.osuosl.org (Postfix) with ESMTPS id 8EE614012B for ; Sun, 4 Aug 2024 10:03:53 +0000 (UTC) Received: by helium.openadk.org (Postfix, from userid 1000) id F2E883535FBC; Sun, 4 Aug 2024 12:03:51 +0200 (CEST) Date: Sun, 4 Aug 2024 12:03:51 +0200 From: Waldemar Brodkorb To: buildroot@buildroot.org Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Operating-System: Linux 5.10.0-31-amd64 x86_64 X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=openadk.org; s=2022; t=1722765832; bh=uxxfhlMr21yyOXlXn4Jd5+6AUHzHQnJkbHedZ6G6mEM=; h=Date:From:To:Subject:From; b=sOkLZxnHV6vrxv81zeeYZVmGBF0Y1YP53OAi0krahie0qYulOIFPlPbyPaAZqxEnc pLate7T1YagGrK/YFfH8iNQ+DS/9Tx1pMleiq/AjZprhrDSfHtu4pjZvkc3iJFU1O8 7WAUbSCgJjT9k7H3mdWukJAauzVqgrPabb0rKNiEALfx5+TJ2K+sEWrpH3JOsnJWjr Om9NotrsFcAM/inDLzfzf4aidVcaPiXubh7wla5W1szEmpK1hmJuON0sbPY6EWs/1R UW3Ymtvq21LBADISAHxbJBDx2aaOyV1J8lYxYrghQ2A4EXgx4LWgKwqlmIml/+oaot uSZxutFWQeE2A== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=none (p=none dis=none) header.from=openadk.org X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=openadk.org header.i=@openadk.org header.a=rsa-sha256 header.s=2022 header.b=sOkLZxnH Subject: [Buildroot] [PATCH] package/libgcrypt: fix libgpg-error detection X-BeenThere: buildroot@buildroot.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Libgcrypt uses two scripts to identify libgpg-error location. The first one is gpg-error-config. The second one is gpgrt-config. The usage of gpg-error-config is deprecated. Help libgcrpyt to find a correct gpgrt-config for cross-compilation. Fixes: - http://autobuild.buildroot.net/results/46e/46efff01f7d0a2ce3c8523cd073302e58e0f0ae5/ Signed-off-by: Waldemar Brodkorb --- package/libgcrypt/libgcrypt.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/libgcrypt/libgcrypt.mk b/package/libgcrypt/libgcrypt.mk index ae50ead343..57eca507b3 100644 --- a/package/libgcrypt/libgcrypt.mk +++ b/package/libgcrypt/libgcrypt.mk @@ -16,6 +16,7 @@ LIBGCRYPT_CPE_ID_VENDOR = gnupg # Patching configure.ac and Makefile.am in 0001 LIBGCRYPT_AUTORECONF = YES +LIBGCRYPT_CONF_ENV += GPGRT_CONFIG=$(STAGING_DIR)/usr/bin/gpgrt-config LIBGCRYPT_CONF_OPTS = \ --disable-tests \ $(if $(BR2_OPTIMIZE_0),--disable-ppc-crypto-support,) \