Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129584 - dev-db/mysql-5.0.19-r1 compile error: redefinition of 'test_bug17667'
Summary: dev-db/mysql-5.0.19-r1 compile error: redefinition of 'test_bug17667'
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
: 129626 129633 129660 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-11 05:57 UTC by Matteo Spreafico
Modified: 2006-04-12 03:21 UTC (History)
10 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 Matteo Spreafico 2006-04-11 05:57:34 UTC
make[2]: Entering directory `/var/tmp/portage/mysql-5.0.19-r1/work/mysql/tests'
if x86_64-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -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 x86_64-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -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 x86_64-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -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
x86_64-pc-linux-gnu-gcc -DUNDEF_THREADS_HACK -I. -I. -I.. -I../include -I../include     -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1   -c -I../include -I../include  thread_test.c
/bin/sh ../libtool --preserve-dup-deps --mode=link x86_64-pc-linux-gnu-g++  -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates   -fno-implicit-templates -fno-exceptions -fno-rtti  -Wl,-O1 -rdynamic  -o insert_test  insert_test.o  -lstdc++ ../libmysql/libmysqlclient.la -lcrypt -lnsl -lm  -L/usr/lib64 -lssl -lcrypto -lz
/bin/sh ../libtool --preserve-dup-deps --mode=link x86_64-pc-linux-gnu-g++  -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates   -fno-implicit-templates -fno-exceptions -fno-rtti  -Wl,-O1 -rdynamic  -o select_test  select_test.o  -lstdc++ ../libmysql/libmysqlclient.la -lcrypt -lnsl -lm  -L/usr/lib64 -lssl -lcrypto -lz
mkdir .libs
mysql_client_test.c:14873: error: redefinition of 'test_bug17667'
mysql_client_test.c:14831: error: previous definition of 'test_bug17667' was here
make[2]: *** [mysql_client_test.o] Error 1
make[2]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-g++ -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -Wl,-O1 -rdynamic -o .libs/insert_test insert_test.o  /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lgcc_s -lc ../libmysql/.libs/libmysqlclient.so -L/usr/lib64 -lcrypt -lnsl -lm -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/lib64/mysql
creating insert_test
x86_64-pc-linux-gnu-g++ -DDBUG_OFF -march=athlon64 -O3 -ftracer -pipe -msse3 -DHAVE_ERRNO_AS_DEFINE=1 -felide-constructors -fno-exceptions -fno-rtti -fno-implicit-templates -fno-implicit-templates -fno-exceptions -fno-rtti -Wl,-O1 -rdynamic -o .libs/select_test select_test.o  /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/libstdc++.so -L/usr/x86_64-pc-linux-gnu/bin -L/usr/x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6 -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -lgcc_s -lc ../libmysql/.libs/libmysqlclient.so -L/usr/lib64 -lcrypt -lnsl -lm -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/lib64/mysql
creating select_test
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.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  ebuild.sh, line 1242:   Called mysql_src_compile
  mysql.eclass, line 422:   Called die

!!! compile problem
!!! If you need support, post the topmost build error, and the call stack if relevant.


Portage 2.1_pre7-r5 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r1 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     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-r2
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=athlon64 -O3 -ftracer -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O3 -ftracer -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect confcache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.ngi.it/ http://distfiles.gentoo.org"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages-p2"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts blas bzip2 caps cdparanoia cdr cli crypt ctype cups curl curlwrappers dba dbus dri dts dvd dvdr dvdread eds emboss encode esd exif expat fastbuild ffmpeg fftw flac flash foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm gif gmp gnome gnutls gpm gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imap imlib iodbc ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lapack lcms ldap libcaca libedit libgda lm_sensors lzw lzw-tiff mad mailwrapper matroska mbox memlimit mhash ming mng motif mp3 mpeg mysql ncurses netcdf nis nls nptl nsplugin odbc offensive ogg opengl pam pcntl pcre pdf pdflib perl php png posix postgres ppds pppd prelude python qt quicktime readline samba sasl scanner sdl session simplexml slang slp smartcard sndfile snmp soap sockets socks5 speex spell spl sqlite ssl svg sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd vorbis wmf xine xml xml2 xmlrpc xmms xosd xpm xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_it userland_GNU video_cards_nvidia video_cards_vesa video_cards_vga video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK
Comment 1 James Grant 2006-04-11 08:04:20 UTC
It looks like its applying two versions of the same patch (but looking at the source, different implementations)

 * using "200_all_query-logging-bypass-5.0.19.patch"
 * >    Fix bug #128713
 * using "201_all_query-logging-bypass-5.0.19.patch"
 * >    Fix bug #128713
Comment 2 Gregg Casillo 2006-04-11 08:15:47 UTC
Same problem here.

Portage 2.1_pre7-r5 (default-linux/x86/2005.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://gentoo.mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib cdr cli crypt cups dri dts dv dvd dvdr dvdread eds encode ffmpeg flac foomaticdb freetype gdbm gif gstreamer imap imlib innodb isdnlog jpeg kde kdeenablefinal kdexdeltas libg++ libwww live mad maildir matroska mime mjpeg mmx mmxext mng mp3 mp4live mpeg mplayer mysql nas ncurses network nls nptl nptlonly nvidia ogg oggvorbis openal opengl oss pcre pdflib perl php png pppd python qt quicktime rar readline real rtc sdl sndfile sockets speex sse sse2 ssl subversion svg tcpd theora tidy tiff truetype truetype-fonts type1-fonts usb v4l2 vhosts vorbis win32codecs x264 xine xinerama xml xml2 xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Leonid Podolny 2006-04-11 09:41:49 UTC
Same here.
Comment 4 Francesco R. (RETIRED) gentoo-dev 2006-04-11 10:28:43 UTC
committed a new patchset,

mysql-extras-20060411.tar.bz2

this one trim the test part of the patch fixing the issue, please test and if the case close.
Comment 5 Herbie Hopkins (RETIRED) gentoo-dev 2006-04-11 10:48:19 UTC
WFM
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-04-11 12:46:45 UTC
*** Bug 129626 has been marked as a duplicate of this bug. ***
Comment 7 Leonid Podolny 2006-04-11 13:07:23 UTC
Works for me.
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-04-11 13:48:07 UTC
*** Bug 129633 has been marked as a duplicate of this bug. ***
Comment 9 Alexander Skwar 2006-04-11 22:35:43 UTC
NOT fixed!

(In reply to comment #4)
> committed a new patchset,
> 
> mysql-extras-20060411.tar.bz2
> 
> this one trim the test part of the patch fixing the issue, please test and if
> the case close.
> 


!!! No message digest entry found for file "mysql-extras-20060411.tar.bz2."
!!! Most likely a temporary problem. Try 'emerge sync' again later.
!!! If you are certain of the authenticity of the file then you may type
!!! the following to generate a new digest:
!!!   ebuild /usr/portage/category/package/package-version.ebuild digest


I synced a few seconds ago.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 01:59:40 UTC
*** Bug 129660 has been marked as a duplicate of this bug. ***
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2006-04-12 02:00:15 UTC
(In reply to comment #9)
> NOT fixed!

*completely* unrelated, please don't clutter this bug w/ offtopic comments.
Comment 12 Alexander Skwar 2006-04-12 03:21:03 UTC
(In reply to comment #11)
> (In reply to comment #9)
> > NOT fixed!
> 
> *completely* unrelated, please don't clutter this bug w/ offtopic comments.
> 

Yes, it very much IS related. See comment #4:

(In reply to comment #4)
> committed a new patchset,
> 
> mysql-extras-20060411.tar.bz2
> 
> this one trim the test part of the patch fixing the issue, please test and if
> the case close.
> 


As you can see, the file got added and because it got added, the comment #4 was sent.

But anyway, it seems to be fixed by now.