From patchwork Thu Aug 14 12:16:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vicente Olivert Riera X-Patchwork-Id: 379912 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 94DD61400B5 for ; Thu, 14 Aug 2014 22:16:34 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0D11F8AAF1; Thu, 14 Aug 2014 12:16:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GoTGTREr5IkX; Thu, 14 Aug 2014 12:16:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 398858ADE8; Thu, 14 Aug 2014 12:16:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id ABE9B1BF97D for ; Thu, 14 Aug 2014 12:16:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A621D8ADE8 for ; Thu, 14 Aug 2014 12:16:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aaphqAMI5s-I for ; Thu, 14 Aug 2014 12:16:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailapp01.imgtec.com (mailapp01.imgtec.com [195.59.15.196]) by whitealder.osuosl.org (Postfix) with ESMTP id CCB308AAF1 for ; Thu, 14 Aug 2014 12:16:29 +0000 (UTC) Received: from KLMAIL01.kl.imgtec.org (unknown [192.168.5.35]) by Websense Email Security Gateway with ESMTPS id C433565D7BE95 for ; Thu, 14 Aug 2014 13:16:23 +0100 (IST) Received: from LEMAIL01.le.imgtec.org (192.168.152.62) by KLMAIL01.kl.imgtec.org (192.168.5.35) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 14 Aug 2014 13:16:26 +0100 Received: from localhost.localdomain (192.168.154.104) by LEMAIL01.le.imgtec.org (192.168.152.62) with Microsoft SMTP Server (TLS) id 14.3.195.1; Thu, 14 Aug 2014 13:16:25 +0100 From: Vicente Olivert Riera To: Date: Thu, 14 Aug 2014 13:16:12 +0100 Message-ID: <1408018572-57330-1-git-send-email-Vincent.Riera@imgtec.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 X-Originating-IP: [192.168.154.104] Subject: [Buildroot] [PATCH] gnupg2: Needs a suitable iconv implementation X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net gnupg2 needs a toolchain with locale support or a package which provides a suitable iconv implementation (libiconv). Otherwise it will fail at the configure phase with an error like this one: *** It is now required to build with support for iconv *** Please install a suitable iconv implementation. Fixes: http://autobuild.buildroot.net/results/8c9/8c93c28533dfebffa8b2e34b1421d3fa3cdeb278/ Signed-off-by: Vicente Olivert Riera Reviewed-by: Markos Chandras --- package/gnupg2/Config.in | 1 + package/gnupg2/gnupg2.mk | 3 ++- 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/package/gnupg2/Config.in b/package/gnupg2/Config.in index be97a20..d24eaae 100644 --- a/package/gnupg2/Config.in +++ b/package/gnupg2/Config.in @@ -7,6 +7,7 @@ config BR2_PACKAGE_GNUPG2 select BR2_PACKAGE_LIBKSBA select BR2_PACKAGE_LIBPTHSEM select BR2_PACKAGE_LIBPTHSEM_COMPAT + select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE depends on BR2_USE_MMU # libassuan help GnuPG is the GNU project's complete and free implementation diff --git a/package/gnupg2/gnupg2.mk b/package/gnupg2/gnupg2.mk index 9502a82..5e108d9 100644 --- a/package/gnupg2/gnupg2.mk +++ b/package/gnupg2/gnupg2.mk @@ -9,7 +9,8 @@ GNUPG2_SOURCE = gnupg-$(GNUPG2_VERSION).tar.bz2 GNUPG2_SITE = ftp://ftp.gnupg.org/gcrypt/gnupg GNUPG2_LICENSE = GPLv3+ GNUPG2_LICENSE_FILES = COPYING -GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libpthsem +GNUPG2_DEPENDENCIES = zlib libgpg-error libgcrypt libassuan libksba libpthsem \ + $(if $(BR2_PACKAGE_LIBICONV),libiconv) GNUPG2_CONF_OPT = \ --disable-rpath --disable-regex --disable-doc \ --with-libgpg-error-prefix=$(STAGING_DIR)/usr \