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"
What version of libxml are you using?
qpkg -I -v libxml2 dev-libs/libxml2-2.6.1 *
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.
I'm sorry, but I don't have enough time to start posting bugs to the original authors of the packages.
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
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.
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...
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.
*** Bug 32818 has been marked as a duplicate of this bug. ***
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
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.
you really want to use libxml2-2.6.2, not earlier versions which have a known bug.
this shouldn't be a problem anymore - you just have to have consistent libxml versions between merges of kdebase.