[mc1322x] Bitbake error (setting up the toolchain)

Ylisaukko-oja Arto Arto.Ylisaukko-oja at vtt.fi
Tue Jun 29 07:06:04 EDT 2010


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 <mailto:mc1322x%40devl.org?Subject=Re%3A%20%5Bmc1322x%5D%20tool-chain%20woes&In-Reply-To=%3C4b4bd0570911161849m66554606l42433407b0e5d979%40mail.gmail.com%3E>
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<http://devl.org/cgi-bin/mailman/listinfo/mc1322x>:~/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<http://devl.org/cgi-bin/mailman/listinfo/mc1322x>:~/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>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devl.org/pipermail/mc1322x/attachments/20100629/b60f6089/attachment.htm>


More information about the mc1322x mailing list