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

Bug 187166

Summary: net-firewall/ipsec-tools-0.6.7 ignores KERNEL_DIR
Product: Gentoo Linux Reporter: Martin Väth <martin>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Väth 2007-07-30 20:17:01 UTC
net-firewall/ipsec-tools-0.6.7 (and I guess also earlier versions) looks for kernel-headers in /usr/src/linux/include (and some other places) but neither in /usr/include/linux nor in "${KERNEL_DIR}/include".

Especially, if KERNEL_DIR is set, the latter should override /usr/src/linux/include, although I am not sure whether even /usr/include/linux should have further precedence.

In any case, ignoring KERNEL_DIR and using /usr/src/linux instead is obsolete and not consistent with the behavior of other ebuilds using kernel headers.

(I am aware that this is some sort of dupe of bug 76741, but it seems to me that the comments/patches of bug 76741 are rather out of date and do not refer to KERNEL_DIR anyway.)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 11:28:34 UTC
Do you have a patch? I looked at the ebuild and it makes my eyes bleed...
Comment 2 Martin Väth 2008-02-28 15:53:45 UTC
I tested now again, and to my surprise KERNEL_DIR is now honoured.
No idea what is different, because the ebuild was not changed.
Probably some eclass has been fixed meanwhile.
So I close this bug.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-28 15:55:13 UTC
Excellent... *g*