[Buildroot] [PATCH 2/2] package/qpid-proton: needs C++

Luca Ceresoli luca at lucaceresoli.net
Mon Mar 29 10:18:10 UTC 2021


qpid-proton needs C++ since commit d4c0fde91da0 ("package/qpid-proton: bump
to version 0.33.0"), otherwise it fails with:

  CMake Error at cpp/CMakeLists.txt:22 (enable_language):
    The CMAKE_CXX_COMPILER:

      /home/murray/temp/f5eafd10f45fde1e3655928e3469eec8cdc4945d/output/host/bin/arm-linux-g++

    is not a full path to an existing compiler tool.

Fixes:
  - http://autobuild.buildroot.net/results/e54/e54531509e2268ce3e6f1b6fd087163397e69110/
  - http://autobuild.buildroot.net/results/f5e/f5eafd10f45fde1e3655928e3469eec8cdc4945d/

Signed-off-by: Luca Ceresoli <luca at lucaceresoli.net>
---
 package/qpid-proton/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/qpid-proton/Config.in b/package/qpid-proton/Config.in
index 05ba452c5c48..989de661933c 100644
--- a/package/qpid-proton/Config.in
+++ b/package/qpid-proton/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_QPID_PROTON
 	bool "qpid-proton"
 	depends on !BR2_STATIC_LIBS # build a shared library
 	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_INSTALL_LIBSTDCPP
 	select BR2_PACKAGE_UTIL_LINUX
 	select BR2_PACKAGE_UTIL_LINUX_LIBUUID
 	help
@@ -14,5 +15,5 @@ config BR2_PACKAGE_QPID_PROTON
 
 	  https://qpid.apache.org/proton/
 
-comment "qpid-proton needs a toolchain w/ dynamic library, threads"
-	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
+comment "qpid-proton needs a toolchain w/ dynamic library, threads, C++"
+	depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
-- 
2.25.1



More information about the buildroot mailing list