Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 67569
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Robin Johnson <robbat2@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 67569 depends on: Show dependency tree
Bug 67569 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-14 11:40 0000
>>> emerge (1 of 38) net-misc/iputils-021109-r3 to /
>>> md5 src_uri ;-) iputils-ss021109-try.tar.bz2
>>> Unpacking source...
>>> Unpacking iputils-ss021109-try.tar.bz2 to /var/tmp/portage/iputils-021109-r3/work
 * Applying 021109-gcc34.patch...                                                                                                  [ ok ]
 * Applying 021109-no-pfkey-search.patch...                                                                                        [ ok ]
 * Applying iputils-021109-linux-udp-header.patch...                                                                               [ ok ]
>>> Source unpacked.
gcc -Os -mips32 -mabi=32 -fno-unit-at-a-time -save-temps -include ../include-glibc/glibc-bugs.h -I../include-glibc -I//usr/include -DIPSEC_DEBUG -DIPSEC -DINET6 -Wall   -c -o ipsec_dump_policy.o ipsec_dump_policy.c
In file included from ../include-glibc/netinet/ipsec.h:2,
                 from ipsec_dump_policy.c:37:
/usr/include/linux/ipsec.h:18:22: net/sock.h: No such file or directory
make: *** [ipsec_dump_policy.o] Error 1

!!! ERROR: net-misc/iputils-021109-r3 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! libipsec failed
!!! If you need support, post the topmost build error, NOT this status message.

Appears to be related to mips-headers, as none of the other headers suffer this problem. /usr/include/linux/ipsec.h is identical between mips-headers and linux-headers, and net/sock.h doesn't exist in either of them. The only place I can find a sock.h is in a bunch of kernel sources.

One comment on this, could we have a way to leave out the ipsec tools? I have no need of them on this machine.

Reproducible: Always
Steps to Reproduce:




Portage 2.0.51_rc9 (!/usr/portage/profiles/default-linux/mips/xxs1500/2004.2, 
gcc-3.4.2, glibc-2.3.2-r11,glibc-2.3.4.20040619-r2, 2.6.9-rc2 mips)
=================================================================
System uname: Try `uname --help' for more information.
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake:
Binutils: sys-devel/binutils-2.15.91.0.2
Headers:  sys-kernel/mips-headers-2.4.22-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="mips ~mips"
AUTOCLEAN="yes"
CFLAGS="-Os -mips32 -mabi=32 -fno-unit-at-a-time -save-temps"
CHOST="mipsel-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mips32 -mabi=32 -fno-unit-at-a-time -save-temps"
DISTDIR="/usr/gentoo-distfiles"
FEATURES="autoaddcvs buildpkg ccache confcache cvs distlocks userpriv"
GENTOO_MIRRORS="http://gentoo.osuosl.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/gentoo-packages/mipsel"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC=""
USE="mips crypt multicall pam pic zlib"

------- Comment #1 From j. 2004-11-09 15:40:04 0000 -------
same problem on a new x86 install with linux-headers-2.4.22

------- Comment #2 From Robin Johnson 2004-11-16 01:41:55 0000 -------
base-system: this is not a mips-specific bug.
iputils shouldn't just check for the existance of ipsec.h
as it does exist in some of the 2.4 kernel headers, but in them it is unusable.
the one from linux26-headers is however usable (and doesn't include sock.h).

------- Comment #3 From Omer Hasan 2004-12-30 19:27:39 0000 -------
I am currently getting:

icylen.o  pfkey.o       policy_token.o ipsec_strerror.o       pfkey_dump.o
rcs: warning: No options were given; this usage is obsolescent.
rcs: RCS/libipsec.a,v: No such file or directory
rcs: RCS/ipsec_dump_policy.o,v: No such file or directory
rcs: RCS/key_debug.o,v: No such file or directory
rcs: RCS/policy_parse.o,v: No such file or directory
rcs: RCS/ipsec_get_policylen.o,v: No such file or directory
rcs: RCS/pfkey.o,v: No such file or directory
rcs: RCS/policy_token.o,v: No such file or directory
rcs: RCS/ipsec_strerror.o,v: No such file or directory
rcs: RCS/pfkey_dump.o,v: No such file or directory
make: *** [libipsec.a] Error 1

!!! ERROR: net-misc/iputils-021109-r3 failed.
!!! Function src_compile, Line 69, Exitcode 2
!!! libipsec failed

emerge info:
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-nitro3 i686)
=================================================================
System uname: 2.6.9-nitro3 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache cups distlocks fixpackages foomaticdb moo nls ppds sandbox sfperms usb"
GENTOO_MIRRORS="ftp://gentoo.ccccom.com http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X aalib acl acpi alsa apache2 arts artworkextra avi berkdb bitmap-fonts bonobo cdr crypt cups divx4linux dvd dvdr eds encode esd fam flac font-server foomaticdb fortran gd gd-external gdbm gif gimp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib ipv6 java joystick jpeg junit kde ldap libclamav libwww mad mikmod mmx motif mozilla mp3 mpeg mysql nas ncurses network nls nptl nptlonly nvidia oav oggvorbis opengl oss pam pda pdflib perl php pic plotutils png ppds python qt quicktime readline real samba scanner sdl slang spell sse sse2 ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb xml xml2 xmms xv xvid xvmc zlib"

------- Comment #4 From SpanKY 2005-01-03 20:27:59 0000 -------
fixed in cvs

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug