From patchwork Sat Dec 15 17:29:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 206626 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id 86C8B2C008E for ; Sun, 16 Dec 2012 04:39:08 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 80DF131742; Sat, 15 Dec 2012 17:39:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kNngDHVgo7GH; Sat, 15 Dec 2012 17:39:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id DD6C531743; Sat, 15 Dec 2012 17:39:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E27A18F74B for ; Sat, 15 Dec 2012 17:39:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 745608B6F3 for ; Sat, 15 Dec 2012 17:38:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4SkYIx4xE-f3 for ; Sat, 15 Dec 2012 17:38:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.free-electrons.com (mail.free-electrons.com [94.23.32.191]) by whitealder.osuosl.org (Postfix) with ESMTP id 31DCD8C7F5 for ; Sat, 15 Dec 2012 17:38:56 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 106) id CE5D01BD; Sat, 15 Dec 2012 18:29:53 +0100 (CET) Received: from localhost (dam78-1-88-174-64-187.fbx.proxad.net [88.174.64.187]) by mail.free-electrons.com (Postfix) with ESMTPSA id E010C13B for ; Sat, 15 Dec 2012 18:29:45 +0100 (CET) From: Thomas Petazzoni To: buildroot@uclibc.org Date: Sat, 15 Dec 2012 18:29:38 +0100 Message-Id: <1355592582-31374-2-git-send-email-thomas.petazzoni@free-electrons.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1355592582-31374-1-git-send-email-thomas.petazzoni@free-electrons.com> References: <1355592582-31374-1-git-send-email-thomas.petazzoni@free-electrons.com> Subject: [Buildroot] [PATCH 1/5] python: build host-python with MAKE1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Building host-python in parallel sometimes causes "Bus error" during the installation step on our autobuilders, such as: http://autobuild.buildroot.org/results/04bcc907c5e075fe1f39d4f49dcc50ec93708eb4/build-end.log Extensive testing on one autobuilder has shown that building host-python with MAKE1 work arounds this strange problem. Signed-off-by: Thomas Petazzoni --- package/python/python.mk | 8 ++++++++ 1 file changed, 8 insertions(+) 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 = \ HOST_PYTHON_AUTORECONF = YES +# 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. +HOST_PYTHON_MAKE = $(MAKE1) + PYTHON_DEPENDENCIES = host-python libffi HOST_PYTHON_DEPENDENCIES = host-expat host-zlib