All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [0/21] Add missing indirect dependencies
@ 2015-02-04  0:33 Arnout Vandecappelle
  2015-02-04  0:33 ` [Buildroot] [PATCH 01/21] python-coherence: add missing indirect dependency on c++ Arnout Vandecappelle
                   ` (21 more replies)
  0 siblings, 22 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:33 UTC (permalink / raw)
  To: buildroot

 With the fix for randconfig that I made in
http://patchwork.ozlabs.org/patch/432554/ it is now possible to run
'make randconfig' and get usable results. So I ran the following loop
to detect missing indirect dependencies:

while true; do make randconfig 2>&1 | grep warning; done

If there is a missing indirect dependency, this will output a line like:

warning: (BR2_PACKAGE_UTIL_LINUX_SETPRIV) selects BR2_PACKAGE_LIBCAP_NG which has unmet direct dependencies (!BR2_avr32)


 After this series, I ran about 6000 randconfigs and didn't encounter any
warning anymore.


 It would be good to include such a test in a jenkins job to detect this
type of error earlier.

 Regards,
 Arnout

----------------------------------------------------------------
Arnout Vandecappelle (Essensium/Mind) (21):
      python-coherence: add missing indirect dependency on c++
      gst-plugins-bad: add missing indirect dependency on atomics for rsvg
      gst1-plugins-bad: add missing indirect dependency on atomics for rsvg
      gst-plugins-base: add missing indirect dependency on atomics for pango
      gst1-plugins-base: add missing indirect dependency on atomics for pango
      qemu: add missing indirect dependency on dynamic library for fdt
      grantlee: add missing indirect dependency on jscore available
      libgail: add missing indirect dependency on C++ and atomics
      espeak: add missing indirect dependency on atomics for pulseaudio
      kodi: add missing indirect dependency on dynamic lib for shairport
      oprofile: add missing indirect dependency on NPTL for PPC
      util-linux: add missing indirect dependency on !avr32 for setpriv
      dovecot: add missing indirect dependency on !avr32 for mysql
      php: add missing indirect dependency on !avr32 for mysql extensions
      cwiid: add missing indirect dependency on atomics for wmgui
      opencv: add missing indirect dependency on atomics for gtk support
      pinenty: add missing indirect dependency on atomics for gtk2 support
      xscreensaver: add missing indirect dependency on atomics
      enlightenment: add missing indirect dependency on atomics
      qt5cinex: add missing indirect dependency on libegl
      qt5webkit: add missing indirect dependency on atomics and !flat

 package/cwiid/Config.in                        |  6 ++++++
 package/dovecot/Config.in                      |  6 ++++--
 package/enlightenment/Config.in                |  3 +++
 package/espeak/Config.in                       |  4 +++-
 package/grantlee/Config.in                     |  6 ++++--
 package/gstreamer/gst-plugins-bad/Config.in    | 11 +++++------
 package/gstreamer/gst-plugins-base/Config.in   | 10 ++++------
 package/gstreamer1/gst1-plugins-bad/Config.in  | 11 +++++------
 package/gstreamer1/gst1-plugins-base/Config.in | 10 ++++------
 package/kodi/Config.in                         |  4 ++++
 package/libgail/Config.in                      |  7 +++++--
 package/opencv/Config.in                       |  1 +
 package/oprofile/Config.in                     |  4 ++--
 package/php/Config.ext                         |  8 ++++++--
 package/pinentry/Config.in                     |  6 ++----
 package/python-coherence/Config.in             |  5 +++++
 package/qemu/Config.in                         |  8 ++++++++
 package/qt5/qt5webkit/Config.in                |  2 ++
 package/qt5cinex/Config.in                     |  5 +++--
 package/util-linux/Config.in                   |  1 +
 package/xscreensaver/Config.in                 | 13 ++++++++-----
 21 files changed, 85 insertions(+), 46 deletions(-)

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 01/21] python-coherence: add missing indirect dependency on c++
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
@ 2015-02-04  0:33 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 02/21] gst-plugins-bad: add missing indirect dependency on atomics for rsvg Arnout Vandecappelle
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:33 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/python-coherence/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/package/python-coherence/Config.in b/package/python-coherence/Config.in
index d4034e7..71f79f4 100644
--- a/package/python-coherence/Config.in
+++ b/package/python-coherence/Config.in
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_PYTHON_COHERENCE
 	bool "python-coherence"
 	depends on BR2_PACKAGE_PYTHON
+	depends on BR2_INSTALL_LIBSTDCPP # python-pyasn
 	select BR2_PACKAGE_PYTHON_TWISTED
 	select BR2_PACKAGE_PYTHON_ZOPE_INTERFACE
 	select BR2_PACKAGE_PYTHON_PYASN
@@ -8,3 +9,7 @@ config BR2_PACKAGE_PYTHON_COHERENCE
 	  A DLNA/UPnP Media Server and Framework for the Digital Living.
 
 	  http://coherence-project.org/
+
+comment "python-coherence needs a toolchain w/ C++"
+	depends on BR2_PACKAGE_PYTHON
+	depends on !BR2_INSTALL_LIBSTDCPP
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 02/21] gst-plugins-bad: add missing indirect dependency on atomics for rsvg
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
  2015-02-04  0:33 ` [Buildroot] [PATCH 01/21] python-coherence: add missing indirect dependency on c++ Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 03/21] gst1-plugins-bad: " Arnout Vandecappelle
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also removed the redundant indirect dependencies on wchar, threads
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/gstreamer/gst-plugins-bad/Config.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/package/gstreamer/gst-plugins-bad/Config.in b/package/gstreamer/gst-plugins-bad/Config.in
index f69c71b..1e8b5ae 100644
--- a/package/gstreamer/gst-plugins-bad/Config.in
+++ b/package/gstreamer/gst-plugins-bad/Config.in
@@ -297,14 +297,13 @@ config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_OPUS
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_RSVG
 	bool "rsvg"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR # librsvg -> libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> libglib2
+	depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango
+	depends on BR2_ARCH_HAS_ATOMICS # librsvg -> cairo
 	select BR2_PACKAGE_LIBRSVG
 
-comment "rsvg plugin needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+comment "rsvg plugin needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on BR2_ARCH_HAS_ATOMICS
 
 config BR2_PACKAGE_GST_PLUGINS_BAD_PLUGIN_SDL
 	bool "sdl"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 03/21] gst1-plugins-bad: add missing indirect dependency on atomics for rsvg
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
  2015-02-04  0:33 ` [Buildroot] [PATCH 01/21] python-coherence: add missing indirect dependency on c++ Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 02/21] gst-plugins-bad: add missing indirect dependency on atomics for rsvg Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 04/21] gst-plugins-base: add missing indirect dependency on atomics for pango Arnout Vandecappelle
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also removed the redundant indirect dependencies on wchar, threads
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/gstreamer1/gst1-plugins-bad/Config.in | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index 9ccce94..75a0ca1 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -460,16 +460,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPUS
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_RSVG
 	bool "rsvg"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR # librsvg -> glib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # librsvg -> glib2
+	depends on BR2_INSTALL_LIBSTDCPP # librsvg -> pango
+	depends on BR2_ARCH_HAS_ATOMICS # librsvg -> cairo
 	select BR2_PACKAGE_LIBRSVG
 	help
 	  RSVG plugin library
 
-comment "rsvg plugin needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+comment "rsvg plugin needs a toolchain w/ C++"
+	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on BR2_ARCH_HAS_ATOMICS
 
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SDL
 	bool "sdl"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 04/21] gst-plugins-base: add missing indirect dependency on atomics for pango
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (2 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 03/21] gst1-plugins-bad: " Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  7:54   ` Jerzy Grzegorek
  2015-02-04  0:34 ` [Buildroot] [PATCH 05/21] gst1-plugins-base: " Arnout Vandecappelle
                   ` (17 subsequent siblings)
  21 siblings, 1 reply; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also removed the redundant indirect dependencies on wchar, threads, mmu
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/gstreamer/gst-plugins-base/Config.in | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/package/gstreamer/gst-plugins-base/Config.in b/package/gstreamer/gst-plugins-base/Config.in
index ccc88f7..02c5bab 100644
--- a/package/gstreamer/gst-plugins-base/Config.in
+++ b/package/gstreamer/gst-plugins-base/Config.in
@@ -84,15 +84,13 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
 
 config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO
 	bool "pango font renderer"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR # pango -> libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
-	depends on BR2_USE_MMU # pango -> glib2
+	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
+	depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
 	select BR2_PACKAGE_PANGO
 
 comment "pango plugin needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on BR2_ARCH_HAS_ATOMICS
 
 config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA
 	bool "theora (*.ogg video)"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 05/21] gst1-plugins-base: add missing indirect dependency on atomics for pango
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (3 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 04/21] gst-plugins-base: add missing indirect dependency on atomics for pango Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  8:04   ` Jerzy Grzegorek
  2015-02-04  0:34 ` [Buildroot] [PATCH 06/21] qemu: add missing indirect dependency on dynamic library for fdt Arnout Vandecappelle
                   ` (16 subsequent siblings)
  21 siblings, 1 reply; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also removed the redundant indirect dependencies on wchar, threads, mmu
(gstreamer depends on libglib2 so this indirect dependency is obvious).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/gstreamer1/gst1-plugins-base/Config.in | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/package/gstreamer1/gst1-plugins-base/Config.in b/package/gstreamer1/gst1-plugins-base/Config.in
index 3b487c5..90c00b1 100644
--- a/package/gstreamer1/gst1-plugins-base/Config.in
+++ b/package/gstreamer1/gst1-plugins-base/Config.in
@@ -128,17 +128,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
 
 config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
 	bool "pango font renderer"
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_USE_WCHAR # pango -> libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
-	depends on BR2_USE_MMU # pango -> libglib2
+	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
+	depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
 	select BR2_PACKAGE_PANGO
 	help
 	  Pango-based text rendering and overlay
 
 comment "pango plugin needs a toolchain w/ C++, wchar, threads"
-	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
-		!BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on BR2_ARCH_HAS_ATOMICS
 
 config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA
 	bool "theora (*.ogg video)"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 06/21] qemu: add missing indirect dependency on dynamic library for fdt
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (4 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 05/21] gst1-plugins-base: " Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 07/21] grantlee: add missing indirect dependency on jscore available Arnout Vandecappelle
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/qemu/Config.in | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/qemu/Config.in b/package/qemu/Config.in
index 5882571..65421c0 100644
--- a/package/qemu/Config.in
+++ b/package/qemu/Config.in
@@ -54,10 +54,14 @@ comment "... or you can select emulator families to enable, below:"
 
 config BR2_PACKAGE_QEMU_SYSTEM
 	bool "Enable all systems emulation"
+	depends on !BR2_STATIC_LIBS # dtc
 	select BR2_PACKAGE_QEMU_FDT
 	help
 	  Say 'y' to build all system emulators/virtualisers that QEMU supports.
 
+comment "systems emulation needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_QEMU_LINUX_USER
 	bool "Enable all Linux user-land emulation"
 	help
@@ -86,11 +90,15 @@ comment "Misc. features"
 
 config BR2_PACKAGE_QEMU_FDT
 	bool "Enable FDT"
+	depends on !BR2_STATIC_LIBS # dtc
 	select BR2_PACKAGE_DTC
 	help
 	  Say 'y' here to have QEMU capable of constructing Device Trees,
 	  and passing them to the VMs.
 
+comment "FDT support needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 endif # BR2_PACKAGE_QEMU_HAS_EMULS
 
 endif # BR2_PACKAGE_QEMU
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 07/21] grantlee: add missing indirect dependency on jscore available
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (5 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 06/21] qemu: add missing indirect dependency on dynamic library for fdt Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 08/21] libgail: add missing indirect dependency on C++ and atomics Arnout Vandecappelle
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/grantlee/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/grantlee/Config.in b/package/grantlee/Config.in
index 6227d7f..01ddacd 100644
--- a/package/grantlee/Config.in
+++ b/package/grantlee/Config.in
@@ -1,7 +1,8 @@
 config BR2_PACKAGE_GRANTLEE
 	bool "grantlee"
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # Qt Script
-	depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || BR2_PACKAGE_QT5
+	depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
+		(BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)
 	select BR2_PACKAGE_QT_STL if BR2_PACKAGE_QT
 	select BR2_PACKAGE_QT_SCRIPT if BR2_PACKAGE_QT
 	select BR2_PACKAGE_QT_GUI_MODULE if BR2_PACKAGE_QT
@@ -14,4 +15,5 @@ config BR2_PACKAGE_GRANTLEE
 
 comment "grantlee needs a toolchain with NPTL"
 	depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
-	depends on BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT || BR2_PACKAGE_QT5
+	depends on (BR2_PACKAGE_QT_ARCH_SUPPORTS_SCRIPT && BR2_PACKAGE_QT) || \
+		(BR2_PACKAGE_QT5_JSCORE_AVAILABLE && BR2_PACKAGE_QT5)
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 08/21] libgail: add missing indirect dependency on C++ and atomics
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (6 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 07/21] grantlee: add missing indirect dependency on jscore available Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 09/21] espeak: add missing indirect dependency on atomics for pulseaudio Arnout Vandecappelle
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/libgail/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/libgail/Config.in b/package/libgail/Config.in
index 512f228..3967083 100644
--- a/package/libgail/Config.in
+++ b/package/libgail/Config.in
@@ -3,6 +3,8 @@ config BR2_PACKAGE_LIBGAIL
 	depends on BR2_USE_WCHAR # pango -> libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
 	depends on BR2_USE_MMU # pango -> libglib2
+	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
+	depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
 	depends on BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_PANGO
 	help
@@ -20,7 +22,8 @@ config BR2_PACKAGE_LIBGAIL
 
 	  http://developer.gnome.org/projects/gap
 
-comment "libgail needs a toolchain w/ wchar, threads"
+comment "libgail needs a toolchain w/ C++, wchar, threads"
 	depends on BR2_PACKAGE_LIBGTK2
-	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU
+	depends on BR2_ARCH_HAS_ATOMICS
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 09/21] espeak: add missing indirect dependency on atomics for pulseaudio
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (7 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 08/21] libgail: add missing indirect dependency on C++ and atomics Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 10/21] kodi: add missing indirect dependency on dynamic lib for shairport Arnout Vandecappelle
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/espeak/Config.in | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/espeak/Config.in b/package/espeak/Config.in
index 29dfec9..607d5b0 100644
--- a/package/espeak/Config.in
+++ b/package/espeak/Config.in
@@ -30,11 +30,13 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA
 
 config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO
 	bool "pulseaudio"
-	select BR2_PACKAGE_PULSEAUDIO
 	depends on BR2_LARGEFILE # pulseaudio
+	depends on BR2_ARCH_HAS_ATOMICS # pulseaudio
+	select BR2_PACKAGE_PULSEAUDIO
 
 comment "pulseaudio backend needs a toolchain with largefile"
 	depends on !BR2_LARGEFILE
+	depends on BR2_ARCH_HAS_ATOMICS
 
 endchoice
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 10/21] kodi: add missing indirect dependency on dynamic lib for shairport
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (8 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 09/21] espeak: add missing indirect dependency on atomics for pulseaudio Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 11/21] oprofile: add missing indirect dependency on NPTL for PPC Arnout Vandecappelle
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/kodi/Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/kodi/Config.in b/package/kodi/Config.in
index 5141629..1bc8b15 100644
--- a/package/kodi/Config.in
+++ b/package/kodi/Config.in
@@ -194,11 +194,15 @@ config BR2_PACKAGE_KODI_RTMPDUMP
 
 config BR2_PACKAGE_KODI_LIBSHAIRPLAY
 	bool "shairport"
+	depends on !BR2_STATIC_LIBS # libshairplay -> avahi
 	select BR2_PACKAGE_LIBSHAIRPLAY
 	help
 	  Enable Shairport support.
 	  Select this if you want to stream content from an Apple device.
 
+comment "shairport support needs a toolchain w/ dynamic library"
+	depends on BR2_STATIC_LIBS
+
 config BR2_PACKAGE_KODI_LIBSMBCLIENT
 	bool "samba"
 	select BR2_PACKAGE_SAMBA
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 11/21] oprofile: add missing indirect dependency on NPTL for PPC
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (9 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 10/21] kodi: add missing indirect dependency on dynamic lib for shairport Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-07 20:14   ` Peter Korsgaard
  2015-02-04  0:34 ` [Buildroot] [PATCH 12/21] util-linux: add missing indirect dependency on !avr32 for setpriv Arnout Vandecappelle
                   ` (10 subsequent siblings)
  21 siblings, 1 reply; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/oprofile/Config.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index 3ea07d9..8c9b39f 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -9,7 +9,7 @@ config BR2_PACKAGE_OPROFILE
 	depends on BR2_USE_WCHAR # binutils
 	depends on !BR2_xtensa
 	# libpfm4 is needed on PowerPC, and requires thread support
-	depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_powerpc
 	help
 	  OProfile is a system-wide profiler for Linux systems,
 	  capable of profiling all running code at low overhead.
@@ -31,6 +31,6 @@ comment "oprofile needs a toolchain w/ C++, wchar"
 	depends on !BR2_aarch64 && !BR2_nios2 && !BR2_xtensa
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 
-comment "oprofile needs a toolchain w/ threads on PPC"
+comment "oprofile needs a toolchain w/ NPTL on PPC"
 	depends on BR2_USE_MMU && BR2_powerpc
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 12/21] util-linux: add missing indirect dependency on !avr32 for setpriv
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (10 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 11/21] oprofile: add missing indirect dependency on NPTL for PPC Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 13/21] dovecot: add missing indirect dependency on !avr32 for mysql Arnout Vandecappelle
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/util-linux/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in
index 78648c1..a6719f3 100644
--- a/package/util-linux/Config.in
+++ b/package/util-linux/Config.in
@@ -215,6 +215,7 @@ config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS
 
 config BR2_PACKAGE_UTIL_LINUX_SETPRIV
 	bool "setpriv"
+	depends on !BR2_avr32 # libcap-ng
 	select BR2_PACKAGE_LIBCAP_NG
 	help
 	  Run a program with different Linux privilege settings
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 13/21] dovecot: add missing indirect dependency on !avr32 for mysql
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (11 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 12/21] util-linux: add missing indirect dependency on !avr32 for setpriv Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 14/21] php: add missing indirect dependency on !avr32 for mysql extensions Arnout Vandecappelle
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/dovecot/Config.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/dovecot/Config.in b/package/dovecot/Config.in
index 17c914d..aa4c221 100644
--- a/package/dovecot/Config.in
+++ b/package/dovecot/Config.in
@@ -22,13 +22,15 @@ config BR2_PACKAGE_DOVECOT_BZIP2
 config BR2_PACKAGE_DOVECOT_MYSQL
 	bool "mysql support"
 	select BR2_PACKAGE_MYSQL
-	depends on BR2_INSTALL_LIBSTDCPP
-	depends on BR2_TOOLCHAIN_HAS_THREADS
+	depends on BR2_INSTALL_LIBSTDCPP # mysql
+	depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+	depends on !BR2_avr32 # mysql
 	help
 	  Enable MySQL support.
 
 comment "mysql support needs a toolchain w/ C++, threads"
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_avr32
 
 config BR2_PACKAGE_DOVECOT_OPENSSL
 	bool "openssl support"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 14/21] php: add missing indirect dependency on !avr32 for mysql extensions
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (12 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 13/21] dovecot: add missing indirect dependency on !avr32 for mysql Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 15/21] cwiid: add missing indirect dependency on atomics for wmgui Arnout Vandecappelle
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also fix the comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/php/Config.ext | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/package/php/Config.ext b/package/php/Config.ext
index 241e4a9..2b1e615 100644
--- a/package/php/Config.ext
+++ b/package/php/Config.ext
@@ -106,6 +106,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQL
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # mysql
 	depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+	depends on !BR2_avr32 # mysql
 	select BR2_PACKAGE_MYSQL
 	help
 	  MySQL support
@@ -115,6 +116,7 @@ config BR2_PACKAGE_PHP_EXT_MYSQLI
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # mysql
 	depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+	depends on !BR2_avr32 # mysql
 	select BR2_PACKAGE_MYSQL
 	select BR2_PACKAGE_PHP_EXT_MYSQL
 	help
@@ -132,13 +134,15 @@ config BR2_PACKAGE_PHP_EXT_PDO_MYSQL
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # mysql
 	depends on BR2_TOOLCHAIN_HAS_THREADS # mysql
+	depends on !BR2_avr32 # mysql
 	select BR2_PACKAGE_MYSQL
 	help
 	  PDO driver for MySQL
 
-comment "MySQL drivers need a toolchain w/ C++"
+comment "MySQL drivers need a toolchain w/ C++, threads"
 	depends on BR2_USE_MMU
-	depends on !BR2_INSTALL_LIBSTDCPP
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_avr32
 
 config BR2_PACKAGE_PHP_EXT_PDO_POSTGRESQL
 	bool "PostgreSQL"
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 15/21] cwiid: add missing indirect dependency on atomics for wmgui
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (13 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 14/21] php: add missing indirect dependency on !avr32 for mysql extensions Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 16/21] opencv: add missing indirect dependency on atomics for gtk support Arnout Vandecappelle
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also add a comment for cwiid itself.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/cwiid/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/cwiid/Config.in b/package/cwiid/Config.in
index da49836..e864940 100644
--- a/package/cwiid/Config.in
+++ b/package/cwiid/Config.in
@@ -15,6 +15,7 @@ config BR2_PACKAGE_CWIID
 if BR2_PACKAGE_CWIID
 config BR2_PACKAGE_CWIID_WMGUI
 	bool "wmgui"
+	depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
 	depends on BR2_PACKAGE_XORG7 # libgtk2
 	depends on BR2_USE_WCHAR # libgtk2 -> libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
@@ -23,3 +24,8 @@ config BR2_PACKAGE_CWIID_WMGUI
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_LIBGTK2
 endif
+
+comment "cwiid needs a toolchain w/ dynamic lib, threads, wchar"
+	depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
+	depends on !BR2_avr32
+	depends on !BR2_USE_MMU
\ No newline at end of file
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 16/21] opencv: add missing indirect dependency on atomics for gtk support
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (14 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 15/21] cwiid: add missing indirect dependency on atomics for wmgui Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 17/21] pinenty: add missing indirect dependency on atomics for gtk2 support Arnout Vandecappelle
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/opencv/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index d648e5e..c444d65 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -160,6 +160,7 @@ config BR2_PACKAGE_OPENCV_WITH_GTK
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_USE_MMU # libgtk2 -> glib2
+	depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
 	depends on BR2_PACKAGE_OPENCV_LIB_HIGHGUI
 	select BR2_PACKAGE_LIBGTK2
 
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 17/21] pinenty: add missing indirect dependency on atomics for gtk2 support
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (15 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 16/21] opencv: add missing indirect dependency on atomics for gtk support Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 18/21] xscreensaver: add missing indirect dependency on atomics Arnout Vandecappelle
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also remove redundant comment lines.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/pinentry/Config.in | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/pinentry/Config.in b/package/pinentry/Config.in
index ae70257..350327a 100644
--- a/package/pinentry/Config.in
+++ b/package/pinentry/Config.in
@@ -18,13 +18,12 @@ config BR2_PACKAGE_PINENTRY_NCURSES
 
 config BR2_PACKAGE_PINENTRY_GTK2
 	bool "pinentry-gtk2"
-	# propagate libgtk2's dependencies
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU
 	depends on BR2_INSTALL_LIBSTDCPP
-	# select libgtk2
+	depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
 	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
 	help
@@ -32,17 +31,16 @@ config BR2_PACKAGE_PINENTRY_GTK2
 
 comment "pinentry-gtk2 needs X and a toolchain w/ wchar, threads, C++"
 	depends on BR2_USE_MMU
+	depends on BR2_ARCH_HAS_ATOMICS
 	depends on !BR2_PACKAGE_XORG7 || !BR2_USE_WCHAR || \
 		!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
 
 config BR2_PACKAGE_PINENTRY_QT4
 	bool "pinentry-qt4"
-	# propagate qt's dependencies
 	depends on !BR2_avr32 # lacks TLS
 	depends on BR2_USE_MMU # fork
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
-	# select qt
 	select BR2_PACKAGE_QT
 	select BR2_PACKAGE_QT_GUI_MODULE
 	help
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 18/21] xscreensaver: add missing indirect dependency on atomics
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (16 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 17/21] pinenty: add missing indirect dependency on atomics for gtk2 support Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 19/21] enlightenment: " Arnout Vandecappelle
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Also reformat the comment lines and fix the comment.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/xscreensaver/Config.in | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/package/xscreensaver/Config.in b/package/xscreensaver/Config.in
index 6260040..59b19c5 100644
--- a/package/xscreensaver/Config.in
+++ b/package/xscreensaver/Config.in
@@ -1,10 +1,11 @@
 config BR2_PACKAGE_XSCREENSAVER
 	bool "xscreensaver"
 	depends on BR2_PACKAGE_XORG7
-	depends on BR2_INSTALL_LIBSTDCPP # libgtk2->pango
-	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2->glib2
-	depends on BR2_USE_WCHAR # libgtk2->glib2
-	depends on BR2_USE_MMU # libgtk2->glib2
+	depends on BR2_INSTALL_LIBSTDCPP # libgtk2 -> pango
+	depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> glib2
+	depends on BR2_USE_WCHAR # libgtk2 -> glib2
+	depends on BR2_USE_MMU # libgtk2 -> glib2
+	depends on BR2_ARCH_HAS_ATOMICS # libgtk2 -> cairo
 	select BR2_PACKAGE_LIBGTK2
 	select BR2_PACKAGE_LIBGLADE
 	select BR2_PACKAGE_JPEG
@@ -24,4 +25,6 @@ config BR2_PACKAGE_XSCREENSAVER
 comment "xscreensaver needs a toolchain w/ wchar, C++, threads"
 	depends on BR2_PACKAGE_XORG7
 	depends on BR2_USE_MMU
-	depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
+	depends on BR2_ARCH_HAS_ATOMICS
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
+		!BR2_USE_WCHAR
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 19/21] enlightenment: add missing indirect dependency on atomics
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (17 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 18/21] xscreensaver: add missing indirect dependency on atomics Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 20/21] qt5cinex: add missing indirect dependency on libegl Arnout Vandecappelle
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/enlightenment/Config.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/enlightenment/Config.in b/package/enlightenment/Config.in
index f34140b..37e9e75 100644
--- a/package/enlightenment/Config.in
+++ b/package/enlightenment/Config.in
@@ -27,6 +27,8 @@ config BR2_PACKAGE_ENLIGHTENMENT
 	depends on BR2_USE_MMU
 	depends on BR2_PACKAGE_XORG7
 	depends on !BR2_avr32 # libevas
+	# libevas-generic-loaders-svg -> librsvg -> pango -> cairo
+	depends on BR2_ARCH_HAS_ATOMICS
 	help
 	  Enlightenment, also known simply as E, is a stacking window
 	  manager for the X Window System which can be used alone or
@@ -39,4 +41,5 @@ config BR2_PACKAGE_ENLIGHTENMENT
 comment "enlightenment needs a toolchain w/ wchar, C++, threads"
 	depends on BR2_PACKAGE_XORG7 && BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP
+	depends on BR2_ARCH_HAS_ATOMICS
 	depends on !BR2_avr32
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 20/21] qt5cinex: add missing indirect dependency on libegl
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (18 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 19/21] enlightenment: " Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-04  0:34 ` [Buildroot] [PATCH 21/21] qt5webkit: add missing indirect dependency on atomics and !flat Arnout Vandecappelle
  2015-02-07 20:27 ` [Buildroot] [0/21] Add missing indirect dependencies Peter Korsgaard
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/qt5cinex/Config.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/package/qt5cinex/Config.in b/package/qt5cinex/Config.in
index bc533d3..b273231 100644
--- a/package/qt5cinex/Config.in
+++ b/package/qt5cinex/Config.in
@@ -1,7 +1,7 @@
-comment "qt5cinex needs an OpenGL-capable backend"
+comment "qt5cinex needs an Open(E)GL-capable backend"
 	depends on BR2_PACKAGE_QT5
 	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
-	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE
+	depends on !BR2_PACKAGE_QT5_GL_AVAILABLE || !BR2_PACKAGE_HAS_LIBEGL
 
 config BR2_PACKAGE_QT5CINEX
 	bool "qt5cinex"
@@ -11,6 +11,7 @@ config BR2_PACKAGE_QT5CINEX
 	select BR2_PACKAGE_QT5BASE_WIDGETS
 	select BR2_PACKAGE_QT5BASE_EGLFS
 	select BR2_PACKAGE_QT5GRAPHICALEFFECTS
+	depends on BR2_PACKAGE_HAS_LIBEGL # qt5base-eglfs
 	depends on BR2_PACKAGE_QT5_GL_AVAILABLE
 	# No comment needed for this option, it's an architecture
 	# dependency.
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 21/21] qt5webkit: add missing indirect dependency on atomics and !flat
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (19 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 20/21] qt5cinex: add missing indirect dependency on libegl Arnout Vandecappelle
@ 2015-02-04  0:34 ` Arnout Vandecappelle
  2015-02-07 20:27 ` [Buildroot] [0/21] Add missing indirect dependencies Peter Korsgaard
  21 siblings, 0 replies; 28+ messages in thread
From: Arnout Vandecappelle @ 2015-02-04  0:34 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
 package/qt5/qt5webkit/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/qt5/qt5webkit/Config.in b/package/qt5/qt5webkit/Config.in
index 419e393..3507a9d 100644
--- a/package/qt5/qt5webkit/Config.in
+++ b/package/qt5/qt5webkit/Config.in
@@ -9,6 +9,8 @@ config BR2_PACKAGE_QT5WEBKIT
 	# This module does not support static linking
 	depends on !BR2_STATIC_LIBS
 	depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
+	depends on BR2_ARCH_HAS_ATOMICS # icu
+	depends on !BR2_BINFMT_FLAT # icu
 	help
 	  Qt is a cross-platform application and UI framework for
 	  developers using C++.
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 04/21] gst-plugins-base: add missing indirect dependency on atomics for pango
  2015-02-04  0:34 ` [Buildroot] [PATCH 04/21] gst-plugins-base: add missing indirect dependency on atomics for pango Arnout Vandecappelle
@ 2015-02-04  7:54   ` Jerzy Grzegorek
  0 siblings, 0 replies; 28+ messages in thread
From: Jerzy Grzegorek @ 2015-02-04  7:54 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

> Also removed the redundant indirect dependencies on wchar, threads, mmu
> (gstreamer depends on libglib2 so this indirect dependency is obvious).
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>   package/gstreamer/gst-plugins-base/Config.in | 10 ++++------
>   1 file changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/package/gstreamer/gst-plugins-base/Config.in b/package/gstreamer/gst-plugins-base/Config.in
> index ccc88f7..02c5bab 100644
> --- a/package/gstreamer/gst-plugins-base/Config.in
> +++ b/package/gstreamer/gst-plugins-base/Config.in
> @@ -84,15 +84,13 @@ config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_OGG
>   
>   config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_PANGO
>   	bool "pango font renderer"
> -	depends on BR2_INSTALL_LIBSTDCPP
> -	depends on BR2_USE_WCHAR # pango -> libglib2
> -	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
> -	depends on BR2_USE_MMU # pango -> glib2
> +	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
> +	depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
>   	select BR2_PACKAGE_PANGO
>   
>   comment "pango plugin needs a toolchain w/ C++, wchar, threads"

Shouldn't this be

  comment "pango plugin needs a toolchain w/ C++"

Regards,
Jerzy

> -	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> -		!BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !BR2_INSTALL_LIBSTDCPP
> +	depends on BR2_ARCH_HAS_ATOMICS
>   
>   config BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_THEORA
>   	bool "theora (*.ogg video)"

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 05/21] gst1-plugins-base: add missing indirect dependency on atomics for pango
  2015-02-04  0:34 ` [Buildroot] [PATCH 05/21] gst1-plugins-base: " Arnout Vandecappelle
@ 2015-02-04  8:04   ` Jerzy Grzegorek
  0 siblings, 0 replies; 28+ messages in thread
From: Jerzy Grzegorek @ 2015-02-04  8:04 UTC (permalink / raw)
  To: buildroot

Hi Arnout,

> Also removed the redundant indirect dependencies on wchar, threads, mmu
> (gstreamer depends on libglib2 so this indirect dependency is obvious).
>
> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
> ---
>   package/gstreamer1/gst1-plugins-base/Config.in | 10 ++++------
>   1 file changed, 4 insertions(+), 6 deletions(-)
>
> diff --git a/package/gstreamer1/gst1-plugins-base/Config.in b/package/gstreamer1/gst1-plugins-base/Config.in
> index 3b487c5..90c00b1 100644
> --- a/package/gstreamer1/gst1-plugins-base/Config.in
> +++ b/package/gstreamer1/gst1-plugins-base/Config.in
> @@ -128,17 +128,15 @@ config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
>   
>   config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_PANGO
>   	bool "pango font renderer"
> -	depends on BR2_INSTALL_LIBSTDCPP
> -	depends on BR2_USE_WCHAR # pango -> libglib2
> -	depends on BR2_TOOLCHAIN_HAS_THREADS # pango -> libglib2
> -	depends on BR2_USE_MMU # pango -> libglib2
> +	depends on BR2_INSTALL_LIBSTDCPP # pango -> freetype
> +	depends on BR2_ARCH_HAS_ATOMICS # pango -> cairo
>   	select BR2_PACKAGE_PANGO
>   	help
>   	  Pango-based text rendering and overlay
>   
>   comment "pango plugin needs a toolchain w/ C++, wchar, threads"

Same here

comment "pango plugin needs a toolchain w/ C++"

Regards,
Jerzy

> -	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
> -		!BR2_TOOLCHAIN_HAS_THREADS
> +	depends on !BR2_INSTALL_LIBSTDCPP
> +	depends on BR2_ARCH_HAS_ATOMICS
>   
>   config BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_THEORA
>   	bool "theora (*.ogg video)"

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Buildroot] [PATCH 11/21] oprofile: add missing indirect dependency on NPTL for PPC
  2015-02-04  0:34 ` [Buildroot] [PATCH 11/21] oprofile: add missing indirect dependency on NPTL for PPC Arnout Vandecappelle
@ 2015-02-07 20:14   ` Peter Korsgaard
  0 siblings, 0 replies; 28+ messages in thread
From: Peter Korsgaard @ 2015-02-07 20:14 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 > Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 > ---
 >  package/oprofile/Config.in | 4 ++--
 >  1 file changed, 2 insertions(+), 2 deletions(-)

 > diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
 > index 3ea07d9..8c9b39f 100644
 > --- a/package/oprofile/Config.in
 > +++ b/package/oprofile/Config.in
 > @@ -9,7 +9,7 @@ config BR2_PACKAGE_OPROFILE
 >  	depends on BR2_USE_WCHAR # binutils
 >  	depends on !BR2_xtensa
 >  	# libpfm4 is needed on PowerPC, and requires thread support
 > -	depends on BR2_TOOLCHAIN_HAS_THREADS || !BR2_powerpc
 > +	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL || !BR2_powerpc
 >  	help
 >  	  OProfile is a system-wide profiler for Linux systems,
 >  	  capable of profiling all running code at low overhead.
 > @@ -31,6 +31,6 @@ comment "oprofile needs a toolchain w/ C++, wchar"
 >  	depends on !BR2_aarch64 && !BR2_nios2 && !BR2_xtensa
 >  	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR
 
 > -comment "oprofile needs a toolchain w/ threads on PPC"
 > +comment "oprofile needs a toolchain w/ NPTL on PPC"
 >  	depends on BR2_USE_MMU && BR2_powerpc
 >  	depends on !BR2_TOOLCHAIN_HAS_THREADS

This should then also be !BR2_TOOLCHAIN_HAS_THREADS_NPTL.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Buildroot] [0/21] Add missing indirect dependencies
  2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
                   ` (20 preceding siblings ...)
  2015-02-04  0:34 ` [Buildroot] [PATCH 21/21] qt5webkit: add missing indirect dependency on atomics and !flat Arnout Vandecappelle
@ 2015-02-07 20:27 ` Peter Korsgaard
  2015-02-09 16:43   ` Maxime Ripard
  21 siblings, 1 reply; 28+ messages in thread
From: Peter Korsgaard @ 2015-02-07 20:27 UTC (permalink / raw)
  To: buildroot

>>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:

 >  With the fix for randconfig that I made in
 > http://patchwork.ozlabs.org/patch/432554/ it is now possible to run
 > 'make randconfig' and get usable results. So I ran the following loop
 > to detect missing indirect dependencies:

 > while true; do make randconfig 2>&1 | grep warning; done

 > If there is a missing indirect dependency, this will output a line like:

 > warning: (BR2_PACKAGE_UTIL_LINUX_SETPRIV) selects BR2_PACKAGE_LIBCAP_NG which has unmet direct dependencies (!BR2_avr32)

Committed with the minor issues pointed out by Jerzy Grzegorek fixed,
thanks.


>  It would be good to include such a test in a jenkins job to detect this
 > type of error earlier.

Indeed. Maxime, is that something you can setup?

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Buildroot] [0/21] Add missing indirect dependencies
  2015-02-07 20:27 ` [Buildroot] [0/21] Add missing indirect dependencies Peter Korsgaard
@ 2015-02-09 16:43   ` Maxime Ripard
  2015-02-09 23:06     ` Peter Korsgaard
  0 siblings, 1 reply; 28+ messages in thread
From: Maxime Ripard @ 2015-02-09 16:43 UTC (permalink / raw)
  To: buildroot

Hi Peter,

On Sat, Feb 07, 2015 at 09:27:41PM +0100, Peter Korsgaard wrote:
> >>>>> "Arnout" == Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> writes:
> 
>  >  With the fix for randconfig that I made in
>  > http://patchwork.ozlabs.org/patch/432554/ it is now possible to run
>  > 'make randconfig' and get usable results. So I ran the following loop
>  > to detect missing indirect dependencies:
> 
>  > while true; do make randconfig 2>&1 | grep warning; done
> 
>  > If there is a missing indirect dependency, this will output a line like:
> 
>  > warning: (BR2_PACKAGE_UTIL_LINUX_SETPRIV) selects BR2_PACKAGE_LIBCAP_NG which has unmet direct dependencies (!BR2_avr32)
> 
> Committed with the minor issues pointed out by Jerzy Grzegorek fixed,
> thanks.
> 
> 
> >  It would be good to include such a test in a jenkins job to detect this
>  > type of error earlier.
> 
> Indeed. Maxime, is that something you can setup?

Unfortunately, Jenkins has been down for quite some time now, and I
still haven't got the time to fix it.

What would be the test to setup?

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150209/78ad1276/attachment.asc>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* [Buildroot] [0/21] Add missing indirect dependencies
  2015-02-09 16:43   ` Maxime Ripard
@ 2015-02-09 23:06     ` Peter Korsgaard
  0 siblings, 0 replies; 28+ messages in thread
From: Peter Korsgaard @ 2015-02-09 23:06 UTC (permalink / raw)
  To: buildroot

>>>>> "Maxime" == Maxime Ripard <maxime.ripard@free-electrons.com> writes:

Hi,

>> > while true; do make randconfig 2>&1 | grep warning; done
 >> 
 >> > If there is a missing indirect dependency, this will output a line like:
 >> 
 >> > warning: (BR2_PACKAGE_UTIL_LINUX_SETPRIV) selects
 >> > BR2_PACKAGE_LIBCAP_NG which has unmet direct dependencies
 >> > (!BR2_avr32)
 >> 
 >> Committed with the minor issues pointed out by Jerzy Grzegorek fixed,
 >> thanks.
 >> 
 >> 
 >> >  It would be good to include such a test in a jenkins job to detect this
 >> > type of error earlier.
 >> 
 >> Indeed. Maxime, is that something you can setup?

 > Unfortunately, Jenkins has been down for quite some time now, and I
 > still haven't got the time to fix it.

:/

 > What would be the test to setup?

As Arnout suggested - a number of make randconfig 2>&1 | grep warning
calls that shouldn't generate any output at all.

-- 
Venlig hilsen,
Peter Korsgaard 

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2015-02-09 23:06 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04  0:33 [Buildroot] [0/21] Add missing indirect dependencies Arnout Vandecappelle
2015-02-04  0:33 ` [Buildroot] [PATCH 01/21] python-coherence: add missing indirect dependency on c++ Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 02/21] gst-plugins-bad: add missing indirect dependency on atomics for rsvg Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 03/21] gst1-plugins-bad: " Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 04/21] gst-plugins-base: add missing indirect dependency on atomics for pango Arnout Vandecappelle
2015-02-04  7:54   ` Jerzy Grzegorek
2015-02-04  0:34 ` [Buildroot] [PATCH 05/21] gst1-plugins-base: " Arnout Vandecappelle
2015-02-04  8:04   ` Jerzy Grzegorek
2015-02-04  0:34 ` [Buildroot] [PATCH 06/21] qemu: add missing indirect dependency on dynamic library for fdt Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 07/21] grantlee: add missing indirect dependency on jscore available Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 08/21] libgail: add missing indirect dependency on C++ and atomics Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 09/21] espeak: add missing indirect dependency on atomics for pulseaudio Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 10/21] kodi: add missing indirect dependency on dynamic lib for shairport Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 11/21] oprofile: add missing indirect dependency on NPTL for PPC Arnout Vandecappelle
2015-02-07 20:14   ` Peter Korsgaard
2015-02-04  0:34 ` [Buildroot] [PATCH 12/21] util-linux: add missing indirect dependency on !avr32 for setpriv Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 13/21] dovecot: add missing indirect dependency on !avr32 for mysql Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 14/21] php: add missing indirect dependency on !avr32 for mysql extensions Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 15/21] cwiid: add missing indirect dependency on atomics for wmgui Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 16/21] opencv: add missing indirect dependency on atomics for gtk support Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 17/21] pinenty: add missing indirect dependency on atomics for gtk2 support Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 18/21] xscreensaver: add missing indirect dependency on atomics Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 19/21] enlightenment: " Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 20/21] qt5cinex: add missing indirect dependency on libegl Arnout Vandecappelle
2015-02-04  0:34 ` [Buildroot] [PATCH 21/21] qt5webkit: add missing indirect dependency on atomics and !flat Arnout Vandecappelle
2015-02-07 20:27 ` [Buildroot] [0/21] Add missing indirect dependencies Peter Korsgaard
2015-02-09 16:43   ` Maxime Ripard
2015-02-09 23:06     ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.