summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabrice Fontaine <fontaine.fabrice@gmail.com>2019-03-08 20:44:11 +0100
committerPeter Korsgaard <peter@korsgaard.com>2019-03-25 17:23:02 +0100
commit5271f2f65c5adc01989cb2e6e2e710c7991806bd (patch)
tree377ed150f3d05201887870682ff57f9632fbdfe9
parent884e3918bfeac54fc1d4e962780d3402d58323e0 (diff)
downloadbuildroot-5271f2f65c5adc01989cb2e6e2e710c7991806bd.tar.gz
buildroot-5271f2f65c5adc01989cb2e6e2e710c7991806bd.zip
package/mongodb: needs host-python2
mongodb (like 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 and install host-python-typing for host-python3. This issue was not raised in the previous version of mongodb as host-scons was the only dependency however we now have host-python-typing and host-python-pyyaml dependencies and it does not seem right to enforce python2 on those packages Fixes: - http://autobuild.buildroot.org/results/693bdba2c01a1b69f56d6ee75094a6a0fc3f40b4 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> [Thomas: propagate dependency to Config.in comment] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit bf57446a0b7fbaa75f92d8c05357225846eebafe) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/mongodb/Config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/mongodb/Config.in b/package/mongodb/Config.in
index 969b8e062f..4696eb7660 100644
--- a/package/mongodb/Config.in
+++ b/package/mongodb/Config.in
@@ -8,6 +8,7 @@ config BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
config BR2_PACKAGE_MONGODB
bool "mongodb"
depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_PYTHON3
depends on BR2_TOOLCHAIN_USES_GLIBC # needs glibc malloc_usable_size
depends on BR2_USE_WCHAR
depends on BR2_TOOLCHAIN_HAS_THREADS
@@ -38,3 +39,4 @@ comment "mongodb needs a glibc toolchain w/ wchar, threads, C++, gcc >= 6"
!BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_USES_GLIBC || \
!BR2_TOOLCHAIN_GCC_AT_LEAST_6
depends on BR2_PACKAGE_MONGODB_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_PYTHON3
OpenPOWER on IntegriCloud