Summary: | preserved libs persist after emerge @preserved-rebuild, but @preserved-rebuild is empty | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://gerrit.chromium.org/gerrit/417 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240323 |
Description
Dennis Schridde
2011-05-05 08:57:19 UTC
The problems it likely due to interaction between these two parts in pym/portage/dbapi/vartree.py: self._linkmap_rebuild(include_file=os.path.join(inforoot, linkmap._needed_aux_key)) if not others_in_slot: self._linkmap_rebuild(exclude_pkgs=(self.mycpv,)) The first _linkmap_rebuild call does not exclude the existing package in the same slot, which can corrupt the linkmap with irrelevant NEEDED data from the existing package that is about to be unmerged. I've got somebody working on a patch in this area now, and it should address this issue when it's finished: http://codereview.chromium.org/6714030/ Hopefully this is fixed by these 2 commits: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f36b9fa38b5268c2a5579db62acec026625f84a9 http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=f4ef24e29e2968bd581425198220dce7d6a28bc3 Here's another relevant fix: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=07293a625e1b5ab086119ea1ccf7133eeb86fcee Hopefully this is fixed in 2.2.0_alpha32. Please re-open if the problem persists. |