Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126479 - net-analyzer/iptraf-3.0.0-r1 fails to build on glibc-2.4 with USE ipv6
Summary: net-analyzer/iptraf-3.0.0-r1 fails to build on glibc-2.4 with USE ipv6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-16 19:29 UTC by Mark D.
Modified: 2006-03-21 17:31 UTC (History)
3 users (show)

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 Mark D. 2006-03-16 19:29:37 UTC
gcc -march=athlon64 -O2 -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"x86_64-pc-linux-gnu\"     -c -o ifstats.o ifstats.c
othptab.c: In function `printothpentry':
othptab.c:563: error: `ICMP6_DST_UNREACH_NOTNEIGHBOR' undeclared (first use in this function)
othptab.c:563: error: (Each undeclared identifier is reported only once
othptab.c:563: error: for each function it appears in.)
othptab.c:595: error: `ICMP6_MEMBERSHIP_QUERY' undeclared (first use in this function)
othptab.c:598: error: `ICMP6_MEMBERSHIP_REPORT' undeclared (first use in this function)
othptab.c:601: error: `ICMP6_MEMBERSHIP_REDUCTION' undeclared (first use in this function)
make: *** [othptab.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory `/var/tmp/portage/iptraf-3.0.0-r1/work/iptraf-3.0.0/src'

iptraf fails to build when using ipv6 use variables. It builds fine without ipv6.

From genlop:
     Mon Jan 30 14:36:37 2006 >>> net-analyzer/iptraf-3.0.0-r1
We can see I built this same version of iptraf perfectly on amd64 with ipv6 use variable before. The only thing I did recently was to upgrade to glibc 2.4. I heard to was good to rebuild my whole system after upgrading, so I did. Now iptraf does not build!
Comment 1 Guy 2006-03-18 16:57:15 UTC
Same problem here after upgrading my TC glibc-2.4

I rebuilt my system as per my comments in this thread: http://forums.gentoo.org/viewtopic-p-3190668.html#3190668

.oOo.

Portage 2.1_pre6-r3 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.4-r1, 2.6.15.6 x86_64)
=================================================================
System uname: 2.6.15.6 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts audacious audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cdda cddb cdparanoia cdr chroot crypt cups curl curlwrappers dbus dga dio directfb divx4linux dmx dri dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif extrafilters fame fbcon ffmpeg firefox flac flash foomaticdb fortran gcj gd gd-external gdbm ggi gif gimp gimpprint glut gnome gnutils gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imap imlib infopipe ipv6 irc jabber java javascript jikes jpeg jpeg2k junit kde kerberos lcms ldap libcaca libedit libvisual libwww lm_sensors lzo lzw lzw-tiff mad matroska mikmod mime ming mjpeg mmap mng mozcalendar mozilla mozsvg mp3 mpeg musepack musicbrainz mysql mysqli nas ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl oscar pam pcre pda pdflib perl php png portaudio posix postgres ppds python qt quicktime readline real rtc ruby samba sasl scanner sdk sdl session shorten simplexml skins slang slp sndfile snmp soap sockets sox speex spell spl sqlite ssl svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vcdimager vchroot verbose vhosts videos visualization vorbis wma wmf wxgtk1 xcomposite xface xine xinerama xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2006-03-19 06:21:17 UTC
Can reproduce it now, depends on glibc internal change and thus isn't amd64 specific.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-03-21 15:04:36 UTC
fixed in cvs now
Comment 4 Mark D. 2006-03-21 17:31:59 UTC
Confirming that it works, Thanks!!