All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [git commit] package/dstat: invert select of the python interpreter version
@ 2019-10-26 18:53 Thomas Petazzoni
  0 siblings, 0 replies; only message in thread
From: Thomas Petazzoni @ 2019-10-26 18:53 UTC (permalink / raw)
  To: buildroot

commit: https://git.buildroot.net/buildroot/commit/?id=444c7546ff3e47585e7b7184a11179161ed8519c
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Commit 05484f621c1c2f80b2d735b2f4694996baad4a61 ("package/dstat: bump
to 0.7.4 which allows to run on Python3") added:

   select BR2_PACKAGE_PYTHON if !BR2_PACKAGE_PYTHON3

Unfortunately, some other packages do it the other way around, which
causes the following Kconfig circular dependency:

package/python/Config.in:5:error: recursive dependency detected!
package/python/Config.in:5:	symbol BR2_PACKAGE_PYTHON is selected by BR2_PACKAGE_PYTHON3
package/python3/Config.in:5:	symbol BR2_PACKAGE_PYTHON3 is selected by BR2_PACKAGE_PYTHON

Fix that by inverting the python version selection in the dstat
package.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/dstat/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/dstat/Config.in b/package/dstat/Config.in
index 81f53e74b7..647a7033c6 100644
--- a/package/dstat/Config.in
+++ b/package/dstat/Config.in
@@ -4,7 +4,7 @@ config BR2_PACKAGE_DSTAT
 	depends on BR2_USE_MMU # python
 	depends on BR2_TOOLCHAIN_HAS_THREADS # python
 	depends on !BR2_STATIC_LIBS # python
-	select BR2_PACKAGE_PYTHON if !BR2_PACKAGE_PYTHON3
+	select BR2_PACKAGE_PYTHON3 if !BR2_PACKAGE_PYTHON
 	help
 	  Dstat, written in Python, is a versatile replacement for
 	  vmstat, iostat, netstat and ifstat. Dstat overcomes some of

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-26 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-26 18:53 [Buildroot] [git commit] package/dstat: invert select of the python interpreter version Thomas Petazzoni

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.