From patchwork Wed Apr 11 15:55:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Kahlon X-Patchwork-Id: 897257 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="rmFrS88Z"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40LpZ25X8Mz9s0x for ; Thu, 12 Apr 2018 01:56:42 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 1474886FC7; Wed, 11 Apr 2018 15:56:39 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KIn4HlvIu9Gz; Wed, 11 Apr 2018 15:56:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A77CC87004; Wed, 11 Apr 2018 15:56:36 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id CD7B71C2040 for ; Wed, 11 Apr 2018 15:56:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CAD65247EE for ; Wed, 11 Apr 2018 15:56:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8hqxqBww73CE for ; Wed, 11 Apr 2018 15:56:35 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) by silver.osuosl.org (Postfix) with ESMTPS id 70956228D5 for ; Wed, 11 Apr 2018 15:56:34 +0000 (UTC) Received: by mail-lf0-f65.google.com with SMTP id g203-v6so3357652lfg.11 for ; Wed, 11 Apr 2018 08:56:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=TIvoO9QRTyGsWXHNd2pcGjEkgJnhgEkRHqaUbitsvk4=; b=rmFrS88Ztb/b96HhhTG7Iq73ZEkkeyqH+Kyu0ZsPS6b1U4WBxJVJIqB582/FetXnvb D0u2Y+J8X+JaRvBr0xCaEAodoPa+BkPzhfwSxArLkTnqoXpqrOdgdSrID2p8+XcU7+jm ev4Ke0InLuYJ5lbbjFjsvasQbRkOTtjak62XEcc7if4To9sXQFHCNhwwwa4l2CjvJsxD 1En1+NJXsiavTSF0ZZ1NUh/YO8Cu/h4Za8NKF1xfzOvkmCfyIGObDA237RL9KeALwBb1 oqQOuTNMeDN2pZvLFPat7fjUsFazYcTRLbPANs7t8xvYD3k9Su/sM7gPnUJvrfOdPjjP UaiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=TIvoO9QRTyGsWXHNd2pcGjEkgJnhgEkRHqaUbitsvk4=; b=mq2GEeKbJPyH8GFug7inkqv4iGTZZ7WzdVUhKSo+ShOW531+qfa8SFTD2e1rA+sroC LOAVsjD+e96pjIl8Zjx8z9yYmfRJE++jFnyK58fcYFQaaPAkKPIlWxHqc/r63Xu0s1zP wtmKfQGFaoZdsdTN2tykScusaPgYOOKUIOJ1TmB6Ii73uQx3tPcl4UDDd69I36y0zyhN unh2rWBkGRAVUWWY5hUGxQAqF9K0p/WuKjgni+NTCHntZ5Lhs6kpvpk/8BQmqrM//fUr yrfWMJfIO2Q7va2rSD3gRrO3UpTnaXpudnA4A5wb3r1gC8ce099g4mdFP+XkEFRHAVh2 UddA== X-Gm-Message-State: ALQs6tDhlcf7okihY08hijvKXhwoU+XBzQMDFv5yZeoRpkrN4E3hWCpC sHjf9jJACTWXGCctwtOOg5xKtQ== X-Google-Smtp-Source: AIpwx4+7MHPpVba+wC/v8RjQgQcmdeWMCmBYLm6OpSZp8QWj++KLayqdFIB9Djd+FEG4ChXgoXeKZg== X-Received: by 10.46.135.214 with SMTP id v22mr381299ljj.94.1523462192448; Wed, 11 Apr 2018 08:56:32 -0700 (PDT) Received: from localhost.localdomain (bzq-84-108-5-46.cablep.bezeqint.net. [84.108.5.46]) by smtp.gmail.com with ESMTPSA id d16sm257115ljf.40.2018.04.11.08.56.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Apr 2018 08:56:31 -0700 (PDT) From: Asaf Kahlon To: buildroot@buildroot.org Date: Wed, 11 Apr 2018 18:55:44 +0300 Message-Id: <20180411155544.18395-1-asafka7@gmail.com> X-Mailer: git-send-email 2.17.0 Subject: [Buildroot] [PATCH 1/1] zeromq packages: added dynamic library check X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Simon Dawson , Asaf Kahlon MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" The zeromq package now needs dynamic library support. Therefore the check was added to it, and to it's bindings. Signed-off-by: Asaf Kahlon --- DEVELOPERS | 1 + package/cppzmq/Config.in | 6 ++++-- package/czmq/Config.in | 6 ++++-- package/php-zmq/Config.in | 10 ++++++---- package/python-pyzmq/Config.in | 6 ++++-- package/zeromq/Config.in | 10 ++++------ package/zmqpp/Config.in | 5 +++-- 7 files changed, 26 insertions(+), 18 deletions(-) diff --git a/DEVELOPERS b/DEVELOPERS index 00cbaeff37..bf7716316c 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -191,6 +191,7 @@ F: package/stress/ N: Asaf Kahlon F: package/python-jsonmodels/ F: package/python-yieldfrom/ +F: package/zeromq N: Ash Charles F: package/pru-software-support/ diff --git a/package/cppzmq/Config.in b/package/cppzmq/Config.in index c984c15c96..33fe7b6bca 100644 --- a/package/cppzmq/Config.in +++ b/package/cppzmq/Config.in @@ -2,11 +2,13 @@ config BR2_PACKAGE_CPPZMQ bool "cppzmq" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + depends on !BR2_STATIC_LIBS # zeromq select BR2_PACKAGE_ZEROMQ help C++ binding for zeromq (ZeroMQ, 0MQ, zmq). http://github.com/zeromq/cppzmq -comment "cppzmq needs a toolchain w/ C++, threads" - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) +comment "cppzmq needs a toolchain w/ dynamic library, C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/package/czmq/Config.in b/package/czmq/Config.in index 71389fce51..3cfe61ce42 100644 --- a/package/czmq/Config.in +++ b/package/czmq/Config.in @@ -3,12 +3,14 @@ config BR2_PACKAGE_CZMQ depends on BR2_USE_MMU # fork() depends on BR2_INSTALL_LIBSTDCPP # zeromq depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + depends on !BR2_STATIC_LIBS # zeromq select BR2_PACKAGE_ZEROMQ help High-level C Binding for 0MQ http://czmq.zeromq.org/ -comment "czmq needs a toolchain w/ C++, threads" +comment "czmq needs a toolchain w/ dynamic library, C++, threads" depends on BR2_USE_MMU - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/package/php-zmq/Config.in b/package/php-zmq/Config.in index 058f93d9a8..3ba0096e43 100644 --- a/package/php-zmq/Config.in +++ b/package/php-zmq/Config.in @@ -1,11 +1,13 @@ -comment "php-zmq needs a toolchain w/ C++, threads" - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) +comment "php-zmq needs a toolchain w/ dynamic library C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS config BR2_PACKAGE_PHP_ZMQ bool "php-zmq" depends on BR2_PACKAGE_PHP - depends on BR2_INSTALL_LIBSTDCPP - depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_INSTALL_LIBSTDCPP # zeromq + depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + depends on !BR2_STATIC_LIBS # zeromq select BR2_PACKAGE_ZEROMQ help ZeroMQ messaging bindings for PHP diff --git a/package/python-pyzmq/Config.in b/package/python-pyzmq/Config.in index 8f33a635c8..306fa02bcb 100644 --- a/package/python-pyzmq/Config.in +++ b/package/python-pyzmq/Config.in @@ -2,12 +2,14 @@ config BR2_PACKAGE_PYTHON_PYZMQ bool "python-pyzmq" depends on BR2_INSTALL_LIBSTDCPP # zeromq depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + depends on !BR2_STATIC_LIBS # zeromq select BR2_PACKAGE_ZEROMQ help This package contains the python language binding for zeromq. http://zeromq.org/bindings:python -comment "python-pyzmq needs a toolchain w/ C++, threads" +comment "python-pyzmq needs a toolchain w/ dynamic library C++, threads" depends on BR2_PACKAGE_PYTHON - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS diff --git a/package/zeromq/Config.in b/package/zeromq/Config.in index 69be9f002c..038ff61912 100644 --- a/package/zeromq/Config.in +++ b/package/zeromq/Config.in @@ -1,10 +1,12 @@ -comment "zeromq needs a toolchain w/ C++, threads" - depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS) +comment "zeromq needs a toolchain w/ dynamic library, C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ + BR2_STATIC_LIBS config BR2_PACKAGE_ZEROMQ bool "zeromq" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_STATIC_LIBS select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID help @@ -25,12 +27,8 @@ config BR2_PACKAGE_ZEROMQ if BR2_PACKAGE_ZEROMQ -comment "norm support needs a toolchain w/ dynamic library" - depends on BR2_STATIC_LIBS - config BR2_PACKAGE_ZEROMQ_NORM bool "NORM support" - depends on !BR2_STATIC_LIBS select BR2_PACKAGE_NORM help Add support for NACK-Oriented Reliable Multicast (RFC 5740) diff --git a/package/zmqpp/Config.in b/package/zmqpp/Config.in index 8dad80e451..3bb427cc5b 100644 --- a/package/zmqpp/Config.in +++ b/package/zmqpp/Config.in @@ -4,6 +4,7 @@ config BR2_PACKAGE_ZMQPP depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq + depends on !BR2_STATIC_LIBS # zeromq select BR2_PACKAGE_ZEROMQ help C++ binding for zeromq (ZeroMQ, 0MQ, zmq). @@ -13,9 +14,9 @@ config BR2_PACKAGE_ZMQPP http://github.com/benjamg/zmqpp -comment "zmqpp needs a toolchain w/ C++, threads, gcc >= 4.7" +comment "zmqpp needs a toolchain w/ dynamic library, C++, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 + BR2_STATIC_LIBS if BR2_PACKAGE_ZMQPP