package/qpid-proton: disable for static build only
PATCH 1/2 package/qpid-proton: disable for static build only
qpid-proton always build a shared library "libqpid-proton.so"
Fixes:
http://autobuild.buildroot.net/results/bf6/bf6b9bcc0cead87c8fb12ec4c7f5ff73e6d61d3f/
--- package/qpid-proton/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/qpid-proton/Config.in +3 -2
@@ -1,5 +1,6 @@ config BR2_PACKAGE_QPID_PROTON bool "qpid-proton" + depends on !BR2_STATIC_LIBS # build a shared library depends on BR2_USE_WCHAR # util-linux select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID
@@ -13,5 +14,5 @@ config BR2_PACKAGE_QPID_PROTON https://qpid.apache.org/proton/ -comment "qpid-proton needs a toolchain w/ wchar" - depends on !BR2_USE_WCHAR +comment "qpid-proton needs a toolchain w/ dynamic library, wchar" + depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR
Signature · 1 line
2.4.3
PATCH 2/2 package/qpid-proton: disable languages bindings
Fixes (workaround):
http://autobuild.buildroot.net/results/eff48f8a827f8b4dbbdb7cb648a6c4a3ab4ac8a5/
---
Hi Luca,
The dependency on host-swig is missing in qpid-proton package. Therefore languages bindings are enabled when the swig tool is found, but for each languages bindings the target package dependency is missing.
The build failure [1] occurs only when host-swig is available *and* python target package is build before qpid-proton.
Is it ok for you to disable all bindings ?
Best regards,
Romain
[1] http://autobuild.buildroot.net/results/eff/eff48f8a827f8b4dbbdb7cb648a6c4a3ab4ac8a5/
--- package/qpid-proton/qpid-proton.mk | 7 +++++++ 1 file changed, 7 insertions(+)
package/qpid-proton/qpid-proton.mk +7 -0
@@ -15,8 +15,15 @@ QPID_PROTON_DEPENDENCIES = \ util-linux \ $(if $(BR2_PACKAGE_OPENSSL),openssl) +# Language bindings are enabled when host-swig tool is present in HOST_DIR. +# For now, disable all of them. QPID_PROTON_CONF_OPTS = \ -DBUILD_JAVA=OFF \ + -DBUILD_JAVASCRIPT=OFF \ + -DBUILD_PERL=OFF \ + -DBUILD_PHP=OFF \ + -DBUILD_PYTHON=OFF \ + -DBUILD_RUBY=OFF \ -DENABLE_VALGRIND=OFF \ -DENABLE_WARNING_ERROR=OFF \ -DPYTHON_EXECUTABLE=$(HOST_DIR)/usr/bin/python2
Signature · 1 line
2.4.3
PATCH 2/2 package/qpid-proton: disable languages bindings
Dear Romain,
Quoted 9 lines · Romain Naour
Fixes (workaround):
http://autobuild.buildroot.net/results/eff48f8a827f8b4dbbdb7cb648a6c4a3ab4ac8a5/Signed-off-by Romain Naour <[email protected]>Cc Luca Ceresoli <[email protected]>---
Hi Luca,
Quoted 8 lines
The dependency on host-swig is missing in qpid-proton package. Therefore languages bindings are enabled when the swig tool is found, but for each languages bindings the target package dependency is missing.
The build failure [1] occurs only when host-swig is available *and* python target package is build before qpid-proton.
Is it ok for you to disable all bindings ?
No objections. I only care about the C APIs.
Of course anybody interested can add (and fix) bindings as needed.
Thanks for having fixed this issue.
Signature · 1 line
Luca
PATCH 1/2 package/qpid-proton: disable for static build only
In reply to Romain NaourDear Romain Naour,
Quoted 9 lines · Romain Naour
qpid-proton always build a shared library "libqpid-proton.so"
Fixes:
http://autobuild.buildroot.net/results/bf6/bf6b9bcc0cead87c8fb12ec4c7f5ff73e6d61d3f/Signed-off-by Romain Naour <[email protected]>--- package/qpid-proton/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Both applied, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com