summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-28 01:46:58 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-28 01:46:58 +0000
commit1f62216a1162c1cee8efd7f6f1229ac9c5339a14 (patch)
tree83733d9175d6bdb220ff300f1b82c13537746d52
parente7c4a659ae5f6ac829179e29b063fb064420bfe2 (diff)
downloadportage-1f62216a1162c1cee8efd7f6f1229ac9c5339a14.tar.gz
portage-1f62216a1162c1cee8efd7f6f1229ac9c5339a14.tar.bz2
portage-1f62216a1162c1cee8efd7f6f1229ac9c5339a14.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. (trunk r10009) svn path=/main/branches/2.1.2/; revision=10013
-rw-r--r--pym/portage.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 9dd0ecd92..9b5f0ff54 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -8680,7 +8680,14 @@ class dblink:
"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 textwrap import wrap
cmd = "source '%s/isolated-functions.sh' ; " % \
PORTAGE_BIN_PATH