Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41360 - nmap 3.50-r1 fails to build with distcc
Summary: nmap 3.50-r1 fails to build with distcc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 05:35 UTC by Brendan Chandler
Modified: 2004-02-14 14:05 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 Brendan Chandler 2004-02-12 05:35:30 UTC
nmap 3.50-r1 fails to build with distcc, as shown below.

ms957g root # emerge nmap -av

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-analyzer/nmap-3.50-r1  -gnome +gtk  0 kB 

Total size of downloads: 0 kB

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) net-analyzer/nmap-3.50-r1 to /
.
.
.
gcc -O2 -march=i686 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -I../nbase -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLINUX=1 -DPCAP_TIMEOUT_IGNORED=1  -DVERSION=\"3.50\" -DHAVE_CONFIG_H=1 -I.    -c nmapfe_error.c
nmapfe_error.c: In function `fatal':
nmapfe_error.c:95: warning: implicit declaration of function `__builtin_va_start'
gcc -O2 -march=i686 -pipe -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -Wall -I../nbase -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLINUX=1 -DPCAP_TIMEOUT_IGNORED=1  -DVERSION=\"3.50\" -DHAVE_CONFIG_H=1 -I.    -L../nbase  -o nmapfe  nmapfe.o nmapfe_sig.o nmapfe_error.o  -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lnbase
nmapfe_error.o(.text+0x17): In function `fatal':
: undefined reference to `__builtin_va_start'
nmapfe_error.o(.text+0x87): In function `error':
: undefined reference to `__builtin_va_start'
nmapfe_error.o(.text+0xe7): In function `pfatal':
: undefined reference to `__builtin_va_start'
nmapfe_error.o(.text+0x157): In function `gh_perror':
: undefined reference to `__builtin_va_start'
collect2: ld returned 1 exit status
distcc[2910] ERROR: compile on localhost failed
make[1]: *** [nmapfe] Error 1
make[1]: Leaving directory `/var/tmp/portage/nmap-3.50-r1/work/nmap-3.50/nmapfe'
make: *** [nmapfe/nmapfe] Error 2
make: *** Waiting for unfinished jobs....

!!! ERROR: net-analyzer/nmap-3.50-r1 failed.
!!! Function src_compile, Line 29, Exitcode 2
!!! (no error message)

ms957g root # 

Reproducible: Always
Steps to Reproduce:
1. use ~x86 and distcc
2. emerge sync
3. emerge nmap




ms957g root # cat /etc/make.conf | egrep "(^USE|^CFLAGS)"
USE="X gtk gtk2 oss esd xinerama mozilla avi flac oggvorbis opengl png python
samba tiff java jpeg -arts -qt -kde -gnome alsa"
CFLAGS="-O2 -march=i686 -pipe"
Comment 1 Brendan Chandler 2004-02-12 05:38:06 UTC
Sorry, I should have also made it clear that it does work if distcc is disabled.
Comment 2 Michal Januszewski (RETIRED) gentoo-dev 2004-02-13 08:44:27 UTC
Does `MAKEOPTS="-j1" emerge nmap`  work for you?
Comment 3 Brendan Chandler 2004-02-14 09:33:13 UTC
Yes, -j1 works.
Comment 4 Michal Januszewski (RETIRED) gentoo-dev 2004-02-14 14:05:27 UTC
Ok, thanks, it should be fixed now.