After building the dependency graph, we can check selected binary packages to verify that they don't depend on preserved libraries.
I've posted a proposal for generation of binary package soname dependencies using new PROVIDES_EXCLUDE and REQUIRES_EXCLUDE ebuild metadata variables: http://thread.gmane.org/gmane.linux.gentoo.devel/94145
I'm working on this in the following branch: https://github.com/zmedico/portage/tree/binpkg-soname-deps
I've posted for review a patch to generate soname dependencies: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5154
Soname dependency resolution is now implemented, and posted for review: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5208
(In reply to Zac Medico from comment #4) > Soname dependency resolution is now implemented, and posted for review: > > http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5208 In the master branch now: https://github.com/gentoo/portage/commit/f1c1b8a77eebf7713b32e5f9945690f60f4f46de https://github.com/gentoo/portage/commit/11467fc640995e3dc8897c82bbc7130d5bf27d05 (In reply to Zac Medico from comment #0) > After building the dependency graph, we can check selected binary packages > to verify that they don't depend on preserved libraries. Current soname dependency resolution only supports --usepkgonly. We could still add a sanity check for @preserve-rebuild that works with --usepkg.
Released in portage-2.2.18