Bug 68598 - net-dns/dnsmasq 2.16 error: 'index' redeclared as different kind of symbol
|
Bug#:
68598
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: avenj@gentoo.org
|
Reported By: mog.johnny@gmx.net
|
|
Component: Server
|
|
|
URL:
|
|
Summary: net-dns/dnsmasq 2.16 error: 'index' redeclared as different kind of symbol
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-10-22 16:06 0000
|
# FEATURES="-distcc" MAKEOPTS="-j1" emerge dnsmasq
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dns/dnsmasq-2.16 to /
>>> md5 src_uri ;-) dnsmasq-2.16.tar.gz
>>> Unpacking source...
>>> Unpacking dnsmasq-2.16.tar.gz to /var/tmp/portage/dnsmasq-2.16/work
>>> Source unpacked.
make[1]: Entering directory `/var/tmp/portage/dnsmasq-2.16/work/dnsmasq-2.16/src'
cc -m32 -O3 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -Wall -W -c cache.c
cache.c:20: error: 'index' redeclared as different kind of symbol
cache.c:20: error: 'index' redeclared as different kind of symbol
make[1]: *** [cache.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dnsmasq-2.16/work/dnsmasq-2.16/src'
make: *** [all] Error 2
!!! ERROR: net-dns/dnsmasq-2.16 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0,
2.6.8-gentoo-r5 i686)
=================================================================
System uname: 2.6.8-gentoo-r5 i686 mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.5.3
distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers: sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-m32 -O3 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/NX/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-m32 -O3 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex 3dnowext X X509 Xaw3d aalib accessibility acl acpi
activefilter adns afs aim alsa apache2 apm arts asterisk atm audiofile avi
bcmath berkdb bidi bitmap-fonts blender-game bluetooth bmp bonobo bzlib
calendar camaelon caps cddb cdparanoia cdr chroot clearpasswd codecs cpdflib
crypt cscope ctype cups curl curlwrappers cyrus dbase dbm dbx dedicated
devfs26 dga dhcp dio directfb divx4linux djbfft dts dvd dvdr dvdread edl eds
emacs encode esd ethereal evo exif f77 faad fam fax fbcon fbdev fdftk fftw
filepro firebird flac flashflatfile flexresp flood fltk fluidsynth foomaticdb
frascend freetds frlargefiles frxp ftp gb gcj gd gd-external gdbm ggi gif
gimpprint gmp gnokii gnome gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer
gtk gtk2 gtkhtml guile hal howl icc iconv icq idea imagemagic imagemagick imap
imlib inetd inifile innodb insecure-drivers ipalias ipv6 irda jabber jack
jack-tmpfs java javamail javascript jbig jce jikes jit jks jms joystick jpeg
jpeg2k junit jython kde kerberos ladcca latex lcd lcms ldap libcaca libg++
libgda libwww lirc live lzo lzw-tiff mad maildir maildrop mailwrapper matroska
mbox mbrola mcal mcve mecab memlimit mhash mikmodmime ming mmx mmx2 motif
mozcalendar mozilla mozsvg mpeg mpi mppe-mppc msn multitarget mysql mythtv
nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf network neural
nis nls nntp nptl nptlonly oav objc odbc offensive oggvorbis opengl oscar oss
pam pcap pcmciapcntl pcre pcsc-lite pda pdflib perl pg-hier pg-intdatetime
pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds
prelude procmail pvm python qt quicktime readline rhino rtc ruby samba sasl
scanner sdl serial session sftplogging shaper shared sharedmem silc simplexml
skey slang slp smartcard smime sndfile snmp snortsam soap sockets socks5
softquota soundtouch speex spell spl sqlite sse ssl stats stencil-buffer svg
svga sysvipcszip tcltk tcpd tetex tga theora threads tidy tiff tokenizer
transcode transparent-proxy truetype unicode usb v4l v4l2 vda vhosts vpopmail
wddx wifi wmf wxwindows x86 xim xine xinerama xml xml2 xmlrpc xmms xosd xpm
xprint xscreensaver xsl xv xvid xvmc yahoo yaz zlib"
Issues with gcc 3.4. Masked for now.
Just a FYI: dnsmasq-2.17 will be out shortly with a fix.
Well, it seems 2.17 hasn't shown up yet so I applied the official
upstream-gcc-3.4 fix as used in Debian. Please mark this at least ~unstable so
that people can test it.
Patch added (minus the debian/ cruft) and ebuild unmasked. Much thanks.