It only happened when: 1. A high BB_NUMBER_THREADS: BB_NUMBER_THREADS = "24" 2. INHERIT += "rm_work" is added 3. do_rm_work of apr happens between do_configure and do_compile of apr-util. | gawk: fatal: can't open source file `/buildarea2/jhuang0/y_x86_0806/tmp/work/i586-poky-linux/apr-1.4.6-r1/apr-1.4.6/build/make_exports.awk' for reading (No such file or directory) | make[1]: *** [exports.c] Error 2 | make[1]: *** Waiting for unfinished jobs.... | gawk: fatal: can't open source file `/buildarea2/jhuang0/y_x86_0806/tmp/work/i586-poky-linux/apr-1.4.6-r1/apr-1.4.6/build/make_var_export.awk' for reading (No such file or directory) | make[1]: *** [export_vars.c] Error 2 | /bin/sh: /buildarea2/jhuang0/y_x86_0806/tmp/work/i586-poky-linux/apr-1.4.6-r1/apr-1.4.6/i586-poky-linux-libtool: No such file or directory | make[1]: *** [dbm/apr_dbm_gdbm.lo] Error 127 | make[1]: Leaving directory `/buildarea2/jhuang0/y_x86_0806/tmp/work/i586-poky-linux/apr-util-1.4.1-r1/apr-util-1.4.1' | make: *** [all-recursive] Error 1 | ERROR: oe_runmake failed | ERROR: Function failed: do_compile (see /buildarea2/jhuang0/y_x86_0806/tmp/work/i586-poky-linux/apr-util-1.4.1-r1/temp/log.do_compile.8863 for further information) NOTE: package apr-util-1.4.1-r1: task do_compile: Failed ERROR: Task 4 (/buildarea2/jhuang0/git/poky/meta/recipes-support/apr/apr-util_1.4.1.bb, do_compile) failed with exit code '1' NOTE: Tasks Summary: Attempted 408 tasks of which 407 didn't need to be rerun and 1 failed. Summary: 1 task failed: /buildarea2/jhuang0/git/poky/meta/recipes-support/apr/apr-util_1.4.1.bb, do_compile Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Fixed: http://cgit.openembedded.org/openembedded-core/commit/?id=d6aa123fdbfa82c07e33a9b4c7aacad821184790
Verified in master branch 37c8597e7600385367257e8a513e003947ebef5b