Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78949 - app-text/tetex-2.0.2-r4 does not compile with dev-db/mysql-4.0.22-r2
Summary: app-text/tetex-2.0.2-r4 does not compile with dev-db/mysql-4.0.22-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 07:20 UTC by fatty
Modified: 2005-01-22 16:42 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 fatty 2005-01-21 07:20:37 UTC
I have updated my mysql installation to 4.0.22-r2 today.
As I recognised, the shared libs have moved from /usr/lib to /usr/lib/mysql what breaks some other libs. So I decided to make a revdep-rebuild --soname=libmysqlclient.so.0.12

Everything went fine until app-text/tetex-2.0.2-r4 failed to compile with the following error:
gcc -o oxdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font-open.o string-utils.o my-vsnprintf.o my-snprintf.o help-window.o message-window.o statusline.o xserver-info.o gf.o pk.o psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o sfPath.o sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o dvips.o tfmload.o -L/usr/lib -lwwwsql -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 ../kpathsea/STATIC/libkpathsea.a -lm
/usr/lib/mysql/libmysqlclient.a(my_symlink.o)(.text+0x138): In function `my_realpath':
: multiple definition of `my_realpath'
util.o(.text+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `my_realpath' changed from 650 in util.o to 294 in /usr/lib/mysql/libmysqlclient.a(my_symlink.o)
../kpathsea/STATIC/libkpathsea.a(hash.o)(.text+0x57): In function `hash_insert':
: multiple definition of `hash_insert'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x53e): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `hash_insert' changed from 857 in /usr/lib/mysql/libmysqlclient.a(hash.o) to 124 in ../kpathsea/STATIC/libkpathsea.a(hash.o)
collect2: ld gab 1 als Ende-Status zur
Comment 1 fatty 2005-01-21 07:20:37 UTC
I have updated my mysql installation to 4.0.22-r2 today.
As I recognised, the shared libs have moved from /usr/lib to /usr/lib/mysql what breaks some other libs. So I decided to make a revdep-rebuild --soname=libmysqlclient.so.0.12

Everything went fine until app-text/tetex-2.0.2-r4 failed to compile with the following error:
gcc -o oxdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font-open.o string-utils.o my-vsnprintf.o my-snprintf.o help-window.o message-window.o statusline.o xserver-info.o gf.o pk.o psdps.o psgs.o psheader.o psnews.o special.o util.o vf.o sfDir.o sfDraw.o sfPath.o sfSelFile.o hypertex.o mime.o wwwfetch.o alloca.o dvips.o tfmload.o -L/usr/lib -lwwwsql -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 ../kpathsea/STATIC/libkpathsea.a -lm
/usr/lib/mysql/libmysqlclient.a(my_symlink.o)(.text+0x138): In function `my_realpath':
: multiple definition of `my_realpath'
util.o(.text+0x0): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `my_realpath' changed from 650 in util.o to 294 in /usr/lib/mysql/libmysqlclient.a(my_symlink.o)
../kpathsea/STATIC/libkpathsea.a(hash.o)(.text+0x57): In function `hash_insert':
: multiple definition of `hash_insert'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x53e): first defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `hash_insert' changed from 857 in /usr/lib/mysql/libmysqlclient.a(hash.o) to 124 in ../kpathsea/STATIC/libkpathsea.a(hash.o)
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [oxdvi.bin] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r4/work/tetex-src-2.0.2/texk/oxdvik'
make[1]: *** [all] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/tetex-2.0.2-r4/work/tetex-src-2.0.2/texk'
make: *** [all] Fehler 1

!!! ERROR: app-text/tetex-2.0.2-r4 failed.
!!! Function tetex_src_compile, Line 163, Exitcode 2
!!! make teTeX failed
!!! If you need support, post the topmost build error, NOT this status message.

# emerge --info
Portage 2.0.51-r14 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Jun  6 2004, 15:20:18)]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 S3TC X Xaw3d aac aalib acpi acpi4linux alsa apache2 ared aredmem audiofile avi berkdb bitmap-fonts bonobo bootsplash bzlib cairo cddb cdparanoia cdr cdrom chroot codecs crypt cscope cups curl dba dga dhcp directfb divx4linux dlopen doc dv dvd dvdr dvdread encode ethereal expat f2c f77 faad fam fb fbcon ffmpeg fftw flac font-server foomaticdb fortran freetype ftp gd gdbm gif gimp gimpprint gkrellm glade glut gnome gnomedb gnuplot gpm gstreamer gtk gtk2 gtkhtml guile hal icq ieee1394 imagemagick imlib imlib2 ipv6 java javascript joystick jp2 jpeg junit kde latex lcd lcms ldap libg++ libwww lm_sensors mad mbox md5sum mikmod mime mixer mjpeg mmx mmx2 mng monkey motif moznocompose moznoirc moznomail mp3 mpeg mpeg4 mplayer mysql ncurses network nls no-old-linux nowin nptl nvidia oav oggvorbis openal opengl openssh oss pam pcmcia pcntl pdf pdfkit pdflib perl php plotutils png posix ppds prelude pthreads pwdb python qt quicktime readline real rtc samba scanner sdl sftplogging slang smime sndfile sockets socks5 sox speex spell sse sse2 ssl stencil-buffer svga sysvipc tcltk tcpd tetex threads tiff transcode truetype truetype-fonts type1-fonts unicode usb vcdimager videos vim-with-x wifi xine xinetd xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yv12 zlib linguas_de"
Unset:  LDFLAGS
Comment 2 fatty 2005-01-21 07:30:33 UTC
BTW: same beahvior with app-text/tetex-2.0.2-r5
Comment 3 fatty 2005-01-22 07:45:51 UTC
I have now reinstalled mysql-4.0.22 and everything works just fine again.

I recognised, that 4.0.22 has the same problems as 4.0.23-r1: It doesn't install the libs properly.
My advise is to mask mysql-4.0.22-r2 again!
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-01-22 13:51:26 UTC
merge mysql-4.0.22-r2 again and you'll see it behaves fine.
there was a strange interaction between a specific version of libtool and mysql.
Comment 5 fatty 2005-01-22 16:41:45 UTC
Yes!
Everything is fine again :)

You can mark this "bug" fixed.
Comment 6 fatty 2005-01-22 16:42:33 UTC
okay, did it myself ;)