Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129660 - dev-db/mysql-5.0.19-r1 failed to compile
Summary: dev-db/mysql-5.0.19-r1 failed to compile
Status: RESOLVED DUPLICATE of bug 129584
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 129661 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-12 01:15 UTC by Denis Kot
Modified: 2006-04-12 01:59 UTC (History)
0 users

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 Denis Kot 2006-04-12 01:15:19 UTC
Making all in tests
make[2]: Entering directory `/var/tmp/portage/mysql-5.0.19-r1/work/mysql/tests'
if i686-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=pentium3 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1   -MT mysql_client_test.o -MD -MP -MF ".deps/mysql_client_test.Tpo" -c -o mysql_client_test.o mysql_client_test.c; \
then mv -f ".deps/mysql_client_test.Tpo" ".deps/mysql_client_test.Po"; else rm -f ".deps/mysql_client_test.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=pentium3 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1   -MT insert_test.o -MD -MP -MF ".deps/insert_test.Tpo" -c -o insert_test.o insert_test.c; \
then mv -f ".deps/insert_test.Tpo" ".deps/insert_test.Po"; else rm -f ".deps/insert_test.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=pentium3 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1   -MT select_test.o -MD -MP -MF ".deps/select_test.Tpo" -c -o select_test.o select_test.c; \
then mv -f ".deps/select_test.Tpo" ".deps/select_test.Po"; else rm -f ".deps/select_test.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=pentium3 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1   -c -I../include -I../include  thread_test.c
/bin/sh ../libtool --preserve-dup-deps --mode=link i686-pc-linux-gnu-g++  -DDBUG_OFF -march=pentium3 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates   -fno-implicit-templates -fno-exceptions -fno-rtti  -rdynamic  -o insert_test  insert_test.o  -all-static ../libmysql/libmysqlclient.la -lcrypt -lnsl -lm   -lz
mkdir .libs
mysql_client_test.c:14873: error: redefinition of `test_bug17667'
mysql_client_test.c:14831: error: `test_bug17667' previously defined here
make[2]: *** [mysql_client_test.o] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-g++ -DDBUG_OFF -march=pentium3 -O3 -pipe -fomit-frame-pointer -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o insert_test insert_test.o -static  ../libmysql/.libs/libmysqlclient.a -lcrypt -lnsl -lm -lz
../libmysql/.libs/libmysqlclient.a(mf_pack.o): In function `expand_tilde':
mf_pack.c:(.text+0x773): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../libmysql/.libs/libmysqlclient.a(libmysql.o): In function `read_user_name':
libmysql.c:(.text+0x30c1): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../libmysql/.libs/libmysqlclient.a(mf_pack.o): In function `expand_tilde':
mf_pack.c:(.text+0x77c): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../libmysql/.libs/libmysqlclient.a(my_gethostbyname.o): In function `my_gethostbyname_r':
my_gethostbyname.c:(.text+0x33): warning: Using 'gethostbyname_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
../libmysql/.libs/libmysqlclient.a(libmysql.o): In function `mysql_server_init':
libmysql.c:(.text+0xb4): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[2]: Leaving directory `/var/tmp/portage/mysql-5.0.19-r1/work/mysql/tests'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mysql-5.0.19-r1/work/mysql'
make: *** [all] Error 2

!!! ERROR: dev-db/mysql-5.0.19-r1 failed.
!!! Function mysql_src_compile, Line 422, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.

# emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS=" -march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=" -march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://mirror.datapipe.net/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.icd.hu/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 acl activefilter apache2 apm audiofile bash-completion berkdb bitmap-fonts bzip2 candy cap cgi chroot clamav crypt curl dedicated dri eds emboss expat extensions fastcgi fortran gd gdbm geoip gif gmp gpm gstreamer idn imap imlib innodb isdnlog jabber jpeg libg++ libwww maildir max-idx-128 mhash mp3 mppe-m mysql ncurses nls notlsbeforeauth nptl ogg pam pcre pear-db perl pic png postgres pppd python quotas radius readline samba sasl sdl session shaper slang snmp softquota spell sse ssl tcpd truetype truetype-fonts type1-fonts udev utf8 vda vhosts virus-scan vorbis xchatnogtk xchattext xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

I've tried both with static and -static flags. 5.0.19 was compiled with -static flag without any problems.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 01:57:48 UTC
*** Bug 129661 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 01:59:40 UTC

*** This bug has been marked as a duplicate of 129584 ***