Summary: | portage-2.2_rc20 doesn't preserve indirect *.so dependencies | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Martin von Gagern <Martin.vGagern> |
Component: | Core - Dependencies | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra, pappy_mcfae |
Priority: | High | ||
Version: | 2.2 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 240323 | ||
Attachments: | script to find libraries that are required indirectly |
Description
Martin von Gagern
2008-12-30 11:20:54 UTC
*** Bug 270022 has been marked as a duplicate of this bug. *** (In reply to comment #1) > *** Bug 270022 has been marked as a duplicate of this bug. *** > Are you sure? I'm running portage-2.2_rc33. If so, I guess this bug has seniority. This should have been fixed by the following commit which uses a directed graph to keep track of the indirect *.so dependencies: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=a97986713e6a0138551970592fad3a63a6a7d7ae In 2.2.0_alpha34 there are lots of preserve-libs fixes, including bug 286714. Please re-open if you can still reproduce this with 2.2.0_alpha34. Created attachment 273901 [details] script to find libraries that are required indirectly This script will find libraries that are useful for testing purposes. For example, on my system, one of the libraries that it identified was libgvnc-1.0.so.0.0.1: net-libs/gtk-vnc-0.4.3 /usr/lib/libgvnc-1.0.so.0.0.1 In order to test the unmerge case (bug 286714), I unmerged gtk-vnc, and the library was correctly preserved: !!! existing preserved libs: >>> package: net-libs/gtk-vnc-0.4.3 * - /usr/lib/libgvnc-1.0.so * - /usr/lib/libgvnc-1.0.so.0 * - /usr/lib/libgvnc-1.0.so.0.0.1 * - /usr/lib/libgtk-vnc-1.0.so * - /usr/lib/libgtk-vnc-1.0.so.0 * - /usr/lib/libgtk-vnc-1.0.so.0.0.1 * used by /usr/lib/vinagre-1/plugins/libvnc.so (net-misc/vinagre-2.30.3) In order to test the installation/upgrade case, I created a copy of of the gtk-vnc-0.4.3 ebuild and modified it so that it would install nothing. When I installed this empty ebuild, libgvnc-1.0.so.0.0.1 was correctly preserved in this case as well. |