]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
zeromq: needs NPTL
authorBaruch Siach <baruch@tkos.co.il>
Tue, 17 Apr 2018 11:54:44 +0000 (14:54 +0300)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 19 Apr 2018 21:40:33 +0000 (23:40 +0200)
The recent zeromq version bump to 4.2.5 added a call to
pthread_condattr_setclock() which is only provided by the NPTL
implementation of pthreads. Add this dependency to zeromq and all
reverse dependencies recursively.

Fixes:
http://autobuild.buildroot.net/results/2d0/2d070074097270a1e6973bc19e2bded2a7023c49/
http://autobuild.buildroot.net/results/1ce/1ce6d6f0f6390f552954a09f7dc753e0baa86675/
http://autobuild.buildroot.net/results/97c/97c5b9f3bc2c94f8476e884b9a3163bbf2dad8d4/

Cc: Asaf Kahlon <asafka7@gmail.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/circus/Config.in
package/cppzmq/Config.in
package/czmq/Config.in
package/filemq/Config.in
package/mongrel2/Config.in
package/php-zmq/Config.in
package/python-pyzmq/Config.in
package/zeromq/Config.in
package/zmqpp/Config.in
package/zyre/Config.in

index f1cd93c73396a8fc4677a18e8706320de15ab7c7..e09d87549cb078a67635c10eb8527dbc53f15a96 100644 (file)
@@ -2,7 +2,7 @@ config BR2_PACKAGE_CIRCUS
        bool "circus"
        depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
        depends on BR2_INSTALL_LIBSTDCPP # pyzmq -> zeromq
-       depends on BR2_TOOLCHAIN_HAS_THREADS # pyzmq -> zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pyzmq -> zeromq
        select BR2_PACKAGE_PYTHON_IOWAIT # runtime
        select BR2_PACKAGE_PYTHON_PSUTIL # runtime
        select BR2_PACKAGE_PYTHON_PYZMQ # runtime
@@ -14,6 +14,6 @@ config BR2_PACKAGE_CIRCUS
 
          https://circus.readthedocs.org/en/latest/
 
-comment "circus needs Python and a toolchain w/ C++, threads"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+comment "circus needs Python and a toolchain w/ C++, NPTL"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
                !(BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3)
index c984c15c96b9f3e032867a736f457934bf5ed784..d0ae0c22c2ab38e53c34e57d42ebda8154849f50 100644 (file)
@@ -1,12 +1,12 @@
 config BR2_PACKAGE_CPPZMQ
        bool "cppzmq"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # 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/ C++, NPTL"
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
index 71389fce51471768cb95fb0345e08b18d48a3d34..d4ca46c36c5cfb026f409587810f06f7c433ec0d 100644 (file)
@@ -2,13 +2,13 @@ config BR2_PACKAGE_CZMQ
        bool "czmq"
        depends on BR2_USE_MMU # fork()
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # 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/ C++, NPTL"
        depends on BR2_USE_MMU
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
index b4720c1d4c20f699c02bedddc7ade665c8fdc57d..b015e2ead16f6fe4b8285b44f298770fcbd863db 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_FILEMQ
        bool "filemq"
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # zeromq
        depends on BR2_USE_MMU # czmq
        select BR2_PACKAGE_OPENSSL
        select BR2_PACKAGE_CZMQ
@@ -11,6 +11,6 @@ config BR2_PACKAGE_FILEMQ
 
          http://github.com/zeromq/filemq
 
-comment "filemq needs a toolchain w/ C++, threads"
+comment "filemq needs a toolchain w/ C++, NPTL"
        depends on BR2_USE_MMU
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
index a9b09b786ce3b88fec58f7253240439571d59d5b..09bc8bd0a2eef7e24bd0b8b58868afe8244b0359 100644 (file)
@@ -7,15 +7,15 @@ config BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
        default y if BR2_TOOLCHAIN_USES_UCLIBC && \
                (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || BR2_sparc || BR2_x86_64)
 
-comment "mongrel2 needs a uClibc or glibc toolchain w/ C++, threads, dynamic library"
+comment "mongrel2 needs a uClibc or glibc toolchain w/ C++, NPTL, dynamic library"
        depends on !BR2_INSTALL_LIBSTDCPP || \
-               !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS || \
+               !BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS || \
                !BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
 
 config BR2_PACKAGE_MONGREL2
        bool "mongrel2"
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # zeromq
        depends on !BR2_STATIC_LIBS # uses dlopen()
        depends on BR2_PACKAGE_MONGREL2_LIBC_SUPPORTS
        select BR2_PACKAGE_SQLITE
index 058f93d9a862e330901ebc60dc76133a8837844a..3f7406b262ac2468ce8ae1c19d03282dffc99f47 100644 (file)
@@ -1,11 +1,11 @@
-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/ C++, NPTL"
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
 
 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_TOOLCHAIN_HAS_THREADS_NPTL # zeromq
        select BR2_PACKAGE_ZEROMQ
        help
          ZeroMQ messaging bindings for PHP
index 8f33a635c86e6f4577835d5e96887767f6bc5403..250191251940792f54916a44e8af84596b8e8fac 100644 (file)
@@ -1,13 +1,13 @@
 config BR2_PACKAGE_PYTHON_PYZMQ
        bool "python-pyzmq"
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # 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/ C++, NPTL"
        depends on BR2_PACKAGE_PYTHON
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
index 69be9f002c593b8af5ec008cbe4054c7200b72e8..25e438ae073991c37af73564c50e5a2185a8922f 100644 (file)
@@ -1,10 +1,10 @@
-comment "zeromq needs a toolchain w/ C++, threads"
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+comment "zeromq needs a toolchain w/ C++, NPTL"
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)
 
 config BR2_PACKAGE_ZEROMQ
        bool "zeromq"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        select BR2_PACKAGE_UTIL_LINUX
        select BR2_PACKAGE_UTIL_LINUX_LIBUUID
        help
index 8dad80e451983d2e97cdf85957d8e1685705b6e4..b9d4dcfd646e6e2133c17028a32374cd6a960042 100644 (file)
@@ -3,7 +3,7 @@ config BR2_PACKAGE_ZMQPP
        # c++1x support
        depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # zeromq
        select BR2_PACKAGE_ZEROMQ
        help
          C++ binding for zeromq (ZeroMQ, 0MQ, zmq).
@@ -13,8 +13,8 @@ config BR2_PACKAGE_ZMQPP
 
          http://github.com/benjamg/zmqpp
 
-comment "zmqpp needs a toolchain w/ C++, threads, gcc >= 4.7"
-       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+comment "zmqpp needs a toolchain w/ C++, NPTL, gcc >= 4.7"
+       depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
                !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
 
 if BR2_PACKAGE_ZMQPP
index 21a0884ec62c213ca7b69f4141961239d4319339..340e9775c52680aa1a766a0e6c736de2c015aee9 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_ZYRE
        bool "zyre"
        depends on BR2_INSTALL_LIBSTDCPP # zeromq
-       depends on BR2_TOOLCHAIN_HAS_THREADS # zeromq
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # zeromq
        depends on BR2_USE_MMU # czmq
        select BR2_PACKAGE_CZMQ
        select BR2_PACKAGE_ZEROMQ
@@ -11,6 +11,6 @@ config BR2_PACKAGE_ZYRE
 
          http://zyre.org
 
-comment "zyre needs a toolchain w/ C++, threads"
+comment "zyre needs a toolchain w/ C++, NPTL"
        depends on BR2_USE_MMU
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)