Skip to contentSkip to conversation

build error after recent pull

DISCUSSION jfabernathy 3 participants 13 messages Mar 19, 2012 – Mar 20, 2012

lore
Share & tools
lore
#0 lore raw

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by `glapi_dispatch.o'.  Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

#1 lore raw

No problem seen here...

NOTE: Tasks Summary: Attempted 4825 tasks of which 474 didn't need to be rerun and all succeeded.

For reference, here are the poky and meta-intel commits I built with:

poky/master:

commit a9873f12e5ba11e1307440901d07e9642e9f53bf

Author: Richard Purdie <[email protected]>
Date:   Sun Mar 18 00:02:22 2012 +0000

pigz: Ensure DEPENDS on zlib exists for native and target versions

meta-intel/master:

commit 9124870a6bcd99ebaeb0342f4fedf14dc1afebd8

Author: Tom Zanussi <[email protected]>
Date:   Tue Mar 13 10:10:38 2012 -0500

meta-emenlow: switch to linux-yocto-3.2 kernel

Tom

Quoted 46 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928,
/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687
for further information)
ERROR: Logfile of failure stored in:
/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687
Log data follows:
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687
for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target /build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928
(/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
failed with exit code '1'

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
In reply to jfabernathy
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

gcc is 4.6.1

Jim A

#4 lore raw
Quoted 30 lines · jfabernathy
Quoted 29 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

What's your build host?

Quoted 8 lines
Quoted 4 lines

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#5 lore raw
Quoted 35 lines · Gary Thomas
Quoted 34 lines · jfabernathy
Quoted 33 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Quoted 7 lines
Quoted 4 lines

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

JIm A

#6 lore raw
Quoted 36 lines · jfabernathy
Quoted 35 lines · Gary Thomas
Quoted 34 lines · jfabernathy
Quoted 33 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much - images don't have much (any?) stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#7 lore raw
Quoted 39 lines · Gary Thomas
Quoted 38 lines · jfabernathy
Quoted 37 lines · Gary Thomas
Quoted 36 lines · jfabernathy
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

No to question on rm_work in local.conf

Quoted 4 lines

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

This work without errors. I'm now doing bitbake core-image-sato to see if it completes.

Quoted 6 lines

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much - images don't have much (any?) stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

So if I do a git pull and want to retest with new stuff, just bitbake core-image-sato or should I do something with cleansstate??

JIm A

#8 lore raw
Quoted 58 lines · jfabernathy
Quoted 39 lines · Gary Thomas
Quoted 38 lines · jfabernathy
Quoted 37 lines · Gary Thomas
Quoted 36 lines · jfabernathy
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

No to question on rm_work in local.conf

Quoted 4 lines

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

This work without errors. I'm now doing bitbake core-image-sato to see if it completes.

Quoted 1 line
Quoted 6 lines
Quoted 5 lines

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much - images don't have much (any?) stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

So if I do a git pull and want to retest with new stuff, just bitbake core-image-sato or should I do something with cleansstate??

If you run just 'bitbake core-image-sato', any packages (recipes) which have been changed that are used by the image will be rebuilt. You should not have to clean anything for this to work properly.

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#9 lore raw
Quoted 65 lines · Gary Thomas
Quoted 64 lines · jfabernathy
Quoted 42 lines · Gary Thomas
Quoted 41 lines · jfabernathy
Quoted 40 lines · Gary Thomas
Quoted 38 lines · jfabernathy
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

gcc is 4.6.1

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

No to question on rm_work in local.conf

Quoted 4 lines

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

This work without errors. I'm now doing bitbake core-image-sato to see if it completes.

Quoted 6 lines

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much - images don't have much (any?) stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

Quoted 6 lines
Quoted 1 line

So if I do a git pull and want to retest with new stuff, just bitbake core-image-sato or should I do something with cleansstate??

If you run just 'bitbake core-image-sato', any packages (recipes) which have been changed that are used by the image will be rebuilt. You should not have to clean anything for this to work properly.

After I fixed mesa-dri and started bitbake core-image-sato, it ran for a long time and had a build failure similar to the first one on kexec-tools. I did the bitbake -c cleansstate kexec-tools trick again and restarted bitbake core-image-sato. Not sure why this is, but it seems to work.

Jim a

#10 lore raw
Quoted 67 lines · jfabernathy
Quoted 66 lines · Gary Thomas
Quoted 64 lines · jfabernathy
Quoted 39 lines · Gary Thomas
Quoted 38 lines · jfabernathy
Quoted 37 lines · Gary Thomas
Quoted 36 lines · jfabernathy
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

No to question on rm_work in local.conf

Quoted 4 lines

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

This work without errors. I'm now doing bitbake core-image-sato to see if it completes.

Quoted 6 lines

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much - images don't have much (any?) stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

So if I do a git pull and want to retest with new stuff, just bitbake core-image-sato or should I do something with cleansstate??

Quoted 7 lines
Quoted 4 lines

If you run just 'bitbake core-image-sato', any packages (recipes) which have been changed that are used by the image will be rebuilt. You should not have to clean anything for this to work properly.

After I fixed mesa-dri and started bitbake core-image-sato, it ran for a long time and had a build failure similar to the first one on kexec-tools. I did the bitbake -c cleansstate kexec-tools trick again and restarted bitbake core-image-sato. Not sure why this is, but it seems to work.

These errors should not happen - you should be able to update the yocto meta-data and rebuild an image any time and not suffer such problems.

Did you change anything else, especially with your host tools, between the time your previous build completed and you did this pull and rebuild? For example, running the Ubuntu package updater?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#11 lore raw
Quoted 77 lines · Gary Thomas
Quoted 68 lines · jfabernathy
Quoted 67 lines · Gary Thomas
Quoted 65 lines · jfabernathy
Quoted 39 lines · Gary Thomas
Quoted 38 lines · jfabernathy
Quoted 37 lines · Gary Thomas
Quoted 36 lines · jfabernathy
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

No to question on rm_work in local.conf

Quoted 4 lines

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

This work without errors. I'm now doing bitbake core-image-sato to see if it completes.

Quoted 7 lines

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much
- images don't have much (any?)
stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

So if I do a git pull and want to retest with new stuff, just bitbake core-image-sato or should I do something with cleansstate??

Quoted 7 lines
Quoted 4 lines

If you run just 'bitbake core-image-sato', any packages (recipes) which have been changed that are used by the image will be rebuilt. You should not have to clean anything for this to work properly.

After I fixed mesa-dri and started bitbake core-image-sato, it ran for a long time and had a build failure similar to the first one on kexec-tools. I did the bitbake -c cleansstate kexec-tools trick again and restarted bitbake core-image-sato. Not sure why this is, but it seems to work.

Quoted 8 lines

These errors should not happen - you should be able to update the yocto meta-data and rebuild an image any time and not suffer such problems.

Did you change anything else, especially with your host tools, between the time your previous build completed and you did this pull and rebuild? For example, running the Ubuntu package updater?

I regularly do Ubuntu update, I guess I should make sure that is really necessary. I know a few updates came in last week before the latest pull. Not sure what they updated. Live and learn :-)

It seems to be completing now. I'm at 5140 of 5148. Thanks for the help on this.

Jim A

#12 lore raw
In reply to Gary Thomas
Quoted 77 lines · Gary Thomas
Quoted 68 lines · jfabernathy
Quoted 67 lines · Gary Thomas
Quoted 65 lines · jfabernathy
Quoted 39 lines · Gary Thomas
Quoted 38 lines · jfabernathy
Quoted 37 lines · Gary Thomas
Quoted 36 lines · jfabernathy
Quoted 27 lines · Gary Thomas
Quoted 23 lines · jfabernathy

Just did a git pull today on poky and meta-intel. I tried to rebuild meta-sugarbay again and got a build error. Not sure why yet. Not critical, just a spot check of things.
------------------

NOTE: package mesa-dri-2_7.11-r13.1: task do_configure: Succeeded
NOTE: Running task 1723 of 5148 (ID: 1928, /home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile)
NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Started
ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
ERROR: Logfile of failure stored in: /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 Log data follows:

| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| ERROR: Function failed: do_compile (see /build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/temp/log.do_compile.25687 for further information)
| NOTE: make -j 8
| make[1]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| Making sources for autoconf
| make[2]: Entering directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[2]: *** No rule to make target `/build/sugarbay-master/tmp/sysroots/x86_64-linux/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/4.6.3/include/stddef.h', needed by
`glapi_dispatch.o'. Stop.
| make[2]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src/mapi/glapi'
| make[1]: *** [subdirs] Error 1
| make[1]: Leaving directory `/build/sugarbay-master/tmp/work/x86_64-poky-linux/mesa-dri-2_7.11-r13.1/Mesa-7.11/src'
| make: *** [default] Error 1
| ERROR: oe_runmake failed
Quoted 2 lines

NOTE: package mesa-dri-2_7.11-r13.1: task do_compile: Failed
ERROR: Task 1928 (/home/jim/poky/meta/recipes-graphics/mesa/mesa-dri_7.11.bb, do_compile) failed with exit code '1'

Quoted 6 lines

What's your build host?

Was this build from scratch? There was a discussion of much the same error on the meta-ti list last week where the host GCC was updated between two subsequent builds that gave this error.

Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)

Quoted 8 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines

gcc is 4.6.1

Was your build from scratch? Do you use [extant] sstate cache?

I had a preview successful build and just reran that after bitbake -c cleanall core-image-sato

Do you have rm_work in your local.conf?

No to question on rm_work in local.conf

Quoted 4 lines

Try this:
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri

This work without errors. I'm now doing bitbake core-image-sato to see if it completes.

Quoted 7 lines

BTW, 'bitbake -c cleanall core-image-sato' doesn't really do much
- images don't have much (any?)
stuff that needs to get cleaned. You can run 'bitbake core-image-sato' as many times as you like and it will completely rebuild the image every time.

So if I do a git pull and want to retest with new stuff, just bitbake core-image-sato or should I do something with cleansstate??

Quoted 7 lines
Quoted 4 lines

If you run just 'bitbake core-image-sato', any packages (recipes) which have been changed that are used by the image will be rebuilt. You should not have to clean anything for this to work properly.

After I fixed mesa-dri and started bitbake core-image-sato, it ran for a long time and had a build failure similar to the first one on kexec-tools. I did the bitbake -c cleansstate kexec-tools trick again and restarted bitbake core-image-sato. Not sure why this is, but it seems to work.

Quoted 8 lines

These errors should not happen - you should be able to update the yocto meta-data and rebuild an image any time and not suffer such problems.

Did you change anything else, especially with your host tools, between the time your previous build completed and you did this pull and rebuild? For example, running the Ubuntu package updater?

I never got a complete good build after I updated some unknown items in Ubuntu 11.10 dev system and did a recent git pull until I did a completely new bitbake core-image-sato to a new build directory. That completed correctly.

So it seems we may need some Rules for users to follow when rebuilding with the latest versions of Yocto. It seems there are some dependency on certain key packages on the dev system not changing. Completely rebuilding seems to be the safest method and given the time wasted when things fail, might be the fastest.

Jim A