INHERIT += "ccache" (not sure whether this is need or not) $ bitbake core-image-sato | ccache i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea2/lyang1/test_new/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wstrict-prototypes -fPIC -DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS -c -o from_local.o from_local.c | ccache i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea2/lyang1/test_new/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wstrict-prototypes -fPIC -DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS -c -o pmap_dump.o pmap_dump.c | ccache i586-poky-linux-gcc -m32 -march=i586 --sysroot=/buildarea2/lyang1/test_new/tmp/sysroots/qemux86 -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wstrict-prototypes -fPIC -DFACILITY=LOG_DAEMON -DENABLE_DNS -DHOSTS_ACCESS -c -o pmap_set.o pmap_set.c | pmap_dump.c:16:21: fatal error: rpc/rpc.h: No such file or directory | compilation terminated. | make: *** [pmap_dump.o] Error 1 | make: *** Waiting for unfinished jobs.... | pmap_set.c:13:21: fatal error: rpc/rpc.h: No such file or directory | compilation terminated. | make: *** [pmap_set.o] Error 1 | portmap.c:79:21: fatal error: rpc/rpc.h: No such file or directory | compilation terminated. | make: *** [portmap.o] Error 1 | pmap_check.c:38:21: fatal error: rpc/rpc.h: No such file or directory | compilation terminated. | make: *** [pmap_check.o] Error 1 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /buildarea2/lyang1/test_new/tmp/work/i586-poky-linux/portmap-6.0-r7/temp/log.do_compile.15577 for further information)
no such error on : git info:bcc04b2880b44140176e1d2dcc955a3d3942c392 git branch:poky/master test hosts: Fedora 17 x86_64 run "bitbake portmap": NOTE: Running task 699 of 764 (ID: 7, /buildarea/poky.ubuntu.new/meta/recipes-connectivity/portmap/portmap_6.0.bb, do_compile) NOTE: package zlib-1.2.7-r0: task do_package_write_rpm: Started NOTE: package portmap-6.0-r7: task do_compile: Started NOTE: package portmap-6.0-r7: task do_compile: Succeeded NOTE: Running task 700 of 764 (ID: 2, /buildarea/poky.ubuntu.new/meta/recipes-connectivity/portmap/portmap_6.0.bb, do_install) ... NOTE: Running noexec task 764 of 764 (ID: 5, /buildarea/poky.ubuntu.new/meta/recipes-connectivity/portmap/portmap_6.0.bb, do_build) NOTE: Tasks Summary: Attempted 764 tasks of which 567 didn't need to be rerun and all succeeded. Summary: There were 5 WARNING messages shown.
What toolchain are you using for this?
I use the YOCTO's gcc 4.7, seems this issue has gone, I will close it after more investigation. (In reply to comment #2) > What toolchain are you using for this?
Can't reproduce it again.
I wasn't able to reproduce this either Host F17 / x86_64, 1.3_M4 rc3 branch. Mark as verified.