Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187166 - net-firewall/ipsec-tools-0.6.7 ignores KERNEL_DIR
Summary: net-firewall/ipsec-tools-0.6.7 ignores KERNEL_DIR
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2007-07-30 20:17 UTC by Martin Väth
Modified: 2008-02-28 15:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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*