net-misc/iputils-20100418 uses the SO_MARK socket option, which was introduced with the 2.6.25 kernel. When attempting to compile with older headers (such as from the 2.4 series), compilation fails. Reproducible: Always Steps to Reproduce: 1. Set up a system with sys-kernel/linux-headers-2.4.33.3 2. emerge '=net-misc/iputils-20100418' Actual Results: ping_common.c: In function `setup': ping_common.c:489: error: `SO_MARK' undeclared (first use in this function) ping_common.c:489: error: (Each undeclared identifier is reported only once ping_common.c:489: error: for each function it appears in.) make: *** [ping_common.o] Error 1 Expected Results: Either the package compiles successfully, or Portage informs the user that iputils-20100418 requires linux-headers-2.6.25 or newer.
makes more sense to only use SO_MARK when it's available. this is hardly a reason to break support with older kernels. http://sources.gentoo.org/net-misc/iputils/iputils-20100418.ebuild?r1=1.6&r2=1.7 http://sources.gentoo.org/net-misc/iputils/files/iputils-20100418-so_mark.patch?rev=1.1