Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 234269

Summary: Add qa check for linking against libs that are not in RDEPEND
Product: Portage Development Reporter: Petteri Räty (RETIRED) <betelgeuse>
Component: Core - DependenciesAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kingjon3377, nikoli, sam
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Petteri Räty (RETIRED) gentoo-dev 2008-08-08 19:54:43 UTC
* In order to avoid breakage of link level dependencies, one or more
 * packages will not be removed. This can be solved by rebuilding the
 * packages that pulled them in.
 *
 *   media-libs/libdvdread-0.9.7 pulled in by:
 *     app-cdr/k3b-1.0.5-r2
 *
 *   dev-libs/libcroco-0.6.1 pulled in by:
 *     sys-devel/gettext-0.17
 *

Should be quite easy to first remove things not matched by use flags in RDEPEND and then compare that list against the libs needed by the installed elf files.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-05 07:26:32 UTC
Let's call this a duplicate of the newer one as there's more discussion in it.

*** This bug has been marked as a duplicate of bug 653200 ***