Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14709 - tetex-1.0.7-r12 doesnt emerge...
Summary: tetex-1.0.7-r12 doesnt emerge...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal with 1 vote (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-29 02:49 UTC by gnomeking
Modified: 2004-04-28 19:34 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 gnomeking 2003-01-29 02:49:19 UTC
tetex doesnt emerge, with ld reporting an error of not being able to find "-lmysqlclient"
I dont have mysql installed on this machine (obviously) but the ebuild doesnt seem to check for mysql atall
Comment 1 Waldemar Tribus 2003-01-29 13:21:37 UTC
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/../../../../i586-pc-linux-gnu/bin/ld:hyperte
x.o: file format not recognized; treating as linker script
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.1/../../../../i586-pc-linux-gnu/bin/ld:hyperte
x.o:2: parse error

----
xdvik # file hypertex.o
hypertex.o: Emacs v18 byte-compiled Lisp data

???
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-01-29 13:32:20 UTC
did you have any mysql installed ?

try to watch out for mysql path in /etc/ld.so.conf 

if not, remove the entries, #ldconfig

then try again
Comment 3 Waldemar Tribus 2003-01-29 14:38:20 UTC
I dont have mysql installed and i dont have any mysql specific entries in
/etc/ld.so.conf ...                   
                                                                                
i dont think my problem is related to mysql, its a some problem with *.o        
files which are not really object-files. But they will be                       
given as input to ld..
Comment 4 Matthew Turk (RETIRED) gentoo-dev 2003-02-02 21:13:51 UTC
Try it with the latest teTeX ebuild available; a snapshot from 2003 would be great. 
Comment 5 Matthew Turk (RETIRED) gentoo-dev 2003-02-03 00:41:56 UTC
Try with 2.0, just released. 
Comment 6 Matthew Turk (RETIRED) gentoo-dev 2003-02-06 20:44:08 UTC
Actually, could I have your USE variable?  We're seeing some odd problems with this in 
other areas.  But please *please* try tetex-2.0, as I think that might help fix the problem. 
Comment 7 Matthew Turk (RETIRED) gentoo-dev 2003-02-12 20:01:02 UTC
Ok, is this still valid?  I'd like to close if not... 
Comment 8 gnomeking 2003-02-13 03:29:35 UTC
yeah...
its still valid...

# ld.so.conf autogenerated by env-update; make all changes to
# contents of /etc/env.d directory
/usr/local/lib
/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.3
/usr/lib/opengl/nvidia/lib
/usr/X11R6/lib
/opt/blackdown-jdk-1.3.1/jre/lib/i386/
/opt/blackdown-jdk-1.3.1/jre/lib/i386/native_threads/
/usr/qt/3/lib
/usr/kde/3.1/lib

tetex-1.0.7-r12 was selected by portage as the tetex version to use...

morpheus root # emerge -up world | grep tetex
[ebuild    U ] app-text/tetex-1.0.7-r12 [1.0.7-r11]

USE="X gtk gnome -alsa dvd libdvdread"

I'm also having the same problem with some other emerges - see http://forums.gentoo.org/viewtopic.php?t=34988

Heres the final output from the tetex emerge...

gcc -o oxdvi.bin xdvi.o dvi-draw.o dvi-init.o events.o font-open.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 -L/usr/lib -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwsql -lwwwinit -lwwwapp -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 -L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 ../kpathsea/STATIC/libkpathsea.a -lm
/usr/i686-pc-linux-gnu/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make[2]: *** [oxdvi.bin] Error 1
make[2]: Leaving directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk/oxdvik'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/tmp/portage/tetex-1.0.7-r12/work/teTeX-1.0/texk'
make: *** [all] Error 1

!!! ERROR: app-text/tetex-1.0.7-r12 failed.
!!! Function einstall, Line 8, Exitcode 2
!!! einstall failed 
Comment 9 Jens Mayer 2003-07-12 18:07:50 UTC
I got absoluteley the same problem "gnomeking" has when I followed http://dev.gentoo.org/~satai/sgmlfix.html because of http://bugs.gentoo.org/show_bug.cgi?id=23448. This stuff all looks pretty b0rked to me. ;)
Comment 10 Jens Mayer 2003-07-13 10:53:23 UTC
Problem seems to be solved here. By using the "revdep-rebuild" command I was able to fix some broken dependencies on my system (reemerging quite a bunch of packages). After that, tetex built fine.
Comment 11 Matthew Turk (RETIRED) gentoo-dev 2003-07-13 19:34:16 UTC
Ok, good.  I should add that to the SGML fix then, do you think? 
Comment 12 Daniel Robbins (RETIRED) gentoo-dev 2003-09-06 17:05:40 UTC
I think this stuff is caused by an external libwww not being used by default. The internal libwww (included with tetex) does indeed have mysql code in it, and will enable it if mysql was on the system it built on. But there is no mysql dep in tetex, thus the problem. 
Comment 13 Daniel Robbins (RETIRED) gentoo-dev 2003-09-06 17:06:43 UTC
So try USE="libwww" emerge tetex and see if that works better. mysql may be hard-coded into the included libwww sources.
Comment 14 Daniel Robbins (RETIRED) gentoo-dev 2003-09-06 17:57:40 UTC
fixed in 1.0.7-r13 and 2.0.2-r1. Thanks for the report :) (the included libwww was depending on mysql sometimes, we now use ours instead.)
Comment 15 Benjamin Collins 2004-04-28 19:34:11 UTC
I tried emerging tetex-2.0.2-r3 and I had these problems.  Below is the pertinent info.  I don't really expect this to be resolved, but I thought I'd file this report anyway.  I'm almost sure there's something wrong with my system, but I don't know what.

jeremiah log # emerge info
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.3
-gentoo-r2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.10
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif gnome gpm g
tk gtk2 imlib java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggv
orbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spel
l ssl svga tcpd truetype x86 xml2 xmms xv zlib"


jeremiah log # emerge tetex -p --verbose

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-libs/libwww-5.4.0-r2  -mysql +ssl  1,110 kB 
[ebuild  N    ] app-text/tetex-2.0.2-r3   0 kB 

Total size of downloads: 1,110 kB