Bug 3216

Summary: Race for /usr/share/aclocal in sysroot
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, meta.mr.watcher, meta.watcher
Version: 1.4   
Target Milestone: 1.4   
Hardware: x86   
OS: Multiple   
Whiteboard: Release note (patch out for review, likely master only)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Ross Burton 2012-10-03 15:09:00 UTC
I was running a build after pulling from master and it stopped here:

| autoreconf: running: aclocal -I /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /data/poky-master/tmp/work/x86_64-linux/makedepend-native-1_1.0.4-r0/makedepend-1.0.4/aclocal-copy/ -I /data/poky-master/tmp/sysroots/x86_64-linux/usr/share/aclocal-1.12 -I /data/poky-master/tmp/work/x86_64-linux/makedepend-native-1_1.0.4-r0/makedepend-1.0.4/aclocal-copy/ --force
| aclocal: error: aclocal: file '/data/poky-master/tmp/sysroots/x86_64-linux/usr/share/aclocal/gnome-compiler-flags.m4' does not exist
| autoreconf: aclocal failed with exit status: 1

That's the race that aclocal-copy was meant to avoid (copy the contents of aclocal so that it doesn't change under us).

Looks like a problem with the search path - we're not specifying sysroot/x86/usr/share/aclocal, so why is it looking in there?  Why are the other paths listed twice?