Bug 7373

Summary: python's ctypes/libffi module fails to configure and compile
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alejandro Hernandez <alejandro.hernandez>
Component: devtools / tool chainAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Undecided CC: meta.mr.watcher, meta.watcher
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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