[1/5] python: build host-python with MAKE1

Submitted by Thomas Petazzoni on Dec. 15, 2012, 5:29 p.m.


Message ID 1355592582-31374-2-git-send-email-thomas.petazzoni@free-electrons.com
State Accepted
Commit 4e7b07b4d513dc481b5a0a8c49180f2824fcc967
Headers show

Commit Message

Thomas Petazzoni Dec. 15, 2012, 5:29 p.m.
Building host-python in parallel sometimes causes "Bus error" during
the installation step on our autobuilders, such as:


Extensive testing on one autobuilder has shown that building
host-python with MAKE1 work arounds this strange problem.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 package/python/python.mk |    8 ++++++++
 1 file changed, 8 insertions(+)

Patch hide | download patch | download mbox

diff --git a/package/python/python.mk b/package/python/python.mk
index 6e960cd..71591b7 100644
--- a/package/python/python.mk
+++ b/package/python/python.mk
@@ -39,6 +39,14 @@  HOST_PYTHON_MAKE_ENV = \
+# Building host python in parallel sometimes triggers a "Bus error"
+# during the execution of "./python setup.py build" in the
+# installation step. It is probably due to the installation of a
+# shared library taking place in parallel to the execution of
+# ./python, causing spurious Bus error. Building host-python with
+# MAKE1 has shown to workaround the problem.
 PYTHON_DEPENDENCIES  = host-python libffi
 HOST_PYTHON_DEPENDENCIES = host-expat host-zlib