[yocto] Error building python-imaging_1.1.7.bb

Andrei Gherzan andrei at gherzan.ro
Fri Jul 8 06:01:45 PDT 2016


On Thu, Jun 02, 2016 at 12:55:17PM -0400, Michael Dangler wrote:
> Hello
>
> Am new to yocto and am trying to build an image for a Gumstix Pepper board
> and use ROS. However always get to the point with python-imaging_1.1.7.bb
> failing do_package_qa. HAve tried just doing the following -
>
> bitbake python-imaging
>
> But still have the same failure -
>
> Build Configuration:
> BB_VERSION        = "1.26.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "Ubuntu-14.04"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "pepper"
> DISTRO            = "poky"
> DISTRO_VERSION    = "1.8"
> TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa8"
> TARGET_FPU        = "vfp-neon"
> meta
> meta-yocto        = "(nobranch):83aa565d93aacae484976562ef1ae8dbbb6b2bc0"
> meta-gnome
> meta-oe
> meta-xfce
> meta-systemd
> meta-networking
> meta-multimedia
> meta-python       = "(nobranch):10d3c8f85280a0bf867a8e4f84bcda81c290d28e"
> meta-gumstix      = "(nobranch):8ea631d8ef26cb13102dac0910be52674cb7b395"
> meta-gumstix-extras = "(nobranch):15cfa9fcff75d3d95f66cfa190e1b604ff5ea4f6"
> meta-ros          = "(nobranch):d465a23c0a96e651419d46b29ab7c0c3663da314"
> meta-ti           = "(nobranch):03cb3ff15f3b8535ca409ce682f44ec1b81da0c3"
> meta-java         = "(nobranch):66c97ae7461f4c1a13917131787bb76dc34e6b6f"
>
> NOTE: Preparing RunQueue
> NOTE: Executing SetScene Tasks
> NOTE: Executing RunQueue Tasks
> ERROR: QA Issue: python-imaging: The compile log indicates that host
> include and/or library paths were used.
>          Please check the log
> '/home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/temp/log.do_compile'
> for more information. [compile-host-path]
> ERROR: QA run found fatal errors. Please consider fixing them.
> ERROR: Function failed: do_package_qa
> ERROR: Logfile of failure stored in:
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/temp/log.do_package_qa.11102
> ERROR: Task 9 (/home/michael/yocto/poky/meta/recipes-devtools/python/
> python-imaging_1.1.7.bb, do_package_qa) failed with exit code '1'
> NOTE: Tasks Summary: Attempted 695 tasks of which 0 didn't need to be rerun
> and 1 failed.
> Waiting for 0 running tasks to finish:
>
> Summary: 1 task failed:
>   /home/michael/yocto/poky/meta/recipes-devtools/python/
> python-imaging_1.1.7.bb, do_package_qa
> Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
>
>
> DEBUG: Executing python function sstate_task_prefunc
> DEBUG: Python function sstate_task_prefunc finished
> DEBUG: Executing python function do_package_qa
> NOTE: DO PACKAGE QA
> DEBUG: Executing python function read_subpackage_metadata
> DEBUG: Python function read_subpackage_metadata finished
> ERROR: QA Issue: python-imaging: The compile log indicates that host
> include and/or library paths were used.
>          Please check the log
> '/home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/temp/log.do_compile'
> for more information. [compile-host-path]
> NOTE: Checking Package: python-imaging-staticdev
> NOTE: Checking Package: python-imaging-dev
> NOTE: Checking Package: python-imaging-dbg
> NOTE: arm-poky-linux-gnueabi-objdump -p
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/packages-split/python-imaging-dbg/usr/lib/python2.7/site-packages/PIL/.debug/_imaging.so
> NOTE: arm-poky-linux-gnueabi-objdump -p
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/packages-split/python-imaging-dbg/usr/lib/python2.7/site-packages/PIL/.debug/_imagingmath.so
> NOTE: arm-poky-linux-gnueabi-objdump -p
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/packages-split/python-imaging-dbg/usr/lib/python2.7/site-packages/PIL/.debug/_imagingft.so
> NOTE: Checking Package: python-imaging-doc
> NOTE: Checking Package: python-imaging
> NOTE: arm-poky-linux-gnueabi-objdump -p
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/packages-split/python-imaging/usr/lib/python2.7/site-packages/PIL/_imaging.so
> NOTE: arm-poky-linux-gnueabi-objdump -p
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/packages-split/python-imaging/usr/lib/python2.7/site-packages/PIL/_imagingmath.so
> NOTE: arm-poky-linux-gnueabi-objdump -p
> /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/packages-split/python-imaging/usr/lib/python2.7/site-packages/PIL/_imagingft.so
> ERROR: QA run found fatal errors. Please consider fixing them.
> DEBUG: Python function do_package_qa finished
> ERROR: Function failed: do_package_qa
>
> Any help would be much grateful and please let me know if I should post
> somewhere else. Thank you all.
>
> Cheers, Michael

> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

I've sent a patch lately that might fix your issue:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-July/108073.html

--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160708/431d879d/attachment.pgp>


More information about the yocto mailing list