Summary: | portage: QA check for NEEDED.ELF.2 not in RDEPEND or @system | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Martin Väth <martin> |
Component: | Enhancement/Feature Requests | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | betelgeuse, kingjon3377, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=35484 https://bugs.gentoo.org/show_bug.cgi?id=205312 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Väth
2018-04-15 05:28:35 UTC
Some kind of dependency resolution for some packages (often virtuals) would be needed. E.g. @system set contains virtual/libc, but not sys-libs/glibc, sys-libs/musl etc., but libc.so belongs to sys-libs/glibc, sys-libs/musl etc. (Special handling based on category should be avoided...) Depending on USE-flags, the dependency list might become too long. An alternative might be to maintain a hardcoded list of "allowed" @system libraries (either in portage or in the profile): I suppose that the list would not be much more than the various libc+compiler libraries. Such a list would eliminate the most complicated step in the implementation. The aforementioned situation also affects virtuals not in @system set. E.g. packages which use libudev.so should directly depend on virtual/libudev, not sys-fs/udev, sys-apps/systemd, sys-fs/eudev. Beside "virtual" category, there is also "java-virtuals" category. It is not impossible that there will be more virtual categories in the future. PROPERTIES="virtual" [1] could be used... [1] https://archives.gentoo.org/gentoo-dev/message/9d449a18a96a25a547fcfd40544085cf While this hasn't been implemented in Portage itself, app-portage/iwdevtools does handle this. (I started an implementation about a year ago - no idea if I've still got it - but wasn't happy with the complexity being added, given that ideally it'd be on the Bash side like the rest of our QA checks.) *** Bug 234269 has been marked as a duplicate of this bug. *** |