[OE-core] Issue with python-imaging

Michael Dangler marmaduke55 at gmail.com
Sun Jun 5 23:04:56 UTC 2016


Hello again,

Seems the python-imaging is no longer in use -

python-imaging: remove unused recipe
Signed-off-by: Alexander Kanavin <alexander.kanavin at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

So removing all reference was easy but causes issues with ros-comm file
rosbag_1.11.16.bb which needs to have python-imaging removed from depends.
Not sure what issues that will have down the road. Guess I should have
checked the index first, apologies.

Cheers, Michael

On Sun, Jun 5, 2016 at 5:31 PM, Michael Dangler <marmaduke55 at gmail.com>
wrote:

> Hello
>
> Hopefully I am in the right place. Not having any luck with building yocto
> with ros or even just trying to bitbake python-imaging. Seems the issue
> always fails with the following -
>
> 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.21754
> ERROR: Task 4911 (/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 5307 tasks of which 5298 didn't need to be
> rerun and 1 failed.
> Waiting for 0 running tasks to finish:
>
> And when looking at do_compile -
>
> DEBUG: Executing shell function do_compile
> running build
> running build_py
> running build_ext
> Looking in z for ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libz.so
> Looking in jpeg for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libjpeg.so
> Looking in tiff for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libtiff.so
> Looking in freetype for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libfreetype.so
> Looking in tcl86 for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Looking in tcl8.6 for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libtcl8.6.so
> Looking in tk86 for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Looking in tk8.6 for
> ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib',
> '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']
> Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libtk8.6.so
> building '_imagingtk' extension
> creating build/temp.linux-x86_64-2.7/Tk
> arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon
> -mtune=cortex-a8 --sysroot=/home/michael/yocto/build/tmp/sysroots/pepper
> -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g
> -feliminate-unused-debug-types -fPIC
> -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/include/freetype2
> -IlibImaging -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib
> -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/include
> -I/usr/include/tcl8.6
> -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/include/python2.7 -c
> _imagingtk.c -o build/temp.linux-x86_64-2.7/_imagingtk.o
> cc1: warning: include location "/usr/include/tcl8.6" is unsafe for
> cross-compilation [-Wpoison-system-directories]
> arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon
> -mtune=cortex-a8 --sysroot=/home/michael/yocto/build/tmp/sysroots/pepper
> -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -O2 -pipe -g
> -feliminate-unused-debug-types -fPIC
> -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/include/freetype2
> -IlibImaging -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib
> -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/include
> -I/usr/include/tcl8.6
> -I/home/michael/yocto/build/tmp/sysroots/pepper/usr/include/python2.7 -c
> Tk/tkImaging.c -o build/temp.linux-x86_64-2.7/Tk/tkImaging.o
> cc1: warning: include location "/usr/include/tcl8.6" is unsafe for
> cross-compilation [-Wpoison-system-directories]
> In file included from
> /home/michael/yocto/build/tmp/sysroots/pepper/usr/include/python2.7/Python.h:8:0,
>                  from libImaging/ImPlatform.h:10,
>                  from libImaging/Imaging.h:14,
>                  from Tk/tkImaging.c:53:
> /home/michael/yocto/build/tmp/sysroots/pepper/usr/include/python2.7/pyconfig.h:1182:0:
> warning: "_POSIX_C_SOURCE" redefined
>  #define _POSIX_C_SOURCE 200112L
>  ^
> In file included from
> /home/michael/yocto/build/tmp/sysroots/pepper/usr/include/stdio.h:27:0,
>                  from /usr/include/tcl8.6/tcl.h:138,
>                  from /usr/include/tcl8.6/tk.h:19,
>                  from Tk/tkImaging.c:51:
> /home/michael/yocto/build/tmp/sysroots/pepper/usr/include/features.h:225:0:
> note: this is the location of the previous definition
>  # define _POSIX_C_SOURCE 200809L
>  ^
> arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon
> -mtune=cortex-a8 --sysroot=/home/michael/yocto/build/tmp/sysroots/pepper
> -shared -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -O2 -pipe -g
> -feliminate-unused-debug-types build/temp.linux-x86_64-2.7/_imagingtk.o
> build/temp.linux-x86_64-2.7/Tk/tkImaging.o
> -L/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib
> -L/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib -ltcl8.6 -ltk8.6
> -lpython2.7 -o build/lib.linux-x86_64-2.7/_imagingtk.so
>
> So am curious if there is a linking problem with tcl8.6. Or if anyone has
> seen this issue, the instructions for what I am trying to do was published
> over a year ago so am wondering if something has changed. Thank you for any
> help or pointing me in the right direction. Am trying to help my grandson
> with his robot. Take care.
>
> Cheers, Michael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160605/57bb2b5c/attachment-0002.html>


More information about the Openembedded-core mailing list