I found this because "emaint --check world" could not open /var/lib/portage/world for reading, so I investigated and got it to work by appling this change: $ svn diff Index: const.py =================================================================== --- const.py (revision 11499) +++ const.py (working copy) @@ -61,7 +61,7 @@ MOVE_BINARY = "mv" PRELINK_BINARY = "prelink" -WORLD_FILE = PRIVATE_PATH + "/world" +WORLD_FILE = EPREFIX + "/" + PRIVATE_PATH + "/world" MAKE_CONF_FILE = "/etc/make.conf" MAKE_DEFAULTS_FILE = PROFILE_PATH + "/make.defaults" DEPRECATED_PROFILE_FILE = PROFILE_PATH+"/deprecated" Please consider this for the prefix-portage branch.
You can't do this because WORLD_FILE is used with config_root (relative path). The problem here is that WORLD_FILE is used with target_root here, which requires an absolute (prefix included) path. I fixed those now, even though I think the usage of target_root here is wrong. Fixed in 11505