ipsec-tools makes use of /usr/src/linux due to sys/sysctl.h inclusion pfkey.o can't be compiled (at least on uclibc) the attached patch also corrects the build on uclibc (and adds ipv6 support) Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: this package should not use /usr/src/linux
Created attachment 47689 [details, diff] ebuild correction, nocxx, ipv6, uclibc
Created attachment 47709 [details, diff] fixes use ipv6 The previous pach fixes the problem but the confiure script does not handle --enable-ipv6. This patch should work. Tested on i686-pc-linux-gnu (works with both USE="ipv6" and USE="-ipv6) and i386-pc-linux-uclibc/hardened (only USE="-ipv6" works)
I've just commited 0.5_rc1 to the tree, that includes the fixes in this bug. 0.5_rc1 includes proper autotooled foo, so $(use_enable ipv6) actually works now. The changes for c++ checks, sysctl, etc are all added. Now depends on linux26-headers so we don't do the nasty dep on a 2.6 kernel any more and actually use proper headers. Please test and confirm that this version now works for folks. Thanks.
DEPEND/RDEPEND are prob. incorrect, all less headers should go into RDEPEND and DEPEND="${RDEPEND} sys-kernel/linux26-headers" die should have a comment to know if econf/emake failed
0.5-rc1 is not an option for uclibc, because they change getaddrinfo(), and do accept the version uclibc provides (it says it is buggy) please backport your changes to 0.4 to allow building a version on uclibc I would want to know, if the test on uclibc+ipv6 was done w/ an uclibc version that was also built w/ ipv6, else that test has to be redone.
Created attachment 58486 [details, diff] Backported patch for ipsec-tools-0.4-r1.ebuild Patch for making ipsec-tools build with uclibc. Maybe the 0.5 series should be masked in the uclibc profile. I haven't tested the USE=ipv6
Also need to add sys-kernel/linux-headers to DEPENDS ..otherwise might end up 4h through an catalyst build to find that out :)
Seems to be fixed, plese consider marking RESOLVED FIXED. See http://bugs.gentoo.org/show_bug.cgi?id=121919#c0
Fixed in >=0.6.2