Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14773 - mysql 3.23.55 does not compile
Summary: mysql 3.23.55 does not compile
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
: 17443 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-01-30 05:33 UTC by Andreas Proschofsky (RETIRED)
Modified: 2003-03-22 15:55 UTC (History)
2 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 Andreas Proschofsky (RETIRED) gentoo-dev 2003-01-30 05:33:22 UTC
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.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-30 15:50:42 UTC
please paste
#emerge info

which version of
sys-apps/tcp-wrappers
do you use ? (7.6-r3 works fine here)
Comment 2 Donny Davies (RETIRED) gentoo-dev 2003-01-30 17:31:42 UTC
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.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2003-01-31 04:08:56 UTC
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"
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2003-03-13 12:39:45 UTC
*** Bug 17443 has been marked as a duplicate of this bug. ***
Comment 5 Donny Davies (RETIRED) gentoo-dev 2003-03-22 15:55:57 UTC
your tcp_wrappers is too old, i think.

also, mysql-4.x is basically the new stable release.

try that as well...