Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267517 - net-firewall/ipsec-tools does not build with kernel 2.6.29 and KBUILD_OUTPUT
Summary: net-firewall/ipsec-tools does not build with kernel 2.6.29 and KBUILD_OUTPUT
Status: RESOLVED DUPLICATE of bug 264388
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 09:36 UTC by Martin Väth
Modified: 2009-04-26 12:48 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2009-04-26 09:36:47 UTC
Emerging of net-firewall/ipsec-tools-0.7.2 and -0.7.1 dies on my machine with

../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h:
No such file or directory

Note that the above file is by a symlink $KERNEL_DIR/include/linux/swab.h,
i.e. apparently some kernel headers directory is missing from the include
path.

I should note that I use a KBUILD_OUTPUT directory which differs
from KERNEL_DIR. However, ipsect-tools-0.7.1 had built without problem
with an earlier kernel version (and perhaps earlier linux-headers).
The above problem occurs with gentoo-sources-2.6.29-r1 (patched with
grsecurity and aufs2, but I suppose that this is not related).
Comment 1 Martin Väth 2009-04-26 09:48:34 UTC
(In reply to comment #0)
> 
> ../../src/include-glibc/linux/swab.h:6:22: error: asm/swab.h:
> No such file or directory
> 
> Note that the above file is by a symlink $KERNEL_DIR/include/linux/swab.h

I should clarify: I meant
../../src/include-glibc/linux/swab.h = $KERNEL_DIR/include/linux/swab.h
The file which is supposed to be included is probably 
$KERNEL_DIR/arch/x86/include/asm/swab.h
where, of course, x86 has to be replaced for other architectures.
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 11:01:13 UTC

*** This bug has been marked as a duplicate of bug 264388 ***
Comment 3 Martin Väth 2009-04-26 11:13:06 UTC
Sorry for the dupe: I realized now with my browser history that I had looked
by mistake for existing bugs of "ipsect-tools" (one "t" too much...).
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-26 12:48:40 UTC
(In reply to comment #3)
> Sorry for the dupe: I realized now with my browser history that I had looked
> by mistake for existing bugs of "ipsect-tools" (one "t" too much...).

Don't worry. We're all far from being perfect :)