Skip to contentSkip to conversation

package/gerbera: propagate icu's dependency on !BR2_BINFMT_FLAT

PATCH Applied Thomas Petazzoni via buildroot 1 participant 3 messages Sep 15 – Sep 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gerbera: propagate icu's dependency on !BR2_BINFMT_FLAT

gerbera selects BR2_PACKAGE_ICU, which depends on !BR2_BINFMT_FLAT, but this dependency was not propagated to gerbera. In practice this is not an issue because gerbera depends on BR2_USE_MMU, and only noMMU platforms can use BR2_BINFMT_FLAT. But for the sake of completeness, let's propagate this dependency.

Note: in the Config.in comment, we handle it like an architecture dependency, like is done in package/icu/Config.in.

---
 package/gerbera/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/gerbera/Config.in +2 -0
index 3078d2017f..0219216276 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_GERBERA
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_WCHAR # fmt
+	depends on !BR2_BINFMT_FLAT # icu
 	select BR2_PACKAGE_CXXOPTS
 	select BR2_PACKAGE_FMT
 	select BR2_PACKAGE_ICU
@@ -32,6 +33,7 @@ config BR2_PACKAGE_GERBERA
 
 comment "gerbera needs a toolchain w/ C++, dynamic library, threads, wchar, gcc >= 8, host gcc >= 7"
 	depends on BR2_USE_MMU
+	depends on !BR2_BINFMT_FLAT
 	depends on BR2_TOOLCHAIN_HAS_ATOMIC
 	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
 		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 10 lines · Thomas Petazzoni via buildroot

gerbera selects BR2_PACKAGE_ICU, which depends on !BR2_BINFMT_FLAT, but this dependency was not propagated to gerbera. In practice this is not an issue because gerbera depends on BR2_USE_MMU, and only noMMU platforms can use BR2_BINFMT_FLAT. But for the sake of completeness, let's propagate this dependency.

Note: in the Config.in comment, we handle it like an architecture dependency, like is done in package/icu/Config.in.

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw
In reply to Thomas Petazzoni via buildroot

In reply of:

Quoted 10 lines

gerbera selects BR2_PACKAGE_ICU, which depends on !BR2_BINFMT_FLAT, but this dependency was not propagated to gerbera. In practice this is not an issue because gerbera depends on BR2_USE_MMU, and only noMMU platforms can use BR2_BINFMT_FLAT. But for the sake of completeness, let's propagate this dependency.

Note: in the Config.in comment, we handle it like an architecture dependency, like is done in package/icu/Config.in.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 17 lines
---
 package/gerbera/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/gerbera/Config.in +1 -0
index 3078d2017f..0219216276 100644
@@ -8,6 +8,7 @@ config BR2_PACKAGE_GERBERA
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_WCHAR # fmt
+	depends on !BR2_BINFMT_FLAT # icu
 	select BR2_PACKAGE_CXXOPTS
 	select BR2_PACKAGE_FMT
 	select BR2_PACKAGE_ICU

package/gerbera/Config.in config BR2_PACKAGE_GERBERA · line 39

Quoted 7 lines
package/gerbera/Config.in +1 -0
@@ -32,6 +33,7 @@ config BR2_PACKAGE_GERBERA
 
 comment "gerbera needs a toolchain w/ C++, dynamic library, threads, wchar, gcc >= 8, host gcc >= 7"
 	depends on BR2_USE_MMU
+	depends on !BR2_BINFMT_FLAT
 	depends on BR2_TOOLCHAIN_HAS_ATOMIC
 	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
 		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot