Gumstix on the iRobot Create 2

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
17 messages Options
Reply | Threaded
Open this post in threaded view
|

Gumstix on the iRobot Create 2

marmaduke
Hello

Totally new and am sure more information may be needed but wanted to check forth before posting more information. Am following William Phan’s tutorials and am stuck on part 3. Here is the link - 

www.gumstix.com/robotics/tutorial-part-3-gumstix-on-the-irobot-create-2/

I basically get the following after the bitbake gumstix-console-image - 

NOTE: Started PRServer with DBfile: /home/michael/yocto/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41166, PID: 21311
Loading cache: 100% |####################################################################################################################################################################| ETA:  00:00:00
Loaded 2837 entries from dependency cache.
Parsing recipes: 100% |##################################################################################################################################################################| Time: 00:00:00
Parsing of 2301 .bb files complete (2297 cached, 4 parsed). 2839 targets, 153 skipped, 9 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

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:

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.

I have gone back and forth updating the dependencies I believe are needed but always get back to the same error. Hopefully I am in the correct place for help, tried posting on tutorial page but does not seem to show comments. Thank you for any advice you can offer.

Cheers, Michael

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

Andrew C. Smith
Hi Michael,

Can you try

"bitbake -c cleansstate python-imaging"
"bitbake python-imaging"

and see what happens?  I've seen things stall because the package needs to be cleaned and rebuilt.


Andrew
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

First thank you for your help. Reinstalled everything and found one issue but still have the problem still exist, here is what I get after trying your commands -

bitbake -c cleansstate python-imaging
NOTE: Started PRServer with DBfile: /home/michael/yocto/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41279, PID: 28121
Loading cache: 100% |##############################################################################################################################################################| ETA:  00:00:00
Loaded 2837 entries from dependency cache.
Parsing recipes: 100% |############################################################################################################################################################| Time: 00:00:00
Parsing of 2301 .bb files complete (2298 cached, 3 parsed). 2839 targets, 153 skipped, 9 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

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 RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.


bitbake python-imaging
NOTE: Started PRServer with DBfile: /home/michael/yocto/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34817, PID: 28246
Loading cache: 100% |##############################################################################################################################################################| ETA:  00:00:00
Loaded 2837 entries from dependency cache.
Parsing recipes: 100% |############################################################################################################################################################| Time: 00:00:00
Parsing of 2301 .bb files complete (2298 cached, 3 parsed). 2839 targets, 153 skipped, 9 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

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.29250
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 702 tasks of which 690 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.

Will go through the error logs here shortly but again any pointers would be gratefully accepted.

Cheers, Michael  
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

Andrew C. Smith
Hi Michael,

Well you're not alone, I also got that same message when I tried to compile it.  I haven't had time to go through and find the root cause, I'll try to get that done and update you when there is a solution.

Thanks,

Andrew
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

Thank you very much for confirming. Been back and forth but error continues. Beginning to wonder if issue is not with the following -

Looking in tk8.6 for ['/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib', '/home/michael/yocto/build/tmp/sysroots/pepper/usr/lib']

Cannot find any files relating to tk8.6 in that directory.  Quite possible I am still looking in wrong direction but maybe I need to pull source from another location? Thanks again.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

Have not yet gotten the replacement for the Pepper but was trying another build with Overo. Instead of any modification from the Tutorial I tried just adding the following to the gumstix-console-image.bb -

packagegroup-ros-comm \
python-wstool \
python-email \
python-distutils \
git \
git-perltools \
python-rosinstall \
rospy-tutorials \
roscpp-tutorials \
screen \

Now if I remove any ROS related lines the error we have with python-imaging seems to stop. I have also tried to build the directories as below but no luck. So would it be best to just build an image and then smart install the packages? Or is there another way to insure that tk8.6 is installed properly like including it in the utilities to be loaded? Having a hard time blaming ROS for the issue.  Still searching. Thanks.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

Ok, with a suggestion from another person on the meta-ros group added tk to the depends in the bb file. Got a little further but am now stuck at -

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]
WARNING: QA Issue: python-imaging requires libtk8.6.so, but no providers in its RDEPENDS [file-rdeps]
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.16247
ERROR: Task 4924 (/home/michael/yocto/poky/meta/recipes-devtools/python/python-imaging_1.1.7.bb, do_package_qa) failed with exit code '1'


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

But at least for now it is finding tk8.6 but still has an issue, still poking around but any suggestions? Another command they suggested was also useful -

bitbake python-imaging -g -u depexp

Think I am reading it correct but you may be able to tell me since tk shows up. Also any possible way to check on my RMA since troubleshooting is fine but if I get a fix will not know for sure it works.  Thanks again for your help.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

OK, got rid of the error above by adding

RDEPENDS_${PN} += "tk"

to the python-imaging_1.1.7.bb file. But none the better still have no luck with bitbake.  So several last questions and then may have to try another way to make things work.  These are the present errors -

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.17198
ERROR: Task 4950 (/home/michael/yocto/poky/meta/recipes-devtools/python/python-imaging_1.1.7.bb, do_package_qa) failed with exit code '1'


Get the following throughout the log.do_compile file -

cc1: warning: include location "/usr/include/tcl8.6" is unsafe for cross-compilation [-Wpoison-system-directories]

Question is can this be the cause for the errors, this is all I have in the file log.do_package_qa.17198 -

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/_imagingtk.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/_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/_imagingtk.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/_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

At this point am still not sure if there is an issue with the python-imaging_1.1.7.bb or some other package I am unaware of, I know you say this tutorial worked so am wondering if you have the original image, not sure if will do me any good on the pepper but may give some clue. Thanks again, but think this old brain has run the gambit.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

Went back to square one since I think there were to many modifications to keep track. Used the following -

https://github.com/gumstix/yocto-manifest

And other then changing the config to build for the Pepper went ahead and did -

bitbake python-imaging

And yes it failed as expected but with the same messages in the error file -

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

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

So it seems none of the changes makes a difference. So the question is what is different from the manifest when the tutorial was created? Was it ever confirmed that it worked, and if it did then do I need to request a particular repo to pull from with the option -b? Or was there some little change that was made without posting it to the tutorial? I may give one more thing a try but not entirely sure it will even work. So hope you have some new ideas. As always thank you very much for the support.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

Ok, and to any programmers on the forum I am stuck to be sure the actual problem lays with tcl8.6. Everything points in that direction. I am really confused as to why instead of pulling in tcl8.6 it is linked to another version -

 lrwxrwxrwx  1 michael michael       14 Jun  5 15:01 libtcl8.6.so -> libtcl8.6.so.0
-rwxrwxr-x  3 michael michael  7652600 Jun  5 14:37 libtcl8.6.so.0
-rwxr-xr-x  3 michael michael   295550 Jun  5 14:37 libtclstub8.6.a

And all of the compile issues have warnings on tcl8.6 -

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 my questions are have I found the issue, and if so where to I find the source of the problem. Am not to familiar with yocto so not sure where it pulls the files. And if this is not the issue then I am realllllly lost. Thanks.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Andrew

Last post before heading off to hospital. May have fixed the issue but unsure till I make a uSD for the new pepper. Took a look at the OpenEmbedded Index and found the following posted 3 days ago -

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

So removed all reference to python-imaging which then causes an error with rosbag_1.11.16.bb. So removed the depend for python-imaging and was able to complete the bitbake. May or may not have time to test and image. But this still begs the question if this was found on the original tutorial and how to get the manifest updated to pull in the latest OE.  Thanks again, and hopefully you can find time to test.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

jlamp
Hi marmaduke

I am compiling meta-ros with roscomm packagegroup and I am having ta similar error with python-imaging:

ERROR: python-imaging-1.1.7-r5 do_package_qa: QA Issue: python-imaging:The compile log indicates that host include and/or library paths were used.

Have you solved this at the end?

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Hello

Actually it is hit and miss but if you have the latest copy of meta-ros you need to edit python-imaging_1.1.7.bb and change -

DEPENDS = "freetype jpeg tiff"
DEPENDS = "freetype jpeg tiff tcl"

And then it should build fine. I did at times need to do the following -

bitbake -c cleansstate python-imaging
bitbake python-imaging

And then bitbake my image again. Hope this helps, I never really did give up on the project just shelved it for awhile since was having no luck using it with the pepper but was hoping to revisit with an overo. Let me know and if I can dig out my notes and linux box will try to rebuild.

Cheers, Michael
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

jlamp
Hi Michael!

I have reproduced the yocto image proyect I was building yesterday in my office at home with a different computer and it builds succesfully without the python-image error.

I have not done any modification to the layers or create a new recipe or change the DEPENDS.

On Monday I will compare the two yocto proyect to see what is different between them, maybe the git commit?

I will post you the advances.

Thankx for your help,
Jorge.

Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

jlamp
Hi Michael,

I figure out why using my personal computer the yocto image does not fail and in my work computer fails. Here the explanation:

My work computer has ROS installed but my personal computer not.  I installed ROS using sudo apt-get install ros-indigo-desktop-full and this command installs both ros communication system and graphical tools.

This graphical tools depend on the tcl8.6-dev package that is installed when you install desktop ROS and this gives me problems when  I want to build the Image working because in my personal computer I do not have this package installed. The yocto QA is trying to use this host package library instead of the yocto libraries.

So what I have done has been
1.- Desinstall the ROS packages and dependencies.
- sudo apt-get purge tcl8.6-dev
2.-Clean python image task
- bitbake -c cleanstate python-imaging
3.- Bitbake the image

I hope this helps you when returning back to your project.

Jorge.
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

kris duff
In reply to this post by marmaduke
Hi Michael, 

Can you send (or using pastebin) us the content of the log located in : /home/michael/yocto/build/tmp/work/cortexa8hf-vfp-neon-poky-linux-gnueabi/python-imaging/1.1.7-r5/temp/log.do_compile ?

Kris


On Wednesday, May 4, 2016 4:26 PM, Michael Dangler <[hidden email]> wrote:


Hello

Totally new and am sure more information may be needed but wanted to check forth before posting more information. Am following William Phan’s tutorials and am stuck on part 3. Here is the link - 

www.gumstix.com/robotics/tutorial-part-3-gumstix-on-the-irobot-create-2/

I basically get the following after the bitbake gumstix-console-image - 

NOTE: Started PRServer with DBfile: /home/michael/yocto/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 41166, PID: 21311
Loading cache: 100% |####################################################################################################################################################################| ETA:  00:00:00
Loaded 2837 entries from dependency cache.
Parsing recipes: 100% |##################################################################################################################################################################| Time: 00:00:00
Parsing of 2301 .bb files complete (2297 cached, 4 parsed). 2839 targets, 153 skipped, 9 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

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:

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.

I have gone back and forth updating the dependencies I believe are needed but always get back to the same error. Hopefully I am in the correct place for help, tried posting on tutorial page but does not seem to show comments. Thank you for any advice you can offer.

Cheers, Michael

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users



------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users
Reply | Threaded
Open this post in threaded view
|

Re: Gumstix on the iRobot Create 2

marmaduke
Kris/Jorge

First many apologies for late reply. Kris, I no longer have the file you are requesting since I had gotten past the point of failure. I am still unpacking from a move but hopes are to revisit the project next week. Was planning on using the method described by Jorge. Jorge, am curious if you used the IRobot file in your build? Will let you know how it goes only issues I had last time was communicating and getting video back from the 43R. Thanks for the help.

Cheers, Michael