All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] ncurses: fix python, busybox circular dependency
@ 2017-04-12 20:39 Matt Weber
  2017-04-13  1:23 ` Matthew Weber
  0 siblings, 1 reply; 2+ messages in thread
From: Matt Weber @ 2017-04-12 20:39 UTC (permalink / raw)
  To: buildroot

This resolves a build failure where the following
circular dependency is created.

busybox which is a dependency of: ncurses
which is a dependency of: python
which is a dependency of: libselinux
which is a dependency of: busybox

Resolves:
http://autobuild.buildroot.net/results/db1/db1e6f3054092fc5576ccab8e04a3b9d74ca9a8c/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 package/ncurses/ncurses.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 68c77ac..7b35015 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -30,9 +30,19 @@ NCURSES_CONF_OPTS = \
 	--without-manpages
 
 # Install after busybox for the full-blown versions
+# However if python is enabled, this causes a circular
+# dependency, for that case, use python as the dependency.
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
+ifeq ($(BR2_PACKAGE_PYTHON3),y)
+NCURSES_DEPENDENCIES += python3
+else
+NCURSES_DEPENDENCIES += python
+endif
+else
 NCURSES_DEPENDENCIES += busybox
 endif
+endif
 
 ifeq ($(BR2_STATIC_LIBS),y)
 NCURSES_CONF_OPTS += --without-shared --with-normal
-- 
1.9.1

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

* [Buildroot] [PATCH 1/1] ncurses: fix python, busybox circular dependency
  2017-04-12 20:39 [Buildroot] [PATCH 1/1] ncurses: fix python, busybox circular dependency Matt Weber
@ 2017-04-13  1:23 ` Matthew Weber
  0 siblings, 0 replies; 2+ messages in thread
From: Matthew Weber @ 2017-04-13  1:23 UTC (permalink / raw)
  To: buildroot

On Apr 12, 2017 3:39 PM, "Matt Weber" <matthew.weber@rockwellcollins.com>
wrote:

This resolves a build failure where the following
circular dependency is created.

busybox which is a dependency of: ncurses
which is a dependency of: python
which is a dependency of: libselinux
which is a dependency of: busybox


This however creates a python ncurses circular dependency....


Resolves:
http://autobuild.buildroot.net/results/db1/db1e6f3054092fc5576ccab8e04a3b
9d74ca9a8c/

Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
---
 package/ncurses/ncurses.mk | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk
index 68c77ac..7b35015 100644
--- a/package/ncurses/ncurses.mk
+++ b/package/ncurses/ncurses.mk
@@ -30,9 +30,19 @@ NCURSES_CONF_OPTS = \
        --without-manpages

 # Install after busybox for the full-blown versions
+# However if python is enabled, this causes a circular
+# dependency, for that case, use python as the dependency.
 ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
+ifeq ($(BR2_PACKAGE_PYTHON3),y)
+NCURSES_DEPENDENCIES += python3
+else
+NCURSES_DEPENDENCIES += python
+endif
+else
 NCURSES_DEPENDENCIES += busybox
 endif
+endif

 ifeq ($(BR2_STATIC_LIBS),y)
 NCURSES_CONF_OPTS += --without-shared --with-normal
--
1.9.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170412/94d15faa/attachment.html>

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

end of thread, other threads:[~2017-04-13  1:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-12 20:39 [Buildroot] [PATCH 1/1] ncurses: fix python, busybox circular dependency Matt Weber
2017-04-13  1:23 ` Matthew Weber

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.