[yocto] Python3 failure using ctypes

Burton, Ross ross.burton at intel.com
Tue Jun 9 02:28:03 PDT 2015


On 9 June 2015 at 09:27, Peter Bergin <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' or '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:

autoreconf: Entering directory `../Python-3.4.3/Modules/_ctypes/libffi'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: 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: installing './compile'
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150609/74e3f3ad/attachment.html>


More information about the yocto mailing list