From b2e249702a0f6b5e36a4b095f5a4c495aa5ec14f Mon Sep 17 00:00:00 2001
From: Paul Menzel <[email protected]>
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 <[email protected]>
---
 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

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to