Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 417881 - Add check for missing/automagic deps
Summary: Add check for missing/automagic deps
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-27 21:56 UTC by Alexey Shvetsov
Modified: 2015-02-27 03:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2012-05-27 21:56:53 UTC
It will be cool feature if there will be chek for missing or automagic deps for packages
Comment 1 Zac Medico gentoo-dev 2012-05-27 22:05:45 UTC
I guess we'll need to whitelist all of the libraries owned by libc and gcc, like libstdc++.so.6, libm.so.6, libc.so.6, and libgcc_s.so.1. Are there any packages that belong in the whitelist?
Comment 2 Alexey Shvetsov archtester gentoo-dev 2012-05-28 07:05:45 UTC
I think only packages that can be whitelisted are libc and gcc on linux
Comment 3 Fabian Groffen gentoo-dev 2012-05-28 07:10:17 UTC
... plus all packages that install something via eselect/gcc-config/binutils-config/whatever-config_or_select

I just think of e.g. eselect opengl which copies shared objects like gcc-config does.
Comment 4 SpanKY gentoo-dev 2012-05-29 19:37:11 UTC
we've discussed this to death in the past and it's not really feasible ... there's probably a few bugs filed on the topic.  with over-linking like:
$ pkg-config --libs gtk+-2.0

you have no way of telling whether the package itself is doing the extra linking, or if the pkg has just requested a dep and that dep provided more than necessary.