From 8435b24bba973b29c735bed5fa1414e6eca878ce Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 24 Dec 2008 20:31:15 +0000 Subject: Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binary is not installed. svn path=/main/trunk/; revision=12301 --- pym/portage/__init__.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'pym') diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index e015bd596..bc55a8847 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -1799,6 +1799,11 @@ class config(object): writemsg("!!! /etc/portage/profile/virtuals. Please move it to\n") writemsg("!!! this new location.\n\n") + if "fakeroot" in self.features and \ + not portage.process.fakeroot_capable: + writemsg("!!! FEATURES=fakeroot is enabled, but the " + \ + "fakeroot binary is not installed.\n", noiselevel=-1) + def loadVirtuals(self,root): """Not currently used by portage.""" writemsg("DEPRECATED: portage.config.loadVirtuals\n") -- cgit v1.2.3-1-g7c22