Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41008 - Tetex fails to compile with some functions
Summary: Tetex fails to compile with some functions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
: 41212 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-09 13:12 UTC by Francisco José Cañizares Santofimia
Modified: 2004-02-19 09:11 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 Francisco José Cañizares Santofimia 2004-02-09 13:12:14 UTC
When i try to emerge Tetex-2.0.2-r3, i can't compile it, because it says something about XML.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
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 -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 -lssl 
-lcrypto ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a 
-L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 
../kpathsea/STATIC/libkpathsea.a -lm 
/usr/lib/libwwwcore.a(HTWWWStr.o)(.text+0x11da): En la funci
Comment 1 Francisco José Cañizares Santofimia 2004-02-09 13:12:14 UTC
When i try to emerge Tetex-2.0.2-r3, i can't compile it, because it says something about XML.

Reproducible: Always
Steps to Reproduce:

Actual Results:  
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 -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 -lssl 
-lcrypto ../../libs/t1lib/libt1.a ../../libs/t1lib/../type1/libtype1.a 
-L/usr/X11R6/lib -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 
../kpathsea/STATIC/libkpathsea.a -lm 
/usr/lib/libwwwcore.a(HTWWWStr.o)(.text+0x11da): En la función 
`HTMessageIdStr': 
: warning: the use of `tmpnam' is dangerous, better use `mkstemp' 
/usr/lib/libwwwcore.a(HTInet.o)(.text+0x83f): En la función 
`HTGetTmpFileName': 
: warning: the use of `tempnam' is dangerous, better use `mkstemp' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x3c): En la función 
`XML_ParserCreate': 
: undefined reference to `XmlPrologStateInit' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x2bf): En la función 
`XML_ParserCreate': 
: undefined reference to `XmlInitEncoding' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x2c4): En la función 
`XML_ParserCreate': 
: undefined reference to `XmlGetUtf8InternalEncoding' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x399): En la función 
`XML_ExternalEntityParserCreate': 
: undefined reference to `XmlInitEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x3a8): En la función 
`XML_ExternalEntityParserCreate': 
: undefined reference to `XmlGetUtf8InternalEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x1869): En la función `doContent': 
: undefined reference to `XmlUtf8Encode' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x237e): En la función 
`processXmlDecl': 
: undefined reference to `XmlParseXmlDeclNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x23b5): En la función 
`processXmlDecl': 
: undefined reference to `XmlParseXmlDecl' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x258f): En la función 
`handleUnknownEncoding': 
: undefined reference to `XmlSizeOfUnknownEncoding' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x25ae): En la función 
`handleUnknownEncoding': 
: undefined reference to `XmlInitUnknownEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x25bc): En la función 
`handleUnknownEncoding': 
: undefined reference to `XmlInitUnknownEncoding' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x2a8c): En la función 
`appendAttributeValue': 
: undefined reference to `XmlUtf8Encode' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x2c1a): En la función 
`storeEntityValue': 
: undefined reference to `XmlUtf8Encode' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x42f9): En la función 
`XML_ParserCreateNS': 
: undefined reference to `XmlInitEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x4308): En la función 
`XML_ParserCreateNS': 
: undefined reference to `XmlGetUtf8InternalEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x4676): En la función 
`prologInitProcessor': 
: undefined reference to `XmlInitEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x46a1): En la función 
`prologInitProcessor': 
: undefined reference to `XmlInitEncoding' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x47b4): En la función 
`externalEntityInitProcessor': 
: undefined reference to `XmlInitEncodingNS' 
/usr/lib/libxmlparse.a(xmlparse.o)(.text+0x47ee): En la función 
`externalEntityInitProcessor': 
: undefined reference to `XmlInitEncoding' 
collect2: ld devolvió el estado de salida 1 
make[2]: *** [oxdvi.bin] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texk/oxdvik' 
make[1]: *** [all] Error 1 
make[1]: Leaving directory 
`/var/tmp/portage/tetex-2.0.2-r3/work/tetex-src-2.0.2/texk' 
make: *** [all] Error 1 
 
!!! ERROR: app-text/tetex-2.0.2-r3 failed. 
!!! Function tetex_src_compile, Line 130, Exitcode 2 
!!! make teTeX failed 
 
 

Expected Results:  
It should compile, of course. 

"En la funcion" means "In the function" 
"ld devolvió el estado de salida" means "ld returned exit status" 
Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 
2.4.21-0.13mdk) 
================================================================= 
System uname: 2.4.21-0.13mdk i686 Intel(R) Pentium(R) 4 CPU 2.50GHz 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.59 
Automake: sys-devel/automake-1.8.2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib alsa apm arts avi berkdb bidi bindinst cjk crypt cups dedicated 
dga directfb doc dvd encode esd faad fbcon foomaticdb gatos gdbm ggi gif gnome 
gpm gtk gtk2 gtkhtml guile imlib java joystick jpeg kde ldap libdsk libg++ 
libwww lirc mad matroska mikmod mmx motif mozcalendar mozilla mozsvg 
mozxmlterm mpeg nas ncurses net nls oggvorbis opengl oss pam pdflib perl pic 
png ppds python qt quicktime readline samba sdl slang slp spell sse ssl svga 
tcpd tiff truetype v4l wxwindows x86 xchattext xml xml2 xmms xosd xv xvid 
zlib" 
 
(The kernel of MDK, it' because i'm in a chrooted env)
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2004-02-10 04:24:54 UTC
I also have this problem. I see it on a fresh gentoo install, where tetex is a dep for kde-3.2
But on another box (where gentoo has been installed for a long time) I don't have this problem.
So it could seem like a missing dep somewhere...?
Comment 3 Martin Ehmsen (RETIRED) gentoo-dev 2004-02-10 08:20:41 UTC
I just tried to remerge net-libs/libwww and it seemed to fix the problem.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-10 08:30:00 UTC
Yeah, I unmerged libwww and tetex, re-emerged them and had
no problem. Could you try re-emerge libwww and try tetex again? 
(the error message is from libwww)
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2004-02-11 03:34:35 UTC
*** Bug 41212 has been marked as a duplicate of this bug. ***
Comment 6 Francisco José Cañizares Santofimia 2004-02-14 09:51:48 UTC
Ok, i tried to ummerge libwww, and then reemerge it and then tetex.
All appears to be fine now, thanks :)
Comment 7 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-19 09:11:35 UTC
Okay, thanks for testing.