Bug 2947 - apr-util 1.4.1: do_compile failed with the error gawk: fatal: can't open source file `.../make_exports.awk' for reading (No such file or directory)
Summary: apr-util 1.4.1: do_compile failed with the error gawk: fatal: can't open sou...
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M4
Assignee: Jackie Huang
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-15 06:32 UTC by Jackie Huang
Modified: 2012-09-04 01:42 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jackie Huang 2012-08-15 06:32:21 UTC
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.
Comment 2 Chen Qi 2012-09-04 01:42:51 UTC
Verified in master branch 37c8597e7600385367257e8a513e003947ebef5b