Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23915 - nessus-libraries-2.0.6a fails to compile
Summary: nessus-libraries-2.0.6a fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-03 09:28 UTC by Miguel Sousa Filipe
Modified: 2003-07-14 06:02 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 Miguel Sousa Filipe 2003-07-03 09:28:23 UTC
nessus-libraries fails to compile in a x86 stable gentoo environment.
Probable cause, i'm using distcc, and ccache.
libtool didn't seem to like that.

here is the last lines of the emerge:
O2 -mcpu=i686 -pipe -I.  -Ilinux-include -I../../include -DHAVE_CONFIG_H 
-DNESSUS_ON_SSL   -DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1
-DHAVE_NET_IF_ARP_H=1  -I. -DHAVE_SSL -I/usr/lib/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libpcap-nessus
-c ./pcap-linux.c
/bin/sh /var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libtool
ccache distcc -pipe -O2 -mcpu=i686 -pipe -O2 -O2 -mcpu=i686 -pipe -I. 
-Ilinux-include -I../../include -DHAVE_CONFIG_H  -DNESSUS_ON_SSL  
-DHAVE_MALLOC_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_NET_IF_ARP_H=1
 -I. -DHAVE_SSL -I/usr/lib/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libpcap-nessus
-c ./pcap.c
libtool: warning: cannot infer operation mode from `ccache'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [pcap-linux.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: warning: cannot infer operation mode from `ccache'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [pcap.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libpcap-nessus'
make: [pcap-make] Error 2 (ignored)
cd libnessus && make
make[1]: Entering directory
`/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libnessus'
/bin/sh /var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libtool
ccache distcc -pipe -I../ -DHAVE_CONFIG_H  -DNESSUS_ON_SSL  -I. -DHAVE_SSL
-I/usr/lib/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libpcap-nessus
 -O2 -mcpu=i686 -pipe -c plugutils.c
/bin/sh /var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libtool
ccache distcc -pipe -I../ -DHAVE_CONFIG_H  -DNESSUS_ON_SSL  -I. -DHAVE_SSL
-I/usr/lib/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/include
-I/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libpcap-nessus
 -O2 -mcpu=i686 -pipe -c system.c
libtool: warning: cannot infer operation mode from `ccache'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [plugutils.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: warning: cannot infer operation mode from `ccache'
libtool: you must specify a MODE
Try `libtool --help' for more information.
make[1]: *** [system.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/nessus-libraries-2.0.6a/work/nessus-libraries/libnessus'
make: *** [all] Error 2

!!! ERROR: net-analyzer/nessus-libraries-2.0.6a failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! emake failed





Here is the emerge info of the machine. (I'm USING DISTCC).

maxwell root # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20-xfs-r3 i686 Intel(R) Pentium(R) 4 CPU 2.26GHz
GENTOO_MIRRORS="ftp://ftp.rnl.ist.utl.pt/gentoo ftp://ftp.gtlib.cc.gatech.edu/pu
b/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 3dnow avi cups encode gif jpeg gnome libg++ mikmod mmx mpeg ncurses nls
 pdflib png quicktime spell truetype xmms xv gdbm berkdb slang readline arts svg
a tcltk guile X sdl gpm tcpd libwww perl python esd imlib oggvorbis gtk qt kde m
otif opengl mozilla apache2 acpi apm crypt dga gd ipv6 java ldap oss pam samba s
sl xml xml2 zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://ftp.rnl.ist.utl.pt/gentoo-portage"
FEATURES="sandbox ccache distcc userpriv usersandbox fixpackages"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-10 04:49:18 UTC
Which version of ccache and distcc are you using? Are your distcc hosts using the same versions?
I'm also using distcc/ccache and don't experience any problems.

The difference between your emerge log and mine is that in your case the compiler is called as "ccache distcc" instead of "gcc" - it should definitely not be like this. Please re-emerge ccache and distcc if you can't fix this problem manually, then try again and tell me what happened.
Comment 2 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-13 22:56:09 UTC
Miguel? Still there?
Comment 3 Miguel Sousa Filipe 2003-07-14 05:59:21 UTC
Hi Patrick, 
Sorry for the delay. The thing is that the host wich failed possibly had some altered environment variables, like CC, etc....
So the build might have been affected by that, and because of that I can't really confirm this bug, sorry.. my fault, should've checked the config properly.

Has soon has possible i'll try to re-emerge nessus-libs in that machine. (funny thing, he he reiserfs crashed on that machine, i'm doing a reiserfsck --rebuild-tree right now..) 

Miguel Filipe
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2003-07-14 06:02:11 UTC
Ok. Please tell me if you are able to reproduce some problem, until then I consider this as RESOLVED/INVALID.