[Buildroot] [git commit] package/localedef: depend host build on python3

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Sep 14 19:11:00 UTC 2020


commit: https://git.buildroot.net/buildroot/commit/?id=6e73c71cc48fb1528044bbc63da028d2f74cbbab
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Just like glibc, host-localedef needs python3 on the host to
build... since host-localedef is basically using the sources of glibc.

Fixes:

checking if /build/build/per-package/host-localedef/host/bin/ccache
/usr/bin/gcc is sufficient to build libc... yes
checking for x86_64-pc-linux-gnu-nm... /usr/bin/nm
checking for python3... no
checking for python... python
checking version of python... 2.7.18, bad
configure: error:
*** These critical programs are missing or too old: python
*** Check the INSTALL file for required versions.

As reported at:

  http://lists.busybox.net/pipermail/buildroot/2020-September/291929.html

Signed-off-by: Michael Nosthoff <buildroot at heine.tech>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/localedef/localedef.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk
index e3c571241c..8eefb84a29 100644
--- a/package/localedef/localedef.mk
+++ b/package/localedef/localedef.mk
@@ -14,6 +14,7 @@ HOST_LOCALEDEF_DL_SUBDIR = glibc
 
 HOST_LOCALEDEF_DEPENDENCIES = \
 	$(BR2_MAKE_HOST_DEPENDENCY) \
+	$(BR2_PYTHON3_HOST_DEPENDENCY) \
 	host-bison \
 	host-gawk
 


More information about the buildroot mailing list