diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-05-23 10:13:09 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-24 14:14:47 +0100 |
commit | 39214157dafb806f31d2446b7f410cc5f8aa194b (patch) | |
tree | d87a1f4b2b3fa0ea1a447ebfadaa2a555b099508 /documentation/mega-manual/figures/yp-download.png | |
parent | efbb9f83ffca344d7b6115c35a0e609ed89eee7f (diff) | |
download | poky-39214157dafb806f31d2446b7f410cc5f8aa194b.tar.gz |
binutils: the cat should always succeed when building config.cache
There is a race condition between when the CONFIG_SITE list is generated and
then used here via the cat to create the config.cache and in *all* configure
scripts when reading from CONFIG_SITE.
The race in this case is that the sstate setscene task runs on a package that
contains a site config file (ncurses in this case) and then bitbake decides
that it needs to rebuild and cleans out the site config file, so it existed
for siteinfo_get_files() to find in SITECONFIG_SYSROOTCACHE and then was removed
for the rebuild. When bintuils tried to run the do_configure() task which creates
the binutil's version of config.cache it reads from CONFIG_SITE which now contains
the non-existant site config file. (confused yet ;-)?
Currently the configure script does a test -r to ensure the file is readable
before using it, therefore having the cat succeed regardless of the file being
available is consistent behaviour.
(From OE-Core rev: ffd8f05e5548500199c9b04a174067811ad2c5e7)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/mega-manual/figures/yp-download.png')
0 files changed, 0 insertions, 0 deletions