Summary: | net-libs/libnfnetlink needs better linux-info.eclass handling | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kobboi <gentoo> |
Component: | [OLD] Unspecified | Assignee: | Cédric Krier <cedk> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | netmon |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kobboi
2010-01-06 19:33:42 UTC
libnfnetlink has inherit linux-info linux-info.eclass has: [ -z "${I_KNOW_WHAT_I_AM_DOING}" ] && \ DEPEND="kernel_linux? ( virtual/linux-sources )" So, this bug report is for something that is already being done. (In reply to comment #1) > libnfnetlink has inherit linux-info > > linux-info.eclass has: > [ -z "${I_KNOW_WHAT_I_AM_DOING}" ] && \ > DEPEND="kernel_linux? ( virtual/linux-sources )" > > So, this bug report is for something that is already being done. > Correct. I just noticed that emerging libnfnetlink does pull in my kernel package. The issue is that the kernel config check is done in pkg_setup(), which is also executed for binary packages, but virtual/linux-sources is in DEPEND, so my kernel package (including a .config and compilation in src_compile) is not pulled in. (In reply to comment #2) > Correct. I just noticed that emerging libnfnetlink does pull in my kernel > package. > > The issue is that the kernel config check is done in pkg_setup(), which is also > executed for binary packages, but virtual/linux-sources is in DEPEND, so my > kernel package (including a .config and compilation in src_compile) is not > pulled in. > Ah yes, I see what you mean. Thanks for explaining. Basically, the ebuild is not compatible with binary packages. I faced similar issues when I filed bug 296578, maybe you can use that as inspiration. per bug 283320, we no longer bring in linux-sources since rev 1.79 of the eclass. |