Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32538 - kde xml issues
Summary: kde xml issues
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 32818 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-02 05:21 UTC by Andrei Ivanov
Modified: 2004-02-11 12:36 UTC (History)
1 user (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 Andrei Ivanov 2003-11-02 05:21:57 UTC
while compiling kde (I saw this in kdetoys and kdeadmin, it might be happening in other kde packages) I get this non-fatal errors:

/usr/kde/3.1/share/apps/ksgmltools2/docbook/xsl/common/ja.xml:323: namespace error : Namespace prefix l on template is not defined
      <l:template name="qandaset" text="%t"/>

There are tons of messages like this. I've recompiled libxml2 with more conservative flags(CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"), but the messages are still there.



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.21-gss)
=================================================================
System uname: 2.4.21-gss i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libwww mad mikmod mpeg ncurses pdflib png quicktime spell truetype xml2 xv zlib gdbm berkdb slang readline arts mysql postgres X sdl gpm tcpd pam ssl python imlib oggvorbis gtk qt opengl 3dnow aalib acl acpi alsa apache2 -apm bonobo cdr curl dga dvd dvdr esd evo gd gphoto2 -gnome gnomedb gstreamer gtk2 gtkhtml imap innodb java -kde lcms ldap libgda -libg++ maildir mcal memlimit mmx -motif mozilla mozsvg -nas -nls nptl -perl pic samba -sasl scanner slp -svga tiff usb wmf wxwindows xml -xmms"
Comment 1 Caleb Tennis (RETIRED) gentoo-dev 2003-11-02 05:42:09 UTC
What version of libxml are you using?
Comment 2 Andrei Ivanov 2003-11-02 06:37:26 UTC
qpkg -I -v libxml2
dev-libs/libxml2-2.6.1 *
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-11-02 06:39:07 UTC
Yeah, it's quite possibly an issue with the 2.6 series of libxml.  You may
want to file a bug report at bugs.kde.org so that they know about the issue
too.
Comment 4 Andrei Ivanov 2003-11-02 07:01:47 UTC
I'm sorry, but I don't have enough time to start posting bugs to the original
authors of the packages.
Comment 5 Simone Gotti (RETIRED) gentoo-dev 2003-11-03 11:09:34 UTC
I've got the same problem. Now I've downgraded to libxml-2.5.11 and ricompiled
libxslt because there were unresolved simbols, and it seem to work now.
 
now I got another strange warning:

/usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
Warning: program compiled against libxml 206 using older 205
more than 1 time but only for every directory of documentation and a lot
of time a file like before.

Simone
Comment 6 Caleb Tennis (RETIRED) gentoo-dev 2003-11-03 12:16:43 UTC
Yeah, because kde was compiled against the 2.6 version of libxml2.  You can
re-emerge kdebase against 2.5 to get rid of the problem.
Comment 7 Andrei Ivanov 2003-11-03 12:38:09 UTC
With all those errors, the kde parts do compile. The question is, is kde
affected by those errors ? I haven't got time to start kde yet on that computer...
Comment 8 Caleb Tennis (RETIRED) gentoo-dev 2003-11-05 10:54:43 UTC
it's not affective by the errors.

I have found out that the newest version of libxml2 and libxslt fix this,
though I don't know if they're in portage yet.
Comment 9 Caleb Tennis (RETIRED) gentoo-dev 2003-11-05 14:17:47 UTC
*** Bug 32818 has been marked as a duplicate of this bug. ***
Comment 10 Ævar Arnfjörð Bjarmason 2003-11-05 16:00:39 UTC
i did the following: downgraded from libxml2 2.6.1 to 2.5.11 like was adviced.

re-emerged.
And what i got was this: (instead of the error seen in the original message)

make[3]: Entering directory `/var/tmp/portage/kdebase-3.2.0_beta1/work/kdebase-3.1.93/doc'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.0_beta1/work/kdebase-3.1.93/doc'
Making all in kdm
make[3]: Entering directory `/var/tmp/portage/kdebase-3.2.0_beta1/work/kdebase-3.1.93/doc/kdm'
/usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
/usr/kde/3.2/bin/meinproc: relocation error: /usr/lib/libxslt.so.1: undefined
symbol: xmlIsBaseCharGroup
make[3]: *** [index.cache.bz2] Error 127
make[3]: Leaving directory `/var/tmp/portage/kdebase-3.2.0_beta1/work/kdebase-3.1.93/doc/kdm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-3.2.0_beta1/work/kdebase-3.1.93/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-3.2.0_beta1/work/kdebase-3.1.93'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebase-3.2.0_beta1 failed.
!!! Function kde_src_compile, Line 137, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 11 Caleb Tennis (RETIRED) gentoo-dev 2003-11-05 16:15:43 UTC
Yep, because meinproc in kdebase was compiled against the libxml2 version
2.6.

Check the forums, some other people have been talking about this one as well.
 You can either upgrade both libxml2 and libxslt to the latest versions,
or downgrade and reemerge kdebase to rebuild meinproc.
Comment 12 Mike Gardiner (RETIRED) gentoo-dev 2003-11-22 20:00:46 UTC
you really want to use libxml2-2.6.2, not earlier versions which have a known bug.
Comment 13 Caleb Tennis (RETIRED) gentoo-dev 2004-02-11 12:36:20 UTC
this shouldn't be a problem anymore - you just have to have consistent libxml versions between merges of kdebase.