From patchwork Fri Jan 14 09:10:38 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: python.inc: add `--disable-ipv6` to `EXTRA_OECONF` Date: Fri, 14 Jan 2011 09:10:38 -0000 From: Paul Menzel X-Patchwork-Id: 281 Message-Id: <1294996238.3578.1.camel@mattotaupa> To: openembedded-devel@lists.openembedded.org >From b2e249702a0f6b5e36a4b095f5a4c495aa5ec14f Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 14 Jan 2011 09:48:08 +0100 Subject: [PATCH] python.inc: add `--disable-ipv6` to `EXTRA_OECONF` Since commit d729d14d [1] task `configure` for `python_2.6.5` and `python_2.7.1` fails with the following error message when compiling with `angstrom_2008.1` for `MACHINE = "beagleboard"`. checking for major... yes checking for getaddrinfo... yes checking getaddrinfo bug... buggy Fatal: You must get working getaddrinfo() function. or you can specify "--disable-ipv6". ERROR: Function do_configure failed Disable IPv6 for now in Python unconditionally until a better solution is found. This patch is build tested with `angstrom_2008.1` for `MACHINE = "beagleboard"`. (OpenWRT seems to have had the same issue [2].) [1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=d729d14d9bff474f41c0853086d89cf6b50f41ff [2] https://dev.openwrt.org/changeset/17077 Signed-off-by: Paul Menzel --- recipes/python/python.inc | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/recipes/python/python.inc b/recipes/python/python.inc index c325b91..09d2392 100644 --- a/recipes/python/python.inc +++ b/recipes/python/python.inc @@ -20,4 +20,5 @@ EXTRA_OECONF = "\ --with-signal-module \ --with-wctype-functions \ --enable-shared \ + --disable-ipv6 \ "