generic-poky/bitbake/lib/bb
Robert Yang 87771db34c bitbake: runqueue.py: check whether multiple versions of the same PN are due to be built
There would be an race issue if we:

$ bitbake make-3.81 make-3.82

This because they are being built at the same time which would cause
unexpected problems, for example:

[snip]
ERROR: Package already staged (/path/to/tmp/sstate-control/manifest-qemux86-make.populate-sysroot)?!
ERROR: Function failed: sstate_task_postfunc
[snip]

Or there would be python's strack trace such as:

[snip]
 *** 0004:    mfile = open(manifest)
     0005:    entries = mfile.readlines()
     0006:    mfile.close()
     0007:
     0008:    for entry in entries:
Exception: IOError: [Errno 2] No such file or directory: xxx
[snip]

[YOCTO #5094]

We can quit earlier to avoid this kind of issue when two versions of the same PN
are going to be built since this isn't supported.

(Bitbake rev: ab377c00c33a2d296bfda1b0b6c2a62b29d1004f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-09-09 16:28:46 +01:00
..
fetch2 bitbake: fetch2: fix unpack of .xz files 2013-07-31 06:59:59 +01:00
parse bitbake: parse: Return IOError when including file with absolute path 2013-08-26 11:29:46 +01:00
pysh bitbake: pysh: Say what kind of token isn't implemented 2013-05-10 13:35:10 +01:00
server bitbake: server/xmlrpc: stop server on client exit 2013-09-01 15:51:11 +01:00
tests bitbake: test/fetch: Allow the conditional network tests to work under python 2.6 2013-05-17 12:42:08 +03:00
ui bitbake: knotty: Reduce refresh of footer 2013-09-06 22:31:33 +01:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: bitbake: Update version to 1.19.1 2013-06-14 12:52:58 +01:00
build.py bitbake: build: Fix profile file names 2013-09-01 15:51:11 +01:00
cache.py bitbake: runqueue: Split runqueue to use bitbake-worker 2013-06-14 12:52:56 +01:00
cache_extra.py bitbake: cache_extra.py : added package information 2013-03-29 10:41:24 +00:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: codeparser: Track bb.utils.contains usage 2013-02-15 12:12:35 +00:00
command.py bitbake: command.py: Call updateCache for all states != running 2013-08-26 13:43:47 +01:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: bitbake/cooker: fix some calls of cookerdata.findConfigFile method 2013-09-02 12:26:20 +01:00
cookerdata.py bitbake: cookerdata: Allow bblayers.conf to be found using BBPATH 2013-08-30 17:42:39 +01:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: hob & bitbake: append a value to a variable from hob throught bitbake 2013-08-06 13:02:24 +01:00
data_smart.py bitbake: data_smart: Move getVar expand cache handing to fix _remove operations 2013-09-06 22:31:32 +01:00
event.py bitbake: bitbake/event.py: UIhandler filter should work without a mask 2013-08-27 11:16:58 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: monitordisk.py: disable inode checking for btrfs 2013-04-15 15:57:31 +01:00
msg.py bitbake: event/msg: Add primitive server side UI log record filtering 2013-08-23 17:29:54 +01:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py bitbake: persist_data: add get_by_pattern method to API 2013-01-22 15:35:06 +00:00
process.py bitbake: lib: Use modern expcetion syntax 2013-05-09 22:28:24 +01:00
providers.py bitbake: providers.py: enhance the runtime debug degbug messgae 2013-09-09 16:28:46 +01:00
runqueue.py bitbake: runqueue.py: check whether multiple versions of the same PN are due to be built 2013-09-09 16:28:46 +01:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: runqueue: Split runqueue to use bitbake-worker 2013-06-14 12:52:56 +01:00
taskdata.py bitbake: taskdata: report close matches with NoProvider errors 2013-08-16 11:21:02 +01:00
tinfoil.py bitbake: tinfoil: fix for move of data attribute to cooker 2013-06-10 10:32:58 +01:00
utils.py bitbake: utils: Fix multiprocessing pool reference 2013-06-14 22:01:09 +01:00