From patchwork Fri Jan 16 21:32:48 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: bugzilla@busybox.net X-Patchwork-Id: 430013 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 920111401EF for ; Sat, 17 Jan 2015 08:32:54 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 11E123318B; Fri, 16 Jan 2015 21:32:53 +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 Bv8g3fdtzlvK; Fri, 16 Jan 2015 21:32:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5C5F333177; Fri, 16 Jan 2015 21:32:50 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 056DD1C2974 for ; Fri, 16 Jan 2015 21:32:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 00FC6A13F3 for ; Fri, 16 Jan 2015 21:32:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XBeWfUPPZ5ul for ; Fri, 16 Jan 2015 21:32:48 +0000 (UTC) Received: from busybox.osuosl.org (busybox.osuosl.org [140.211.167.224]) by fraxinus.osuosl.org (Postfix) with ESMTP id 8066EA1397 for ; Fri, 16 Jan 2015 21:32:48 +0000 (UTC) Received: by busybox.osuosl.org (Postfix, from userid 81) id 7BCFF800AE; Fri, 16 Jan 2015 21:32:48 +0000 (UTC) From: bugzilla@busybox.net To: buildroot@uclibc.org X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: buildroot X-Bugzilla-Component: Other X-Bugzilla-Keywords: X-Bugzilla-Severity: blocker X-Bugzilla-Who: thomas.petazzoni@free-electrons.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P5 X-Bugzilla-Assigned-To: unassigned@buildroot.uclibc.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: https://bugs.busybox.net/ Auto-Submitted: auto-generated MIME-Version: 1.0 Message-Id: <20150116213248.7BCFF800AE@busybox.osuosl.org> Date: Fri, 16 Jan 2015 21:32:48 +0000 (UTC) Subject: [Buildroot] [Bug 7802] host-python build hangs compiling getbuildinfo.o X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" https://bugs.busybox.net/show_bug.cgi?id=7802 --- Comment #1 from Thomas Petazzoni 2015-01-16 21:32:47 UTC --- Here is the quick patch I came up with: diff --git a/package/python/python.mk b/package/python/python.mk index 4a3e71c..5791d4b 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -40,7 +40,9 @@ HOST_PYTHON_CONF_OPTS += \ # This is needed because libpython may be installed at the same time that # python is called. HOST_PYTHON_CONF_ENV += \ - LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" + LDFLAGS="$(HOST_LDFLAGS) -Wl,--enable-new-dtags" \ + ac_cv_prog_HAS_HG=/bin/false \ + ac_cv_prog_SVNVERSION=/bin/false # Building host python in parallel sometimes triggers a "Bus error" # during the execution of "./python setup.py build" in the @@ -130,7 +132,9 @@ PYTHON_CONF_ENV += \ ac_cv_have_long_long_format=yes \ ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_ptc=yes \ - ac_cv_working_tzset=yes + ac_cv_working_tzset=yes \ + ac_cv_prog_HAS_HG=/bin/false \ + ac_cv_prog_SVNVERSION=/bin/false PYTHON_CONF_OPTS += \ --without-cxx-main \