[yocto] Python3 failure using ctypes

Peter Bergin peter.bergin at tritech.se
Tue Jun 9 03:14:39 PDT 2015


Hi,

On 06/09/2015 11:28 AM, Burton, Ross wrote:

On 9 June 2015 at 09:27, Peter Bergin <peter.bergin at tritech.se<mailto:peter.bergin at tritech.se>> wrote:
The root cause of this is an error during the build of Python3. From tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/python3/3.3.3-r1.0/temp/log.do_configure:

DEBUG: Executing shell function do_configure
autoreconf: 'configure.ac<http://configure.ac>' or 'configure.in<http://configure.in>' is required
NOTE: _ctypes failed to autoreconf

The targeted machine for us is i.Mx6 built with the Freescale community BSP but I have also been able to reproduce the same thing with just building core-image-base for qemux86 only appending python3-ctypes.

That's odd.  My local builds of python3 appear to be working fine, there's a python3-ctypes package with a _ctype.so inside, and configure works:


It seems that you are building Python 3.4.3. Recipes included in fido is version 3.3.3.

autoreconf: Entering directory `../Python-3.4.3/Modules/_ctypes/libffi'
autoreconf: configure.ac<http://configure.ac>: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac<http://configure.ac>: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/autoconf --force
autoreconf: running: /data/poky-master/tmp/sysroots/x86_64-linux/usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:34<http://configure.ac:34>: installing './compile'
configure.ac:22<http://configure.ac:22>: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: running: gnu-configize
autoreconf: Leaving directory `../Python-3.4.3/Modules/_ctypes/libffi'

Can you share the full do_configure log?

Ross

I attach the log.do_configure files from a build. See if you can find something odd in it.

Thanks,
/Peter

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150609/d0093707/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log.do_configure
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150609/d0093707/attachment.ksh>


More information about the yocto mailing list