]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: Exclude ${CCACHE_DIR} from pseudo database
authorMingli Yu <mingli.yu@windriver.com>
Tue, 27 Oct 2020 01:29:39 +0000 (09:29 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Oct 2020 12:37:53 +0000 (12:37 +0000)
commitb65e5280bf9e7f1f9c8e6acabab79bcf209e5342
tree2b959533d468918394006b6eb63667377824a78f
parent67329184985a03534f11f95e9df5f9fb2305a261
bitbake.conf: Exclude ${CCACHE_DIR} from pseudo database

When ccache enabled as below:
INHERIT += "ccache"
CCACHE_DIR = "/path/build/ccache"

There comes do_install failure for some recipes randomly, take
linux-libc-headerswhen as example.
 $ cat /path/build/tmp/work/corei7-64-wrs-linux/linux-libc-headers/5.8-r0/pseudo/pseudo.log
 [snip]
 path mismatch [1 link]: ino 243004209 db '/path/build/ccache/6/stats' req '/path/build/ccache/7/stats.lock'.
 [snip]

Exclude ${CCACHE_DIR} from pseudo database to fix the potential
do_install failure.

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf