Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/babeltrace2: needs C++
@ 2026-01-04 10:12 Bernd Kuhls
  2026-01-04 10:46 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-01-04 10:12 UTC (permalink / raw)
  To: buildroot; +Cc: Philippe Proulx

Buildroot commit cea219e5180e7117a6002c4a784995c9dad48176 bumped the
package to version 2.1.2.
Upstream added a mandatory dependency to c++ in version 2.1.0:
https://github.com/efficios/babeltrace/commit/c20049fd0678f462f621c80f9e91c1ba16e6b656

Fixes:
https://autobuild.buildroot.net/results/a18/a18f8a5561536d0ae649d73e5871d9a7f88275db/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/babeltrace2/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/babeltrace2/Config.in b/package/babeltrace2/Config.in
index a020d4a7cd..f8db47b354 100644
--- a/package/babeltrace2/Config.in
+++ b/package/babeltrace2/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_BABELTRACE2
 	bool "babeltrace2"
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
 	depends on BR2_USE_MMU # libglib2
@@ -24,6 +25,7 @@ config BR2_PACKAGE_BABELTRACE2
 
 	  https://babeltrace.org/
 
-comment "babeltrace2 needs a toolchain w/ wchar, threads"
+comment "babeltrace2 needs a toolchain w/ wchar, threads, C++"
 	depends on BR2_USE_MMU
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_INSTALL_LIBSTDCPP
-- 
2.47.3

_______________________________________________
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:[~2026-01-04 10:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-04 10:12 [Buildroot] [PATCH 1/1] package/babeltrace2: needs C++ Bernd Kuhls
2026-01-04 10:46 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox