From the ebuild: DEPEND="virtual/os-headers extensions? ( virtual/linux-sources )" but then: ictway ~ # emerge iptables -pv These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-kernel/gentoo-sources-2.6.15-r5 USE="-build -doc -symlink" 209 kB [ebuild R ] net-firewall/iptables-1.3.5 USE="ipv6 -extensions -static" 0 kB Total size of downloads: 209 kB
iptables needs kernel sources to build extensions, don't understand what are you complaining about.
Heh, OK - I see now... :) Not that it would change anything from the point of dependencies, but extensions? ( virtual/linux-sources ) is redundant there, linux-info eclass depends on virtual/linux-sources regardless.
it isnt a bug in the ebuild, the DEPEND is correct if the kernel team wants to drop the DEPEND from the eclass, that's their choice
The functionality in linux-info.eclass depends on having a kernel source tree available...
... but it prevents people from conditionally using the eclass ... you could make an internal eclass var: if [[ ${LINUX_INFO_CONDTIONAL} != "yes" ]] ; then DEPEND="..." fi and in the ebuild: LINUX_INFO_CONDITIONAL="yes" inherit linux-info not that it really matters to me either way ... kill the bug if you want
This is a dupe anyway... *** This bug has been marked as a duplicate of 120233 ***