Bug 7373 - python's ctypes/libffi module fails to configure and compile
Summary: python's ctypes/libffi module fails to configure and compile
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided minor
Target Milestone: ---
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-02-26 19:08 UTC by Alejandro Hernandez
Modified: 2015-03-02 18:45 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alejandro Hernandez 2015-02-26 19:08:09 UTC
on Python's do_configure (), a prepend to configure ctypes/libffi is called, at some point it fails to do so, but python's do_configure() doesn't fail so the process continues, on do_compile the following message is displayed:


env: poky/build/qemux86/tmp/work/i586-poky-linux/python/2.7.9-r1/Python-2.7.9/Modules/_ctypes/libffi/configure: No such file or directory
Failed to configure _ctypes module

This affects python2-core, python3-core and python3-native, but it has been fixed on python2-native with the upgrade to 2.7.9.
Comment 1 Alejandro Hernandez 2015-02-26 19:25:02 UTC
To clarify, it is not fixed on python-native, the command works fine but since it is prepended to do_configure(), the created "configure" script is deleted on do_configure(), it can be fixed by appending it instead.
Comment 2 Alejandro Hernandez 2015-02-26 21:28:52 UTC
Patch sent for python2-core and python2-native, For python3 I will include this fix on the upgrade to 3.4.2