Summary: | sys-apps/portage: preserve-libs dependency cycles prevent elimination of preserved libraries | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Matt Turner <mattst88> |
Component: | Core | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | bog, bugzilla, esigra, flow, gentoo, nathandu, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=243030 https://bugs.gentoo.org/show_bug.cgi?id=766779 https://bugs.gentoo.org/show_bug.cgi?id=641094 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240323 | ||
Attachments: |
dep.pdf, showing dependency graph of the listed shared objects
preserved_libs_registry |
Description
Matt Turner
2018-04-04 00:19:32 UTC
FWIW, this is easy to reproduce by transitioning from a multilib profile to a non-multilib profile. Created attachment 669503 [details]
preserved_libs_registry
The @preserved-rebuild misbehavior is a side-effect from the way that preserve-libs re-parents a preserved library to a new package in the same slot. I we should remove the re-parenting since we support parent-less preserved libs since bug 286714. The fix for bug 243030 is supposed to prevent unnecessary @preserved-rebuild rebuilds triggered by the re-parenting: https://gitweb.gentoo.org/proj/portage.git/commit/?id=4a78dd5f81449aebf764834d75693d2f157eb879 I think parent-less preserved libs is the way to go, since that will allow these libraries to be eliminated without touching any /var/db/pkg/*/*/CONTENTS entries. |