From 708bb0e80635b5145275595dd6b87bd9bf36245f Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 28 Apr 2008 01:22:17 +0000 Subject: [PATCH] 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 --- pym/portage/dbapi/vartree.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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): -- 2.26.2