<div dir="ltr">Hello<div><br></div><div>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 - </div><div><br></div><div><div>Build Configuration:</div><div>BB_VERSION        = &quot;1.26.0&quot;</div><div>BUILD_SYS         = &quot;x86_64-linux&quot;</div><div>NATIVELSBSTRING   = &quot;Ubuntu-14.04&quot;</div><div>TARGET_SYS        = &quot;arm-poky-linux-gnueabi&quot;</div><div>MACHINE           = &quot;pepper&quot;</div><div>DISTRO            = &quot;poky&quot;</div><div>DISTRO_VERSION    = &quot;1.8&quot;</div><div>TUNE_FEATURES     = &quot;arm armv7a vfp neon callconvention-hard cortexa8&quot;</div><div>TARGET_FPU        = &quot;vfp-neon&quot;</div><div>meta              </div><div>meta-yocto        = &quot;(nobranch):83aa565d93aacae484976562ef1ae8dbbb6b2bc0&quot;</div><div>meta-gnome        </div><div>meta-oe           </div><div>meta-xfce         </div><div>meta-systemd      </div><div>meta-networking   </div><div>meta-multimedia   </div><div>meta-python       = &quot;(nobranch):10d3c8f85280a0bf867a8e4f84bcda81c290d28e&quot;</div><div>meta-gumstix      = &quot;(nobranch):8ea631d8ef26cb13102dac0910be52674cb7b395&quot;</div><div>meta-gumstix-extras = &quot;(nobranch):15cfa9fcff75d3d95f66cfa190e1b604ff5ea4f6&quot;</div><div>meta-ros          = &quot;(nobranch):d465a23c0a96e651419d46b29ab7c0c3663da314&quot;</div><div>meta-ti           = &quot;(nobranch):03cb3ff15f3b8535ca409ce682f44ec1b81da0c3&quot;</div><div>meta-java         = &quot;(nobranch):66c97ae7461f4c1a13917131787bb76dc34e6b6f&quot;</div><div><br></div><div>NOTE: Preparing RunQueue</div><div>NOTE: Executing SetScene Tasks</div><div>NOTE: Executing RunQueue Tasks</div><div>ERROR: QA Issue: python-imaging: The compile log indicates that host include and/or library paths were used.</div><div>         Please check the log &#39;/home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/temp/log.do_compile&#39; for more information. [compile-host-path]</div><div>ERROR: QA run found fatal errors. Please consider fixing them.</div><div>ERROR: Function failed: do_package_qa</div><div>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</div><div>ERROR: Task 4911 (/home/michael/yocto/poky/meta/recipes-devtools/python/<a href="http://python-imaging_1.1.7.bb">python-imaging_1.1.7.bb</a>, do_package_qa) failed with exit code &#39;1&#39;</div><div>NOTE: Tasks Summary: Attempted 5307 tasks of which 5298 didn&#39;t need to be rerun and 1 failed.</div><div>Waiting for 0 running tasks to finish:</div></div><div><br></div><div>And when looking at do_compile - </div><div><br></div><div><div>DEBUG: Executing shell function do_compile </div><div>running build </div><div>running build_py </div><div>running build_ext </div><div>Looking in z for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libz.so </div><div>Looking in jpeg for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libjpeg.so </div><div>Looking in tiff for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libtiff.so </div><div>Looking in freetype for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/libfreetype.so </div><div>Looking in tcl86 for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Looking in tcl8.6 for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/<a href="http://libtcl8.6.so">libtcl8.6.so</a> </div><div>Looking in tk86 for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Looking in tk8.6 for [&#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;, &#39;/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib&#39;] </div><div>Found /home/michael/yocto/build/tmp/sysroots/pepper/usr/lib/<a href="http://libtk8.6.so">libtk8.6.so</a> </div><div>building &#39;_imagingtk&#39; extension </div><div>creating build/temp.linux-x86_64-2.7/Tk </div><div>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 </div><div>cc1: warning: include location &quot;/usr/include/tcl8.6&quot; is unsafe for cross-compilation [-Wpoison-system-directories] </div><div>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 </div><div>cc1: warning: include location &quot;/usr/include/tcl8.6&quot; is unsafe for cross-compilation [-Wpoison-system-directories] </div><div>In file included from /home/michael/yocto/build/tmp/sysroots/pepper/usr/include/python2.7/Python.h:8:0, </div><div>                 from libImaging/ImPlatform.h:10, </div><div>                 from libImaging/Imaging.h:14, </div><div>                 from Tk/tkImaging.c:53: </div><div>/home/michael/yocto/build/tmp/sysroots/pepper/usr/include/python2.7/pyconfig.h:1182:0: warning: &quot;_POSIX_C_SOURCE&quot; redefined </div><div> #define _POSIX_C_SOURCE 200112L </div><div> ^ </div><div>In file included from /home/michael/yocto/build/tmp/sysroots/pepper/usr/include/stdio.h:27:0, </div><div>                 from /usr/include/tcl8.6/tcl.h:138, </div><div>                 from /usr/include/tcl8.6/tk.h:19, </div><div>                 from Tk/tkImaging.c:51: </div><div>/home/michael/yocto/build/tmp/sysroots/pepper/usr/include/features.h:225:0: note: this is the location of the previous definition </div><div> # define _POSIX_C_SOURCE 200809L </div><div> ^ </div><div>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 </div></div><div><br></div><div>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.</div><div><br></div><div>Cheers, Michael</div></div>