* [Buildroot] [PATCH 1/1] package/python-autobahn: fix dependencies
@ 2022-08-13 8:48 Fabrice Fontaine
2022-08-14 10:09 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-08-13 8:48 UTC (permalink / raw)
To: buildroot; +Cc: Mauro Condarelli, Fabrice Fontaine, Asaf Kahlon
Commit efa5ff1489625eb862b1d7d161a169514cc9c881 forgot to add reverse
dependencies resulting in the following build failure:
Makefile:575: *** snappy is in the dependency chain of python-snappy that has added it to its _DEPENDENCIES variable without selecting it or depending on it from Config.in. Stop.
Fixes:
- http://autobuild.buildroot.org/results/fc4fdc29ff4ab3e1585a42ed6b063e9e50583fe9
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/python-autobahn/Config.in | 9 +++++++++
package/python-crossbar/Config.in | 6 ++++--
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/package/python-autobahn/Config.in b/package/python-autobahn/Config.in
index c9caa1f1c4..527416a3cd 100644
--- a/package/python-autobahn/Config.in
+++ b/package/python-autobahn/Config.in
@@ -19,10 +19,15 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_ACCELERATE
config BR2_PACKAGE_PYTHON_AUTOBAHN_COMPRESS
bool "Non-standard WebSocket compression support"
+ depends on BR2_INSTALL_LIBSTDCPP # python-snappy -> snappy
select BR2_PACKAGE_PYTHON_SNAPPY # runtime
+comment "Non-standard WebSocket compression needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
config BR2_PACKAGE_PYTHON_AUTOBAHN_ENCRYPTION
bool "TLS and WAMP-cryptosign encryption/authentication support"
+ depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pyopenssl -> python-cryptography
select BR2_PACKAGE_PYTHON_PYNACL # runtime
select BR2_PACKAGE_PYTHON_PYOPENSSL # runtime
select BR2_PACKAGE_PYTHON_QRCODE # runtime
@@ -37,12 +42,16 @@ config BR2_PACKAGE_PYTHON_AUTOBAHN_SCRAM
config BR2_PACKAGE_PYTHON_AUTOBAHN_SERIALIZATION
bool "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization support"
+ depends on BR2_INSTALL_LIBSTDCPP # python-ujson
select BR2_PACKAGE_PYTHON_CBOR2 # runtime
select BR2_PACKAGE_PYTHON_FLATBUFFERS # runtime
select BR2_PACKAGE_PYTHON_MSGPACK # runtime
select BR2_PACKAGE_PYTHON_UBJSON # runtime
select BR2_PACKAGE_PYTHON_UJSON # runtime
+comment "Accelerated JSON, MessagePack, CBOR, UBJSON, and FlatBuffers serialization needs a toolchain w/ C++"
+ depends on !BR2_INSTALL_LIBSTDCPP
+
config BR2_PACKAGE_PYTHON_AUTOBAHN_TWISTED
bool "Twisted support"
select BR2_PACKAGE_PYTHON_ATTRS # runtime
diff --git a/package/python-crossbar/Config.in b/package/python-crossbar/Config.in
index fb06f7672a..aadcb2c360 100644
--- a/package/python-crossbar/Config.in
+++ b/package/python-crossbar/Config.in
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-cryptography
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS # python-numpy
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy
+ depends on BR2_INSTALL_LIBSTDCPP # python-autobahn's compress and serialization
# All the following dependencies are runtime dependencies. It
# matches almost 1:1 the requirements-min.txt from crossbar
# with the following exceptions:
@@ -63,7 +64,8 @@ config BR2_PACKAGE_PYTHON_CROSSBAR
https://pypi.python.org/pypi/crossbar
-comment "python-crossbar needs glibc or musl"
+comment "python-crossbar needs a glibc or musl toolchain w/ C++"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
- depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL)
+ depends on !(BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL) || \
+ !BR2_INSTALL_LIBSTDCPP
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-14 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-13 8:48 [Buildroot] [PATCH 1/1] package/python-autobahn: fix dependencies Fabrice Fontaine
2022-08-14 10:09 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.