Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36943 - portmap-5b-r8 fails compile
Summary: portmap-5b-r8 fails compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 09:05 UTC by Simon Cooper
Modified: 2004-01-04 17:19 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 Simon Cooper 2004-01-01 09:05:43 UTC
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)...
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-01 12:24:29 UTC
What version of tcp-wrappers?
Comment 2 Simon Cooper 2004-01-01 12:38:29 UTC
7.6-r8
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-01 13:55:09 UTC
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 ?

Comment 4 Simon Cooper 2004-01-01 16:08:30 UTC
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
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2004-01-03 08:45:45 UTC
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
Comment 6 Simon Cooper 2004-01-04 11:37:15 UTC
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?
Comment 7 SpanKY gentoo-dev 2004-01-04 17:19:14 UTC
yes, just rm /lib/libwrap.a
it got left behind somehow ;)