Bug 4557

Summary: Python fails to compile due to runtime check.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dimas Abreu Dutra <dimasadutra>
Component: devtools / tool chainAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, ross.burton, sgw
Version: 1.3   
Target Milestone: 1.3.2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
Patch obtained from cherry-picking commit 66db85262bef08802af30964b415bff349cfba69 none

Description Dimas Abreu Dutra 2013-05-26 03:59:08 UTC
Python fails to compile in Danny 1.3 due to a bogus runtime check in its configure script. This issue solved in Dylan 1.4 with commit 66db85262bef08802af30964b415bff349cfba69, however the issue persists in Danny. The commit message explains the issue in more detail:

    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.
Comment 1 Saul Wold 2013-05-30 07:37:33 UTC
Can you please backport this patch to 1.3 and verify and if it works, push it to the list
Comment 2 Dimas Abreu Dutra 2013-05-30 21:01:06 UTC
Created attachment 1231 [details]
Patch obtained from cherry-picking commit 66db85262bef08802af30964b415bff349cfba69
Comment 3 Dimas Abreu Dutra 2013-05-30 21:03:53 UTC
I simply cherry-picked the commit into the danny branch and it solved the issue.
Comment 4 Ross Burton 2013-06-17 10:51:04 UTC
Merged to danny-next.
Comment 5 Ross Burton 2013-09-26 14:14:25 UTC
In the danny branch, oe-core 0421102cbd78c2e8fe9a027d747be39882ebf20d.