site/common: deactivate a python cross-compilation runtime check
PATCH 1/1 site/common: deactivate a python cross-compilation runtime check
From: Lukas Bulwahn <[email protected]>
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 cherry-picked from commit 66db85262bef08802af30964b415bff349cfba69 into the danny branch. The original commit was in turn derived from the commit 700b75e7661062aa93cf81205b78c8bf7609922d in the Classic OpenEmbedded Development Tree.
--- meta/site/common | 2 ++ 1 file changed, 2 insertions(+)
meta/site/common +2 -0
@@ -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 +ac_cv_buggy_getaddrinfo=no
Signature · 1 line
1.7.10.4
Burton, Ross
AppliedQuoted 9 lines · Dimas Abreu Dutra
From: Lukas Bulwahn <[email protected]>
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 workinggetaddrinfo()function.Setting ac_cv_buggy_getaddrinfo=no deactivates the runtime check and allows to compile python with ipv6 enabled.
Merged into danny-next.
Ross