Bug 4557 - Python fails to compile due to runtime check.
Summary: Python fails to compile due to runtime check.
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: All Multiple
: Medium normal
Target Milestone: 1.3.2
Assignee: Ross Burton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-05-26 03:59 UTC by Dimas Abreu Dutra
Modified: 2013-09-26 14:14 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments
Patch obtained from cherry-picking commit 66db85262bef08802af30964b415bff349cfba69 (1.54 KB, patch)
2013-05-30 21:01 UTC, Dimas Abreu Dutra
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.