[oe] [PATCH] python.inc: add `--disable-ipv6` to `EXTRA_OECONF`

Paul Menzel paulepanter at users.sourceforge.net
Fri Jan 14 09:10:38 UTC 2011


From b2e249702a0f6b5e36a4b095f5a4c495aa5ec14f Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter at users.sourceforge.net>
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 <paulepanter at users.sourceforge.net>
---
 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 \
 "
-- 
1.7.2.3
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20110114/e9d136a0/attachment-0002.sig>


More information about the Openembedded-devel mailing list