fails quite early in the build (this is with -march=i686 -O2 -pipe): gcc -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -Wall -march=i686 -O2 -pipe -pipe -c -o from_local.o from_local.c from_local.c:39: warning: `sccsid' defined but not used gcc -Dperror=xperror -DHOSTS_ACCESS -DCHECK_PORT -DFACILITY=LOG_AUTH -DIGNORE_SIGCHLD -Wall -march=i686 -O2 -pipe -pipe -o portmap portmap.o pmap_check.o from_local.o //lib/libwrap.a -Wl,-Bstatic -lwrap -lutil -Wl,-Bdynamic -lnsl //lib/libwrap.a: file not recognized: File format not recognized collect2: ld returned 1 exit status make: *** [portmap] Error 1 !!! ERROR: net-nds/portmap-5b-r8 failed. !!! Function src_compile, Line 50, Exitcode 2 !!! (no error message) Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.6.0-love1) ================================================================= System uname: 2.6.0-love1 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.4.3.12 distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -ffast-math -fforce-addr -ftracer -fstack-protector -maccumulate-outgoing-args -mfpmath=sse,387" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -ffast-math -fforce-addr -ftracer -fstack-protector -maccumulate-outgoing-args -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apm avi berkdb cdr crypt cups directfb dvd encode esd fbcon foomaticdb gdbm gif gpm gtk gtk2 imap imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib" Could be problem with glibc, gcc, 2.6 kernel, lack of devfs support (im using udev)...
What version of tcp-wrappers?
7.6-r8
Hmm, then you should not have a /lib/libwrap.a. Can you do: # ls -l /lib/libwrap.a # file /lib/libwrap.a and post it please ?
nervada simon # ls -l /lib/libwrap.a -rw-r--r-- 1 root root 51204 Dec 21 16:49 /lib/libwrap.a nervada simon # file /lib/libwrap.a /lib/libwrap.a: data
You should not have a /lib/libwrap.a. Make sure you only have -r8 of tcp-wrappers installed, and that you have /usr/lib/libwrap.a. A file of libwrap.a should give: $ file /usr/lib/libwrap.a /usr/lib/libwrap.a: current ar archive
Ive only got -r8 installed, and /usr/lib/libwrap.a is there present and correct. So can I delete libwrap.a, or is something still hanging on to it?
yes, just rm /lib/libwrap.a it got left behind somehow ;)