Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37096

Summary: ipsec-tools-0.2.2 won't complile -> possible dependency missing with kernel: gentoo-2.4.22-r2
Product: Gentoo Security Reporter: Rene Androsch <art>
Component: VulnerabilitiesAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rene Androsch 2004-01-03 05:18:28 UTC
It seems to need the 2.5 kernel sources. But it doesn't have a dependency for it.
And it seems to search it also in the 2.4.22-gentoo-r2 sources where it also won't find it.


Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge -qD ipsec-tools
2.
3.

Actual Results:  
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking net/pfkeyv2.h usability... no
checking net/pfkeyv2.h presence... no
checking for net/pfkeyv2.h... no
checking netinet/ipsec.h usability... no
checking netinet/ipsec.h presence... no
checking for netinet/ipsec.h... no
checking for /lib/modules/2.4.22-gentoo-r2/build/include/linux/pfkeyv2.h... no
checking for /usr/src/devel-2.5/devel/include/linux/pfkeyv2.h... no
configure: error: Unable to find linux-2.5 kernel headers

!!! ERROR: net-firewall/ipsec-tools-0.2.2 failed.
!!! Function src_compile, Line 24, Exitcode 1
!!! (no error message)
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-03 05:44:35 UTC
It needs 2.6, not 2.5 sources; I've added a fatal warning to the ebuild now A dependency wouldn't work as there are many kernel trees which provide 2.6 sources, and it is up to the user to select one, not for Portage. Thanks.