[bitbake-devel,1/1] runqueue.py: check whether multiple versions of the same PN are due to be built
Submitted by Robert Yang on Sept. 2, 2013, 1:47 p.m.
Patch ID: 57231
@@ -702,7 +702,17 @@ class RunQueueData:
msg += "\n This usually means one provides something the other doesn't and should."
+ # Check whether multiple versions of the same PN are due to be
+ # built, for example:
+ # <pn>-1.0
+ # <pn>-2.0
+ seen_pn = 
+ for fn in prov_list[prov]:
+ pn = self.dataCache.pkg_fn[fn]
+ if pn not in seen_pn:
+ bb.fatal("Multiple versions of %s are due to be built." % pn)
# Create a whitelist usable by the stamp checks
stampfnwhitelist =