Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] gnuradio: needs host-python2
@ 2018-06-26 21:43 Fabrice Fontaine
  2018-06-27  3:36 ` Baruch Siach
  2018-08-05 12:39 ` Thomas Petazzoni
  0 siblings, 2 replies; 14+ messages in thread
From: Fabrice Fontaine @ 2018-06-26 21:43 UTC (permalink / raw)
  To: buildroot

gnuradio needs host-python2 however there is no way to enforce this so
add a dependency on !BR2_PACKAGE_PYTHON3.
Indeed, if BR2_PACKAGE_PYTHON3 is selected, then buildroot will only
build host-python3.
This issue was not raised in the previous version of gnuradio as
host-python-cheetah was the only dependency and host-python-cheetah
enforces python2 through HOST_PYTHON_CHEETAH_NEEDS_HOST_PYTHON however
we now have host-python-six and host-python-mako dependencies and it
does not seem right to enforces python2 on those packages

Fixes:
 - http://autobuild.buildroot.net/results/a502fef3e2a40f38ca63332440b0b6bd2ed11d5a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/gnuradio/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in
index f748b902a7..25131fb105 100644
--- a/package/gnuradio/Config.in
+++ b/package/gnuradio/Config.in
@@ -1,5 +1,6 @@
 comment "gnuradio needs a toolchain w/ C++, NPTL, wchar, dynamic library"
 	depends on BR2_USE_MMU
+	depends on !BR2_PACKAGE_PYTHON3
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
 		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || BR2_STATIC_LIBS
 
@@ -10,6 +11,7 @@ config BR2_PACKAGE_GNURADIO
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_USE_MMU # use fork()
 	depends on BR2_USE_WCHAR # boost
+	depends on !BR2_PACKAGE_PYTHON3
 	select BR2_PACKAGE_BOOST
 	select BR2_PACKAGE_BOOST_DATE_TIME
 	select BR2_PACKAGE_BOOST_FILESYSTEM
-- 
2.14.1

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

end of thread, other threads:[~2018-08-05 12:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-26 21:43 [Buildroot] [PATCH 1/1] gnuradio: needs host-python2 Fabrice Fontaine
2018-06-27  3:36 ` Baruch Siach
2018-06-27  5:35   ` Fabrice Fontaine
2018-06-27 16:24     ` Fabrice Fontaine
2018-06-28  3:25       ` Baruch Siach
2018-06-28  7:58         ` Yegor Yefremov
2018-06-28  8:23           ` Thomas Petazzoni
2018-06-28  9:15             ` Yegor Yefremov
2018-06-28  9:20               ` Thomas Petazzoni
2018-06-28 10:02                 ` Yegor Yefremov
2018-06-28 17:25                   ` Fabrice Fontaine
2018-07-19 15:02                     ` Thomas Petazzoni
2018-06-28 18:46         ` Trent Piepho
2018-08-05 12:39 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox