Summary: | net-misc/iputils-021109-r1 fails to compile : error in configure.in | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Benoit Boissinot <benoit.boissinot> |
Component: | Current packages | Assignee: | Joshua Kinard <kumba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | plasmaroo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 38774 | ||
Attachments: | Patch removes compile/install support for racoon tools |
Description
Benoit Boissinot
2004-02-19 04:00:16 UTC
Any ideas on this? I've also tried the fix recommended in #41095 for a similar problem with metamail, namely 'FEATURES="keeptemp keepwork" WANT_AUTOCONF="2.5" emerge iputils', but no joy. Are you using ipsec related stuff, or more specifically, does the following file exist for you?: /usr/include/linux/pfkeyv2.h If so, iputils attempts to compile an extra set of utilities. the breakage is likely occuring in here. Try re-merging autoconf and flex, see if that changes anything. See the comments in Bug #38774 for similar issues as well and a possible solution. I haven't been able to reproduce this yet, mainly because I lack the pfkeyv2.h header. I can confirm with kernel 2.6.3-mm1 and linux-headers 2.6.3. (Re)merging autoconf/flex/openssl did nothing. Same problem for me. I'm installing from stage1-x86-20040204 and braking at this point in emerge system on iputils-021109-r1. I have linux-headers-2.6.3 installed, and I have the aforementioned header file. Reemerging flex and autoconf did nothing for me either. Okay, the solution for me was to delete all lines related to "racoon" in the ebuild. Best as I can tell, the stuff under that subdirectory are VPN/IPSec related, and I don't care about any of that (that I know of). Attached is a patch that carries this out, though I would imagine that this is something that should be *fixed* instead. I know nothing about m4, so I don't know what the undefined macro errors is all about. ;-) Created attachment 26086 [details, diff]
Patch removes compile/install support for racoon tools
plasmaroo: I think you added this support originally -- Any idea what can be done here? The conditional hangs on the existance of pfvkey2.h existing, which could be the case on machines that don't need this additional iputils support. Maybe the best approach is a USE Flag for this support? Hmmm - well, the racoon stuff is under a *sh "Do I have pfkeyv2.h?" conditional, mainly because that header is needed for things to go for racoon. Try changing the "autoconf || die" to an "autoconf" -- it seems to compile more-or-less with their packaged pre-autoconfig'ed ./configure script so I guess that should work. If that fixed the issue, can somebody please confirm this and I'll add the change to CVS? Thanks! That fixed the issue for me. Thanks Fixed in CVS, should hit Portage within an hour. Thanks! |