Patchwork site/common: deactivate a runtime check for ipv6-support in, python >=2.7.1 that fails when cross-compiling

login
register
mail settings
Submitter Lukas Bulwahn
Date Jan. 9, 2013, 8:01 a.m.
Message ID <50ED23F7.6040903@oss.bmw-carit.de>
Download mbox | patch
Permalink /patch/42359/
State New
Headers show

Comments

Lukas Bulwahn - Jan. 9, 2013, 8:01 a.m.
In configure there is a runtime check to determine buggy getaddrinfo and 
as we
are cross-compiling this check goes wrong. If ipv6 is enabled in python, the
failed test is reported as fatal error with the message
Fatal: You must get working getaddrinfo() function.

Setting ac_cv_buggy_getaddrinfo=no deactivates the runtime check and 
allows to
compile python with ipv6 enabled.

This commit was derived from the commit 
700b75e7661062aa93cf81205b78c8bf7609922d
in the Classic OpenEmbedded Development Tree.

Signed-off-by: Lukas Bulwahn <lukas.bulwahn@oss.bmw-carit.de>
---
  meta/site/common |    2 ++
  1 file changed, 2 insertions(+)

+ac_cv_buggy_getaddrinfo=no

Patch

diff --git a/meta/site/common b/meta/site/common
index 5da3ff4..1214a13 100644
--- a/meta/site/common
+++ b/meta/site/common
@@ -15,3 +15,5 @@  shadow_cv_utmpdir=${localstatedir}/run
  shadow_cv_logdir=${localstatedir}/log
  shadow_cv_passwd_dir=${bindir}

+# python: deactivate a runtime check for ipv6-support in python >=2.7.1 
that fails when cross-compiling