Skip to contentSkip to conversation

qt5connectivity: propagate bluez-utils dependencies

PATCH New Vicente Olivert Riera 3 participants 3 messages Oct 20, 2014 – Oct 22, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qt5connectivity: propagate bluez-utils dependencies

qt5connectivity selects the bluez-utils package but the dependencies are not fully propagated so someone could do a static build, then select the qt5connectivity package causing bluez-utils being auto-selected, which is disabled for static builds, and then obtain a build failure like this one:

checking for dlopen in -ldl... no
configure: error: dynamic linking loader is required

Fixes:

	http://autobuild.buildroot.net/results/96d/96d8297be0b731da138b1e2aafb851061aee3c40/
---
 package/qt5/qt5connectivity/Config.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
package/qt5/qt5connectivity/Config.in +7 -0
index c9f36ef..20778dc 100644
@@ -5,6 +5,9 @@ config BR2_PACKAGE_QT5CONNECTIVITY
 	select BR2_PACKAGE_QT5BASE_CONCURRENT
 	select BR2_PACKAGE_QT5BASE_DBUS
 	depends on !BR2_avr32 # bluez_utils
+	depends on !BR2_PREFER_STATIC_LIB # bluez_utils
+	depends on BR2_USE_WCHAR # bluez_utils
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils
 	depends on BR2_USE_MMU # bluez_utils
 	help
 	  Qt is a cross-platform application and UI framework for
@@ -13,3 +16,7 @@ config BR2_PACKAGE_QT5CONNECTIVITY
 	  This package corresponds to the qt5connectivity module.
 
 	  http://qt-project.org
+
+comment "qt5connectivity needs a toolchain w/ wchar, threads, dynamic library"
+	depends on !BR2_avr32 && BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
Signature · 1 line
1.7.1
#1 lore raw

PATCH 1/1 qt5connectivity: propagate bluez-utils dependencies

Vicente, All,

On 2014-10-20 16:52 +0100, Vicente Olivert Riera spake thusly:

Quoted 6 lines

qt5connectivity selects the bluez-utils package but the dependencies are not fully propagated so someone could do a static build, then select the qt5connectivity package causing bluez-utils being auto-selected, which is disabled for static builds, and then obtain a build failure like this one:

Quoted 7 lines

checking for dlopen in -ldl... no
configure: error: dynamic linking loader is required

Fixes:

	http://autobuild.buildroot.net/results/96d/96d8297be0b731da138b1e2aafb851061aee3c40/

Regards,
Yann E. MORIN.

Quoted 33 lines
---
 package/qt5/qt5connectivity/Config.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
package/qt5/qt5connectivity/Config.in +7 -0
index c9f36ef..20778dc 100644
@@ -5,6 +5,9 @@ config BR2_PACKAGE_QT5CONNECTIVITY
 	select BR2_PACKAGE_QT5BASE_CONCURRENT
 	select BR2_PACKAGE_QT5BASE_DBUS
 	depends on !BR2_avr32 # bluez_utils
+	depends on !BR2_PREFER_STATIC_LIB # bluez_utils
+	depends on BR2_USE_WCHAR # bluez_utils
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils
 	depends on BR2_USE_MMU # bluez_utils
 	help
 	  Qt is a cross-platform application and UI framework for
@@ -13,3 +16,7 @@ config BR2_PACKAGE_QT5CONNECTIVITY
 	  This package corresponds to the qt5connectivity module.
 
 	  http://qt-project.org
+
+comment "qt5connectivity needs a toolchain w/ wchar, threads, dynamic library"
+	depends on !BR2_avr32 && BR2_USE_MMU
+	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_PREFER_STATIC_LIB
Signature · 6 lines
1.7.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 qt5connectivity: propagate bluez-utils dependencies

In reply to Vicente Olivert Riera

Dear Vicente Olivert Riera,

Quoted 9 lines · Vicente Olivert Riera

qt5connectivity selects the bluez-utils package but the dependencies are not fully propagated so someone could do a static build, then select the qt5connectivity package causing bluez-utils being auto-selected, which is disabled for static builds, and then obtain a build failure like this one:

checking for dlopen in -ldl... no
configure: error: dynamic linking loader is required

Quoted 7 lines

Fixes:

	http://autobuild.buildroot.net/results/96d/96d8297be0b731da138b1e2aafb851061aee3c40/
---
 package/qt5/qt5connectivity/Config.in |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com