summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/emerge8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/emerge b/bin/emerge
index 4ce5130e0..7b4e7cd36 100755
--- a/bin/emerge
+++ b/bin/emerge
@@ -1836,6 +1836,14 @@ class depgraph:
if ("--skipfirst" in myopts) and mymergelist:
del portage.mtimedb["resume"]["mergelist"][0]
del mymergelist[0]
+ for bigkey in mymergelist:
+ (pkgtype, root, cpv, action) = bigkey
+ if pkgtype == "binary" and not portage.db["/"]["bintree"].dbapi.match("="+cpv) or \
+ pkgtype == "ebuild" and not portage.db["/"]["porttree"].dbapi.xmatch("match-all", "="+cpv):
+ print red("!!! Error: The resume list contains packages that no longer")
+ print red("!!! available to be emerged. Please restart/continue")
+ print red("!!! the merge operation manually.")
+ sys.exit(1)
else:
myfavs=portage.grabfile(portage.root+portage.WORLD_FILE)
myfavdict=genericdict(myfavs)