Skip to contentSkip to conversation

package/babeltrace2: needs C++

PATCH Applied Bernd Kuhls 2 participants 2 messages Jan 4

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/babeltrace2: needs C++

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/

---
 package/babeltrace2/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/babeltrace2/Config.in +4 -2
index a020d4a7cd..f8db47b354 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · On Sun, 4 Jan 2026 11:12:05 +0100 Bernd Kuhls <[email protected]> wrote:

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

Quoted 7 lines

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

---
 package/babeltrace2/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot