summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-28 01:22:17 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-28 01:22:17 +0000
commit708bb0e80635b5145275595dd6b87bd9bf36245f (patch)
treecae9e7844c44dac384c69c62c3a20ed8367beb20
parent1576a15b283a26887fdf8f139775d400f1af3d09 (diff)
downloadportage-708bb0e80635b5145275595dd6b87bd9bf36245f.tar.gz
portage-708bb0e80635b5145275595dd6b87bd9bf36245f.tar.bz2
portage-708bb0e80635b5145275595dd6b87bd9bf36245f.zip
Bug #211833 - When an ebuild removal phase fails, notify the user that
removal of environment.bz2 file will cause the ebuild to be sourced and eclasses from the current portage tree will be used when necessary. svn path=/main/trunk/; revision=10009
-rw-r--r--pym/portage/dbapi/vartree.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 86c26baf9..02b148417 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1305,7 +1305,14 @@ class dblink(object):
"The problem occurred while executing " + \
("the ebuild located at '%s'. " % myebuildpath) + \
"If necessary, manually remove the ebuild " + \
- "in order to skip the execution of removal phases."
+ "and/or the environment.bz2 file which " + \
+ "is located in the same directory. Removal " + \
+ "of the environment.bz2 file will cause " + \
+ "the ebuild to be sourced and eclasses " + \
+ "from the current portage tree will be used " + \
+ "when necessary. Removal of " + \
+ "the ebuild will cause the execution of " + \
+ "removal phases to be skipped entirely."
from portage.elog.messages import eerror
from textwrap import wrap
for l in wrap(msg, 72):