Error after update

I got this error when making systemd-image after ./oebb.sh update. The target virtual/kernel ran fine with no errors.

Any ideas what to try next?

Thanks.

----snip----

make[2]: Entering directory

`/home/dlambert/src/beaglebone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/libcgroup-0.37.1-r0/libcgroup-0.37.1/tests'

\
# source='libcg_ba.cpp' object='libcg_ba.o' libtool=no
arm-angstrom-linux-gnueabi-g++ -march=armv7-a

-fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb --sysroot=/home/dlambert/src/beaglebone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/beaglebone -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -c -o libcg_ba.o libcg_ba.cpp

libcg_ba.cpp:18:18: fatal error: string: No such file or directory
compilation terminated.
make[2]: *** [libcg_ba.o] Error 1
make[2]: Leaving directory

`/home/dlambert/src/beaglebone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/libcgroup-0.37.1-r0/libcgroup-0.37.1/tests'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory

`/home/dlambert/src/beaglebone/setup-scripts/build/tmp-angstrom_2010_x-eglibc/work/armv7a-angstrom-linux-gnueabi/libcgroup-0.37.1-r0/libcgroup-0.37.1'

make: *** [all] Error 2
+ die 'oe_runmake failed'
+ bbfatal 'oe_runmake failed'
+ echo 'ERROR: oe_runmake failed'
ERROR: oe_runmake failed
+ exit 1

NOTE: package libcgroup-0.37.1-r0: task do_compile: Failed
ERROR: Task 651 (/home/dlambert/src/beaglebone/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb, do_compile) failed with exit code '1'
Waiting for 1 active tasks to finish:
0: vala-native-0.12.1-r0 do_install (pid 9513)
NOTE: package vala-native-0.12.1-r0: task do_install: Succeeded
ERROR: '/home/dlambert/src/beaglebone/setup-scripts/sources/meta-openembedded/meta-oe/recipes-core/libcgroup/libcgroup_0.37.1.bb' failed

Hi David,
I’ve been running into a number of problems with OE, sometimes googling on the offending files is productive.
I haven’t seen your error (yet) but there’s a thread here:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035502.html

which looks to discuss your issue.
Best of luck, Nick

I also am fighting this issue.

Ubuntu 11.10, 32 bit host
Fresh git from the Angstrom distribution
bitbake console-base-image

errors out unable to find the c++ include files

Funny thing, just a few days ago (approx 10) on a different machine EXACT configuration, I was able to get through bitbake of console-base-image for all three of my boards. The Beaglebone, Beagleboard and the Pandaboard. So someone somewhere has changed something that breaks the OE/bitbake/Angstrom system. Sure would be nice if this thing worked a bit more reliably. I know “you get what you pay for” but come on, no one checks the most common configurations? (Ubuntu 32 bit host, Beagleboard targets)

If anyone has any insight I (and others) would sure appreciate it.

Thanks all.

Ross

Hi David,
I've been running into a number of problems with OE, sometimes googling on the offending files is productive.
I haven't seen your error (yet) but there's a thread here:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-October/035502.html
which looks to discuss your issue.
Best of luck, Nick
--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To view this discussion on the web visit https://groups.google.com/d/msg/beagleboard/-/-xTV5yk-xkMJ.
To post to this group, send email to beagleboard@googlegroups.com.
To unsubscribe from this group, send email to beagleboard+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.

I also am fighting this issue.

Ubuntu 11.10, 32 bit host
Fresh git from the Angstrom distribution
bitbake console-base-image

errors out unable to find the c++ include files

It's a race issue which we're trying to solve, but it's hard to reproduce if you aren't seeing it. I only started seeing it yesterday after setting up a new buildmachine on with an i7 CPU. That was fast enough to trigger the race.

regards,

Koen

Thank you, very much...

A partial fix went in: http://cgit.openembedded.org/meta-openembedded/commit/?id=ac52f114fb1f2cc0b28a7457fb1a64b39a196e5a

That fixed the issue for me on an incremental build and for my coworker on a clean build. I'm not convinced this fixes it completely, but it does seem to improve the situation.

regards,

Koen

Thanks. I will try that.

17:20 GMT, 22 Dec 2011
After a fresh git pull, we now have a successful bitbake console-base-image.

Ubuntu 11.10, 32 bit

oebb.sh config beaglebone
oebb.sh update

edits to local.conf
PARALLEL_MAKE = "-j4"
BB_NUMBER_THREADS = "4"

bitbake console-base-image

NOTE: Tasks Summary: Attempted 2737 tasks of which 325 didn't need to be rerun and 0 failed.

Thank you Koen and the Angstrom team. Happy Holidays...

A partial fix went in: meta-openembedded - Collection of OpenEmbedded layers

That fixed the issue for me on an incremental build and for my coworker on a clean build. I'm not convinced this fixes it completely, but it does seem to improve the situation.

regards,

Koen

Thanks Koen and team, that seemed to fix my issue - Happy Holidays!