Summary: | sys-apps/portage-2.2_rc17 fails with kde-live ebuilds | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Volker Hemmann <volkerarmin> |
Component: | [OLD] Core system | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, pchrist |
Priority: | High | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240323, 210077 | ||
Attachments: | warn when necessary don't erroneously preserved master links |
Description
Volker Hemmann
2008-12-14 09:01:57 UTC
It seems like symlinks to /usr/kde/live/lib64/libkontactprivate.so.4.2.0 got preserved, but not the actual libkontactprivate.so.4.2.0 file itself. I'm not sure why this would happen. Please post the output of the following commands: portageq list_preserved_libs / portageq owners / /usr/kde/live/lib64/libkontactprivate.so.4.2.0 FWIW, you should be able to avoid the KeyError if you manually removed '/usr/kde/live/lib64/libkontactprivate.so.4.2.0'. It should be safe to remove it since it doesn't seem to have any consumers. portageq list_preserved_libs / kde-base/kontact-9999 /usr/kde/live/lib64/libkontactprivate.so portageq owners / /usr/kde/live/lib64/libkontactprivate.so.4.2.0 kde-base/kontact-9999 /usr/kde/live/lib64/libkontactprivate.so.4.2.0 (In reply to comment #2) > portageq list_preserved_libs / > kde-base/kontact-9999 /usr/kde/live/lib64/libkontactprivate.so Apparently the preservation code preserved the master link, and it needs to be fixed to stop doing that. The correct workaround in this case is to remove /var/lib/portage/preserved_libs_registry since it only has that one file registered and so it doesn't hurt to remove the whole registry file. thanks for your help. Removing the file seemed to work (I moved away the lib and its symlinks earlier because no app I use needs it anyway ...). Created attachment 175282 [details, diff] warn when necessary don't erroneously preserved master links If this patch is saved as /tmp/masterlink.patch, then it can be applied as follows: patch /usr/lib/portage/pym/portage/dbapi/vartree.py /tmp/masterlink.patch (In reply to comment #4) > thanks for your help. Removing the file seemed to work (I moved away the lib > and its symlinks earlier because no app I use needs it anyway ...). Actually, you might want to reinstall that file since it might still be used via dlopen even though nothing appears to link to it. yeah, after removing /var/lib/portage/preserved_libs_registry I moved the lib and the symlinks back. I will try the patch later - I am updating kde-live at the moment - 83 packages left. But I don't see how I can test it. The problem seems to be solved after removing preserved_libs_registry. This is fixed in 2.2_rc18. thank you very much Zac. |