[mc1322x] Bitbake error (setting up the toolchain)

Mariano Alvira mar at devl.org
Tue Jun 29 08:06:11 EDT 2010


This patch was accepted in Jan. and the submodule is pulling from
before that. I'm going to update and test everything today. 

-Mar.


On Tue, Jun 29, 2010 at 07:32:39AM -0400, Camilo, Alex wrote:
> Its an issue with reading "/proc/sys/vm/mmap_min_addr" in kernel version 
> 2.6.33. 
> 
> I fixed it by making the changes to my sanity.bbclass file detailed in the
> patch below.
> 
> http://patchwork.openembedded.org/patch/1426/
> 
> 
> 
> On Tue, Jun 29, 2010 at 7:06 AM, Ylisaukko-oja Arto <Arto.Ylisaukko-oja at vtt.fi>
> wrote:
> 
>     Hello all,
>      
>     I have just started setting up the toolchain to start development with
>     Econotag. I have basically done the steps described by Alex Camilo in his
>     post 16th November 2009 (see the copy below).
>      
>     All OK until I try to build the tests by "bitbake mc1233x-tests". This
>     fails with an error "ERROR: IO Error: [Errno 1] Operation not permitted." I
>     tried a Google search but found no real help for the issue.
>      
>     Any ideas? My installation is on Ubuntu 10.04 LTS virtual machine.
>      
>     Best regards,
>     Arto Ylisaukko-oja
>      
>     -------------------------------
>      
>     Camilo, Alex acamilo at neuronrobotics.com
>     Mon Nov 16 21:49:47 EST 2009
>     Hi there,
>     I'm having some trouble getting the tool-chain to work on a fresh install
>     of
>     ubuntu 9.10.
>     Do you guys have any suggestions? i'm running it in a VM so i don't mind
>     switching over to whatever flavour of linux bakes the bits best.
>      
>     here is a log of my attempt.
>      
>     install git-core
>         sudo apt-get install git-core
>      
>     pull packages from git repo/
>         git clone git://git.devl.org/git/malvira/mc1322x-oe.git
>      
>      
>     install subversion
>         sudo apt-get install subversion
>      
>     run setup.sh in mc1322x-oe folder.
>     setup pulls bitbake via SVN and openembedded via git sucsesfully
>      
>     lovley warning in bitbake SVN telling me that they have switched to git.
>     installing bitbake via package manager.
>         sudo apt-get install bitbake
>      
>     run
>     . setup
>      
>     run
>         bitbake mc1233x-tests
>      
>     bitbake errors with
>      
>     ERROR:  Openembedded's config sanity checker detected a potential
>     misconfiguration.
>         Either fix the cause of this error or at your own risk disable the
>     checker (see sanity.conf).
>         Following is the list of potential problems / advisories:
>      
>         /proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu
>     so please fix the value (as root).
>      
>     To fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.
>     Please install following missing utilities: C++ Compiler
>     (${BUILD_PREFIX}g++),help2man,
>     diffstat,texi2html,makeinfo,cvs,gawk
>     Using dash as /bin/sh causes various subtle build problems, please use bash
>     instead.
>      
>     running .. and switching back to bash.
>         sudo dpkg-reconfigure dash
>      
>     installing dependancies
>         sudo apt-get install texinfo cvs gawk texi2html diffstat help2man
>     build-essential
>      
>     trying again. still get errors
>      
>     ERROR:  Openembedded's config sanity checker detected a potential
>     misconfiguration.
>         Either fix the cause of this error or at your own risk disable the
>     checker (see sanity.conf).
>         Following is the list of potential problems / advisories:
>      
>         /proc/sys/vm/mmap_min_addr is not 0. This will cause problems with qemu
>     so please fix the value (as root).
>      
>     To fix this in later reboots, set vm.mmap_min_addr = 0 in /etc/sysctl.conf.
>      
>     adding line set vm.mmap_min_addr = 0 to end of /etc/sysctl.conf
>     rebooting.
>      
>     no change.
>     running .. as root
>         echo 0 > /proc/sys/vm/mmap_min_addr
>      
>     bitbake is running.
>     bitbake fails
>      
>     arm-dev at arm-dev-desktop:~/mc1322x-oe$ bitbake mc1233x-tests
>     NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it to
>     increase performance.
>     NOTE: Handling BitBake files: \ (0147/6621) [ 2 %]ERROR: Could not inherit
>     file classes/autotools.bbclass while parsing
>     /home/arm-dev/mc1322x-oe/openembedded/recipes/vincent/vincent_svn.bb
>     NOTE: Handling BitBake files: / (0993/6621) [14 %]<string>:48:
>     DeprecationWarning: the sets module is deprecated
>     NOTE: Handling BitBake files: / (3734/6621) [56 %]NOTE: <type
>     'exceptions.RuntimeError'>:maximum recursion depth exceeded while calling a
>     Python object while evaluating:
>     ${OVERLAY}:${OEBRANCH}
>     ERROR: maximum recursion depth exceeded while calling a Python object while
>     parsing /home/arm-dev/mc1322x-oe/openembedded/recipes/sato-icon-theme/
>     sato-icon-theme_0.1.bb
>     NOTE: Handling BitBake files: / (6621/6621) [100 %]
>     NOTE: Parsing finished. 0 cached, 6327 parsed, 292 skipped, 0 masked.
>     ERROR: Parsing errors found, exiting...
>      
>     trying to remove circular dependancy in sato-icon-theme. i really hope this
>     won't break anything.
>      
>     fails again
>      
>     arm-dev at arm-dev-desktop:~/mc1322x-oe$ bitbake mc1233x-testsNOTE: Psyco
>     JIT
>     Compiler (http://psyco.sf.net) not available. Install it to increase
>     performance.
>     NOTE: Handling BitBake files: \ (0147/6621) [ 2 %]ERROR: Could not inherit
>     file classes/autotools.bbclass while parsing
>     /home/arm-dev/mc1322x-oe/openembedded/recipes/vincent/vincent_svn.bb
>     NOTE: Handling BitBake files: - (6621/6621) [100 %]
>     NOTE: Parsing finished. 6327 cached, 1 parsed, 292 skipped, 0 masked.
>     ERROR: Parsing errors found, exiting...
>     -------------- next part --------------
>     An HTML attachment was scrubbed...
>     URL: <http://devl.org/pipermail/mc1322x/attachments/20091116/36ecacb6/
>     attachment.htm>
>      
>      
> 
>     _______________________________________________
>     mc1322x mailing list
>     mc1322x at devl.org
>     http://devl.org/cgi-bin/mailman/listinfo/mc1322x
> 
> 
> 

> _______________________________________________
> mc1322x mailing list
> mc1322x at devl.org
> http://devl.org/cgi-bin/mailman/listinfo/mc1322x




More information about the mc1322x mailing list