Re: build error after recent pull
On 03/19/2012 03:13 PM, Gary Thomas wrote:
On 2012-03-19 13:04, jfabernathy wrote:No to question on rm_work in local.confOn 03/19/2012 03:03 PM, Gary Thomas wrote:Do you have rm_work in your local.conf?On 2012-03-19 12:59, jfabernathy wrote:I had a preview successful build and just reran that after bitbake -c cleanall core-image-satoOn 03/19/2012 02:55 PM, Gary Thomas wrote:Was your build from scratch? Do you use [extant] sstate cache?On 2012-03-19 10:02, jfabernathy wrote:Building on latest release Ubuntu 11.10 (Linux ubuntu-x64 3.0.0-16-generic #29-Ubuntu SMP)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.What's your build host?
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: 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: 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: *** 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
| make: 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: *** [subdirs] Error 1
| make: 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'
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.
gcc is 4.6.1
This work without errors. I'm now doing bitbake core-image-sato to see if it completes.
% bitbake -c cleansstate mesa-dri
% bitbake mesa-dri
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??
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.