From patchwork Mon Jun 5 11:47:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 771208 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3whCjJ3Jtbz9s5L for ; Mon, 5 Jun 2017 21:47:16 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2E95885A7D; Mon, 5 Jun 2017 11:47:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xY_mEiRP4t2U; Mon, 5 Jun 2017 11:47:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8E715857AD; Mon, 5 Jun 2017 11:47:12 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 90BCB1C0488 for ; Mon, 5 Jun 2017 11:47:11 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 7825884AB1 for ; Mon, 5 Jun 2017 11:47:11 +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 R3Q27-hdBhSg for ; Mon, 5 Jun 2017 11:47:07 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout06.t-online.de (mailout06.t-online.de [194.25.134.19]) by whitealder.osuosl.org (Postfix) with ESMTPS id 624B284A9D for ; Mon, 5 Jun 2017 11:47:07 +0000 (UTC) Received: from fwd13.aul.t-online.de (fwd13.aul.t-online.de [172.20.27.62]) by mailout06.t-online.de (Postfix) with SMTP id 5410841E05F7; Mon, 5 Jun 2017 13:47:05 +0200 (CEST) Received: from fli4l.lan.fli4l (E2IHdEZG8hQ7cuHgx7yx-1FLmcBRWTj87cS8jpTxdSnUEnXTEHbxWghSrwgJxtXQM+@[79.222.103.70]) by fwd13.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1dHqTQ-0hbcrA0; Mon, 5 Jun 2017 13:47:04 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:58304 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.89) (envelope-from ) id 1dHqTP-0006dZ-C6; Mon, 05 Jun 2017 13:47:03 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Mon, 5 Jun 2017 13:47:03 +0200 Message-Id: <20170605114703.12438-1-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.11.0 X-ID: E2IHdEZG8hQ7cuHgx7yx-1FLmcBRWTj87cS8jpTxdSnUEnXTEHbxWghSrwgJxtXQM+ X-TOI-MSGID: f4a92a7d-7b42-4461-8164-bef63a1cdb23 Subject: [Buildroot] [PATCH v2 1/1] package/exiv2: disable on musl X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Musl build is broken: /home/buildroot/build/instance-0/output/build/exiv2-910f3507795e1930ae216c9febee0bf9a88e99c0/src/actions.cpp:2052:32: error: 'PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP' was not declared in this scope According to http://www.openwall.com/lists/musl/2017/02/20/3 the define is not available on musl. Fixes http://autobuild.buildroot.net/results/283/28334a8a0b23c7c8260023b9a3aa15e8dd7613d0/ Signed-off-by: Bernd Kuhls --- v2: added comment to Config.in (Baruch) package/exiv2/Config.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/exiv2/Config.in b/package/exiv2/Config.in index 7358283a6..acce81c59 100644 --- a/package/exiv2/Config.in +++ b/package/exiv2/Config.in @@ -1,12 +1,14 @@ -comment "exiv2 needs a toolchain w/ C++, wchar, dynamic library, threads" +comment "exiv2 needs a uClibc or glibc toolchain w/ C++, wchar, dynamic library, threads" depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \ - || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS + || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS \ + || BR2_TOOLCHAIN_USES_MUSL config BR2_PACKAGE_EXIV2 bool "exiv2" depends on !BR2_STATIC_LIBS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_TOOLCHAIN_USES_MUSL # PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP depends on BR2_USE_WCHAR help Exiv2 is a C++ library and a command line utility to manage