Here are more informations : CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -z combreloc" USE="X gtk gnome alsa cups dvd" And the bug : dataref.docbook:20: error: Entity 'XSL' not defined document to convert it to this format. If &XSL; is used, the creator ^ dataref.docbook:21: error: Entity 'XSL' not defined can apply custom macros using &XSL; for column calculations, sorting, ^ dataref.docbook:22: error: Entity 'etc' not defined &etc;. ^ dataref.docbook:51: error: Entity 'URL' not defined attribute is the &URL; of the report template ^ dataref.docbook:112: error: chunk is not well balanced ^ index.docbook:153: error: Entity 'install.intro.documentation' not defined &install.intro.documentation; ^ index.docbook:154: error: Entity 'install.compile.documentation' not defined &install.compile.documentation; ^ make[3]: *** [index.cache.bz2] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc/kugar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2' make: *** [all] Error 2 !!! ERROR: app-office/koffice-1.2 failed. [...] I tried to emerge and remerge many times. I've reemerged all kde, qt and it still doesn't work. I've successed last week on the same computer with the same flags.
please post the output of emerge -s libxml2.
emerge -s libxml2 Searching... [ Results for search key : libxml2 ] [ Applications found : 1 ] * dev-libs/libxml2 Latest version available: 2.4.26 Latest version installed: 2.4.26 Size of downloaded files: 1,602 kB Homepage: http://www.gnome.org/ Description: Version 2 of the library to manipulate XML files
libxml2-2.4.26 is broken, please do an emerge /usr/portage/dev-libs/libxml2/libxml2-2.4.24.ebuild and emerge koffice again.
Yes, I tried this thanks and I haven't any errors with libxml2. Nevertheless the ebuild still doesn't work ! I let you see ! Should I try to reemerge kdelibs with this new libxml2 ? --- make[4]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/lib/kformula' make[3]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/lib/kformula' make[3]: Entering directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/lib' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/lib' make[2]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/lib' Making all in interfaces make[2]: Entering directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/interfaces' /usr/qt/3/bin/moc ./koChart.h -o koChart.moc /bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/kofficeui -I. ./lib/kofficeui -I../lib/kofficecore -I../lib/kofficecore -I../lib/store -I../lib/store -I../lib/kwmf -I../lib/kwmf -I../kchar t/kdchart -I../lib/interfaces -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRAN T -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwri te-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -z combreloc -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -c -o koC hart.lo `test -f koChart.cc || echo './'`koChart.cc /bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcas t-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -O3 -pipe -z combreloc -fno-exceptions -fno-check-new -DQT_CLEAN_ NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DKDE_NO_COMPAT -o libkochart.la -rpath /usr/lib -L/usr/X11R6/lib -L/usr/qt/3/l ib -L/usr/kde/3/lib -version-info 1:0:0 koChart.lo ../lib/kofficecore/libkofficecore.la make[2]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/interfaces' Making all in autocorrect make[2]: Entering directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/autocorrect' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/autocorrect' Making all in doc make[2]: Entering directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc' Making all in . make[3]: Entering directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc' Making all in kugar make[3]: Entering directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc/kugar' make[3]: Circular index.cache.bz2 <- index.cache.bz2 dependency dropped. /usr/kde/3/bin/meinproc --check --cache index.cache.bz2 ./index.docbook make[3]: *** [index.cache.bz2] Error 139 make[3]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc/kugar' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.2/work/koffice-1.2' make: *** [all] Error 2 !!! ERROR: app-office/koffice-1.2 failed. !!! Function kde_src_compile, Line 98, Exitcode 2 !!! died running emake, kde_src_compile:make
yes, please reemerge kdelibs.
I've reemerged kdelibs and then koffice and is has worked !! :) So it was really libxml that has been broken and because kdelibs has been emerged with, there were some problems. Thank you for you help and you can close the bug :) Marc.
so how come this bug made it to stable? I'm using libxml 2.4.24 and getting the same problem compiling koffice.
*** Bug 11509 has been marked as a duplicate of this bug. ***
*** Bug 11469 has been marked as a duplicate of this bug. ***
*** Bug 13797 has been marked as a duplicate of this bug. ***
*** Bug 13353 has been marked as a duplicate of this bug. ***