Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289835 - emaint has double prefix (portage--2.2.00.14555)
Summary: emaint has double prefix (portage--2.2.00.14555)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 289872 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-20 08:12 UTC by Ramon
Modified: 2009-10-20 15:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2009-10-20 08:12:02 UTC
emaint --check world fails on my system with:

/Users/ramonvanalteren/Library/Gentoo/Users/ramonvanalteren/Library/Gentoo/var/lib/portage/world could not be opened for reading

My prefix is set to: /Users/ramonvanalteren/Library/Gentoo/
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-10-20 15:04:19 UTC
*** Bug 289872 has been marked as a duplicate of this bug. ***
Comment 2 Fabian Groffen gentoo-dev 2009-10-20 15:23:27 UTC
can you check if this fixes the issue?

===================================================================
--- bin/emaint  (revision 14698)
+++ bin/emaint  (working copy)
@@ -42,7 +42,7 @@
        def _check_world(self, onProgress):
                categories = set(portage.settings.categories)
                myroot = portage.settings["ROOT"]
-               self.world_file = os.path.join(myroot, portage.const.EPREFIX_LSTRIP, portage.const.WORLD_FILE)
+               self.world_file = os.path.join(myroot, portage.const.WORLD_FILE)
                self.found = os.access(self.world_file, os.R_OK)
                vardb = portage.db[myroot]["vartree"].dbapi
 
Comment 3 Ramon 2009-10-20 15:41:43 UTC
Yup, that fixes it.
Comment 4 Fabian Groffen gentoo-dev 2009-10-20 15:44:40 UTC
released in 2.2.00.14700