First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 41360
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Michal Januszewski <spock@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brendan Chandler <bren@uky.edu>
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 41360 depends on: Show dependency tree
Bug 41360 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-02-12 05:35 0000
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 From Brendan Chandler 2004-02-12 05:38:06 0000 -------
Sorry, I should have also made it clear that it does work if distcc is
disabled.

------- Comment #2 From Michal Januszewski 2004-02-13 08:44:27 0000 -------
Does `MAKEOPTS="-j1" emerge nmap`  work for you?

------- Comment #3 From Brendan Chandler 2004-02-14 09:33:13 0000 -------
Yes, -j1 works.

------- Comment #4 From Michal Januszewski 2004-02-14 14:05:27 0000 -------
Ok, thanks, it should be fixed now.

First Last Prev Next    No search results available      Search page      Enter new bug