generic-poky/bitbake
Richard Purdie d3e6e1054c bitbake: runqueue: Handle missing sstate dependencies better
If you "bitbake glibc-locale" then delete the libpcre-native sstate
and "bitbake glibc-locale -C package_write_rpm", it will fail with
rpmbuild missing the libprce library.

The reason is that libpcre-native fails to install from sstate (since
it isn't present) but doesn't get built and hence rpm-native tries to
run without its dependencies.

The simplest fix is not to add "covered" tasks which have failed to
install sstate. I can't help feeling there is more to this issue but
this does fix the current problem and shouldn't have adverse affects.
It is an unusual situation to have missing dependencies in sstate since
they're usually all present or not at all.

I've taken the opportunity to remove some old cruft from when we had
numeric task ids, the code can be simpler now.

(Bitbake rev: ba566b46d530b495f12f3a74f76434717b22a020)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-09-21 21:58:06 +01:00
..
bin bitbake: toaster: don't kill all runserver processes 2016-09-08 00:33:47 +01:00
contrib bitbake: dump_cache.py: use python3 as interpreter 2016-08-20 16:08:59 +01:00
doc bitbake: bitbake-user-manual: Added "Exporting Variables to the Environment" 2016-09-02 16:29:52 +01:00
lib bitbake: runqueue: Handle missing sstate dependencies better 2016-09-21 21:58:06 +01:00
AUTHORS misc: Update the email address to a working one. 2011-01-04 14:36:54 +00:00
COPYING bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00
ChangeLog *: Fix typo in documentation 2010-08-04 16:12:39 +01:00
HEADER bitbake: Sync with upstream. 2007-01-08 23:53:01 +00:00
LICENSE bitbake: toaster: move most recent builds templating to client 2016-08-11 00:09:26 +01:00
toaster-requirements.txt bitbake: toaster: modified list of dependencies 2016-06-02 08:24:03 +01:00