Skip to contentSkip to conversation

package/gerbera: needs dynamic library

PATCH New Fabrice Fontaine 2 participants 2 messages Apr 22, 2021 – Apr 23, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/gerbera: needs dynamic library

Disable gerbera with static builds as it raises build failures since bump to version 1.8.0 in commit 8974596836945eada8e162844fb87f88adec9100 and upstream does not seem to care or test static builds:
https://github.com/gerbera/gerbera/issues/1221

Fixes:
- http://autobuild.buildroot.org/results/9c59ef912d09bb3c0647b98aa8e9eca7fccbe08f

---
 package/gerbera/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
package/gerbera/Config.in +5 -3
index 33a9705bea..46a163ec78 100644
@@ -5,6 +5,7 @@ config BR2_PACKAGE_GERBERA
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17 filesystem
 	depends on BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_STATIC_LIBS
 	depends on BR2_USE_WCHAR # fmt
 	select BR2_PACKAGE_FMT
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
@@ -25,8 +26,9 @@ config BR2_PACKAGE_GERBERA
 
 	  https://gerbera.io
 
-comment "gerbera needs a toolchain w/ C++, threads, wchar, gcc >= 8"
+comment "gerbera needs a toolchain w/ C++, dynamic library, threads, wchar, gcc >= 8"
 	depends on BR2_USE_MMU
 	depends on BR2_TOOLCHAIN_HAS_ATOMIC
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
-		!BR2_USE_WCHAR || !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+	depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
+		!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_8
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/gerbera: needs dynamic library

Quoted 5 lines · On Thu, 22 Apr 2021 22:52:56 +0200 Fabrice Fontaine…

Disable gerbera with static builds as it raises build failures since bump to version 1.8.0 in commit 8974596836945eada8e162844fb87f88adec9100 and upstream does not seem to care or test static builds:
https://github.com/gerbera/gerbera/issues/1221

Quoted 7 lines

Fixes:
- http://autobuild.buildroot.org/results/9c59ef912d09bb3c0647b98aa8e9eca7fccbe08f

---
 package/gerbera/Config.in | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com