User-Agent: Build Identifier: /usr/include/tcpd.h: In function `void* handle_connections_sockets(void*)': /usr/include/tcpd.h:135: too many arguments to function `void sock_host()' mysqld.cc:2513: at this point in file /usr/include/tcpd.h:73: too many arguments to function `int hosts_access()' mysqld.cc:2514: at this point in file /usr/include/tcpd.h:128: too many arguments to function `char* eval_client()' mysqld.cc:2522: at this point in file make[4]: *** [mysqld.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/mysql-3.23.55/work/mysql-3.23.55/sql' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/mysql-3.23.55/work/mysql-3.23.55/sql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/mysql-3.23.55/work/mysql-3.23.55/sql' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/mysql-3.23.55/work/mysql-3.23.55' make: *** [all] Error 2 !!! ERROR: dev-db/mysql-3.23.55 failed. !!! Function src_compile, Line 99, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: 1. 2. 3.
please paste #emerge info which version of sys-apps/tcp-wrappers do you use ? (7.6-r3 works fine here)
yes upgrade your tcp_wrappers and try that. failing that you could heither hack up your broken tcpd.h file or hack mysql-3.23.55/sql/mysqld.cc and change the macro there. i think changing the mysql source might be prone to segfaults? not sure... but best would be to get a upgraded tcp_wrappers i think.
Allready had tcp-wrappers 7.6-r3, reemerging does also not save the problem... #emerge info Portage 2.0.46-r9 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r3) ================================================================= System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(TM) XP 1700+ GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/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="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg kde libg++ mikmod mmx mpeg ncurses nls pdflib png qtmt quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl python esd imlib oggvorbis gtk qt motif opengl mozilla cdr dvd -gnome gtk2 samba scanner xfs -perl" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CXXFLAGS="-march=athlon-xp -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
*** Bug 17443 has been marked as a duplicate of this bug. ***
your tcp_wrappers is too old, i think. also, mysql-4.x is basically the new stable release. try that as well...