[Buildroot] [PATCH 1/1] package/bind: fix python build

Peter Korsgaard peter at korsgaard.com
Wed May 1 12:37:25 UTC 2019


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

Hi,

 >> Hmm, I somehow missed the host/target mixup. This is not good. You test
 >> if the target python-ply package is enabled, but then add
 >> host-python-ply (which doesn't exist) to _DEPENDENCIES:
 >> 
 >> http://autobuild.buildroot.net/results/2615ebfdcb068594d028af4823260e613d37e867/build-end.log
 >> 
 >> If I understand it right, we need ply for the host to satisfy the
 >> configure check and ply for the target for runtime, so I guess the
 >> solution is to add a host version of the python-ply package.

 >  It's pretty ridiculous that we need host-python and host-python-ply *just* to
 > satisfy the configure script... AFAICS, it's not actually used anywhere. Can't
 > we turn PYTHON into a cache var and replace all that with a simple
 > ac_cv_PYTHON=pyhon ?

I guess we could, but it also needs python for the target at runtime, so
that implies host-python, and host-python-ply is a pure python package
so trivial to build - So it doesn't really gain much.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list