Created attachment 2899 [details] Proposed patch to python patch 005 Pulled from git repository, CHANGES says: 2011-02, not yet released. python package patch file python-2.7-005-staging-headers-libs.patch has typo in modules_lib_dirs section, causing build abort if PYTHON_MODULES_LIB is not specified during build. + try: + modules_lib_dirs = os.environ["PYTHON_MODULES_LIB"].split() + except KeyError: + modules_include_dirs = ['/usr/lib'] modules_include_dirs should be modules_lib_dirs: + modules_lib_dirs = ['/usr/lib'] Proposed patch to patch is attached, or you could replace existing patch. No attribution is necessary. Thanks. Mark Wickham Digi International
Indeed this was a mistake in the patch, so: Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Just curious: how did you trigger the case where PYTHON_MODULES_LIB is not set ? In Buildroot, for both the host and target python, PYTHON_MODULES_LIB is passed in the environment (which is why I didn't see the problem).
Committed, thanks