Summary: | sys-apps/portage-2.2.00.14701: wrong path for var/lib/portage/config | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Nicolas Olivier <nicolas.olivier> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | critical | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | Sparc64 | ||
OS: | Solaris | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Nicolas Olivier
2009-10-23 16:05:46 UTC
thanks for spotting that, seems critical to me this patch should do it Index: pym/portage/dbapi/vartree.py =================================================================== --- pym/portage/dbapi/vartree.py (revision 14698) +++ pym/portage/dbapi/vartree.py (working copy) @@ -3075,7 +3075,7 @@ os.path.sep dest_root_len = len(dest_root) - 1 - conf_mem_file = os.path.join(dest_root, EPREFIX_LSTRIP, CONFIG_MEMORY_FILE) + conf_mem_file = os.path.join(dest_root, CONFIG_MEMORY_FILE) cfgfiledict = grabdict(conf_mem_file) stale_confmem = [] it seems the problem is still present for me after applying the patch? yes, and checked again to be sure and if you apply also this patch on top? Index: pym/portage/dbapi/vartree.py =================================================================== --- pym/portage/dbapi/vartree.py (revision 14720) +++ pym/portage/dbapi/vartree.py (working copy) @@ -4462,7 +4462,7 @@ self.updateprotect() #if we have a file containing previously-merged config file md5sums, grab it. - conf_mem_file = os.path.join(destroot, EPREFIX_LSTRIP, CONFIG_MEMORY_FILE) + conf_mem_file = os.path.join(destroot, CONFIG_MEMORY_FILE) cfgfiledict = grabdict(conf_mem_file) cfgfiledict_orig = cfgfiledict.copy() if "NOCONFMEM" in self.settings: it works, thanks :) thanks for testing, this is now in 2.2.00.14724 |