Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80125 - emerge app-text/tetex-2.0.2 r4 and r5 fails errors for multiple definitions
Summary: emerge app-text/tetex-2.0.2 r4 and r5 fails errors for multiple definitions
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on: 124511
Blocks:
  Show dependency tree
 
Reported: 2005-01-30 13:18 UTC by Kelly Harnden (uglyman)
Modified: 2007-06-30 22:10 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 Kelly Harnden (uglyman) 2005-01-30 13:18:26 UTC
I was trying to emerge wine... which started to emerge tetex. It errors out as below. I masked app-text/tetex-2.0.2-r5 and tried again. errors are almost the same. I haven't had time to dig any further into this yet, but I dont' know anything about the tetex package anyway. The strange thing is that I don't see anybody else out there having the same problem. So I will include my emerge info below.

Reproducible: Always
Steps to Reproduce:
1. emerge tetex


Actual Results:  
##################################
Here is the last part of the output from the emerge:
##################################

--snip--
gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I./.. -I/usr/include
-I/usr/include/w3c-libwww -DHAVE_CONFIG_H -DHAVE_LIBWWW -DHAVE_WWWLIB_H
-I../../libs/t1lib -I./../../libs/t1lib -I../../libs/t1lib/../type1
-I./../../libs/t1lib/../type1 -DPS_GS -DOmega -DXSERVER_INFO
-I../../libs/t1lib/lib/t1lib -I../kpathsea -I/usr/X11R6/include  -O2
-march=pentium3 -pipe  -c tfmload.c
./../klibtool link 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/libkpathsea.la -lm  
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+0x120): In function
`my_realpath':
: multiple definition of `my_realpath'
util.o(.text+0x3d0): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld:
Warning: size of symbol `my_realpath' changed from 647 in util.o to 213 in
/usr/lib/mysql/libmysqlclient.a(my_symlink.o)
../kpathsea/STATIC/libkpathsea.a(hash.o)(.text+0xe0): In function `hash_insert':
: multiple definition of `hash_insert'
/usr/lib/mysql/libmysqlclient.a(hash.o)(.text+0x470): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../../i686-pc-linux-gnu/bin/ld:
Warning: size of symbol `hash_insert' changed from 815 in
/usr/lib/mysql/libmysqlclient.a(hash.o) to 110 in
../kpathsea/STATIC/libkpathsea.a(hash.o)
collect2: ld returned 1 exit status
make[2]: *** [oxdvi.bin] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tetex-2.0.2-r5/work/tetex-src-2.0.2/texk/oxdvik'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/var/tmp/portage/tetex-2.0.2-r5/work/tetex-src-2.0.2/texk'
make: *** [all] Error 1

!!! ERROR: app-text/tetex-2.0.2-r5 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.




Expected Results:  
successfully installed tetex

##################################
here is my emerge info:
##################################
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan 25 2005, 21:30:14)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.14.90.0.8-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit X aac aalib acpi acpi4linux aim alsa apache2 apm audiofile
authdaemond avi bash-completion bdf bitmap-fonts blender-game bonobo bootsplash
calendar cdparanoia cdr cdrom cgi chroot cpdflib crypt css ctype cups dga
directfb disablexmb divx4linux djbfft doc dvd dvdr dvdread encode esd exif
extlib f77 fam fame fb fbcon ffmpeg flac flash fmod font-server foomaticdb
fortran fpx frascend freetype ftp gd gif gimp gimpprint gkrellm gmail gpm gtk
gtk2 gtkhtml guile hardenedphp hbci icq ieee1394 image imagemagick imap imlib
ipv6 jabber jack java javascript jbig joystick jp2 jpeg ladcca ladspa
largeterminal lcms libg++ libwww lzo lzw lzw-tiff mad maildir mbox mikmod mime
mimencode mjpeg mmx2 motif mp3 mpeg mpeg2 mpeg4 mplayer msn multislot mysql
ncurses nls nptl nvidia offensive ogg oggvorbis opengl oss pam pdflib perl php
png posix ppds python qmail qt quicktime quotes readline rtc ruby screenshot sdl
sockets speedo speex spell sse ssl svg svga tcltk tcpd tga tiff truetype
truetype-fonts type1-fonts usb vcd vcdimager vhosts videos vorbis xml xml2 xmms
xv yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

######################

please let me know if there is any further info that would be helpful. I would
be happy to assist in any way I can. I am really stumped on this one. I will try
to have a look at the source later today and see if I can get to the bottom of
this. in the meantime I have one other more pressing issue to deal with.

Thanks a lot.
--Kelly
Comment 1 Kelly Harnden (uglyman) 2005-02-05 01:38:18 UTC
just to give an update:
I apologize for claiming I would get back to this and then not getting to it for a week. The other issue I mentioned took much longer than expected. It is totally unrelated but if you are really bored it is here http://forums.gentoo.org/viewtopic.php?t=288465

anyhow I finally got a chance to take another look at this tonight. I first went to the appropriate /var/tmp/portage/blahblahblah/work directory and did a manual make clean, followed by make, followed by make install. As I mentioned before I know absolutely nothing about this package but I didn't notice any errors when I built it manually. so I threw the ebuild in my overlay and commented out all of the epatch lines. 

I thought maybe one of the many patches was the problem. unfortunatly the errors are almost identical. 

I synced several times this week and did emerge -uD world to make sure the problem wasn't fixed from some other direction. At this point I am nearly out of ideas. I put -doc in my use and found that removes my need for this package when installing wine. This gets me back on track with the work I was originally trying to do, but still doesn't leave me with any ideas on this bug. I am still surprised nobody else is reporting the same problem. tomorrow I will try cutting out my cflags (which are conservative to start with) and anything else I can think of.

This package takes a long time to compile and I am out of steam for tonight. time for sleep. Don't hesitate to let me know if I can be of any assistance on this. 
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-12 05:47:36 UTC
Which version fo MySQL do you have?
Comment 3 Kelly Harnden (uglyman) 2005-02-16 09:51:47 UTC
version 4.0.23-r2
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-02-16 19:58:40 UTC
It might compile if you turn of mysql USE flag and remerge libwww,
then emerge tetex, but I'll fix this issue anyway. (Sorry for the delay.
I have to remove tetex-3 before trying to fix tetex-2 bugs, and I
want to stablise tetex-3 ebuild asap.)
Comment 5 Kelly Harnden (uglyman) 2005-02-17 12:23:57 UTC
hi. that worked great. 
compiled fine, no errors.

Thanks for the workaround!
No hurry for a permanent fix on my account, 
this will do fine for now.

thanks a lot Mamoru,
let me know if you need your fix tested.

--kelly
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-12 18:02:39 UTC
*** Bug 84950 has been marked as a duplicate of this bug. ***
Comment 7 Matthias Vill 2006-10-19 08:21:13 UTC
When are you going to fix it? I had just a slightly different error which i could also wotkaround with -mysql libwww...
Comment 8 Matthias Vill 2006-10-19 08:29:51 UTC
Forgot my versions:

matthias matthias # qlist -UvS mysql
dev-db/mysql-4.0.27 0 (berkdb perl ssl)
dev-perl/DBD-mysql-3.0006 0

matthias matthias # qlist -UvS libwww
dev-perl/libwww-perl-5.805 0 (ssl)
net-libs/libwww-5.4.0-r6 0 (ssl)

matthias matthias # qlist -UvS tetex
app-text/tetex-2.0.2-r9 0 (X tk)

Btw I got exatly the same error on my amd64 box and a friends x86 box
Comment 9 Alexandre Buisse (RETIRED) gentoo-dev 2006-10-19 09:07:14 UTC
You are still having the exact same issue without the mysql flag turned on?
Comment 10 Alexandre Buisse (RETIRED) gentoo-dev 2006-10-19 10:17:39 UTC
I can't reproduce your issue with the same versions of libwww and mysql.

emerge --info:

Portage 2.1.2_pre3-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-ubik i686)
=================================================================
System uname: 2.6.18-gentoo-ubik i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.12.5
Last Sync: Tue, 17 Oct 2006 17:00:01 +0000
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig cvs distlocks metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo 		http://mirror.gentoo.no http://gentoo.mirror.sdv.fr 		ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.oregonstate.edu 		http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="sv_SE fr"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/heimdall/gentoo/gentoo-x86 /usr/haskell/gentoo-haskell/portage /home/heimdall/tmp/beryl"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 asf audiofile bash-completion berkdb bitmap-fonts bzip2 cairo cjk cli cracklib crypt cups dlloader dri dvd dvdr dvdread elibc_glibc emboss encode esd exif fbcon ffmpeg flac font-server foomaticdb fortran gdbm gif gimpprint glitz glut gpm graphviz gstreamer gtk gtk2 icecast imap imlib input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux lcms libcaca libg++ libwww linguas_fr linguas_sv_SE mad mbox mikmod mmx motif mozsvg mp3 mpeg musepack musicbrainz ncurses networkcanna nls nntp nptl nptlonly objc offensive ogg opengl pam pcre pdf perl png postgres pppd python qt3 qt4 quicktime radeon readline real reflection sasl sdl session softmmu spl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l video_cards_radeon vidix vorbis win32codecs wma xml xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-30 22:10:27 UTC
Not reproducible and 3.0_p1-r3 stable everywhere. Closing.