All KDE packages except kdelibs produce the following errors. With any package other than KDevelop, it can be merged without documentation by specifying 'DO_NOT_COMPILE="doc" emerge kdebase'. The following errors are from kdevelop, for which this workaround doesn't seem to work. index.docbook:5900: parser error : Entity 'kde' not defined branches of a project (e. g. &kde; 1.1.2 and &kde; 2 were branches in &kde;'s ^ index.docbook:5900: parser error : Entity 'kde' not defined branches of a project (e. g. &kde; 1.1.2 and &kde; 2 were branches in &kde;'s ^ index.docbook:6304: parser error : Entity 'mdash' not defined the parts are considered <link linkend="table-global-parts">global</link>— ^ index.docbook:6553: parser error : Entity 'underFDL' not defined &underFDL; ^ index.docbook:6554: parser error : Entity 'underGPL' not defined &underGPL; ^ index.docbook:6567: parser error : Entity 'mdash' not defined 2003-01-03—Started this Changelog ^ make[3]: *** [index.cache.bz2] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/doc/kdevelop' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.2/work/kdevelop-3.0.2' make: *** [all] Error 2 These are preceded by several screenfulls of the same. Reproducible: Always Steps to Reproduce: 1. Attempt to emerge any KDE package. Actual Results: Compiles the actual binaries, but fails to build documentation, and emerge bails out. Expected Results: Compiled and installed. emerge --info: Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-rc1-love2) ================================================================= System uname: 2.6.5-rc1-love2 i686 AMD Athlon(tm) Gentoo Base System version 1.4.3.13p1 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -ftracer -msse -mmmx -m3dnow -fmove-all-movables -freduce-all-givs -fcaller-saves" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -momit-leaf-frame-pointer -pipe -ftracer -msse -mmmx -m3dnow -fmove-all-movables -freduce-all-givs -fcaller-saves" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox userpriv" 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 cdr composite crypt cups dri encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang spell ssl svga tcpd tetex truetype usb x86 xml2 xmms xv zlib"
My guess here is that you've got random stray verions of kde libraries floating around your system; perhaps with version conflicts between 3.1 and 3.2
Doesn't seem to be that: I've never had 3.1.x installed. I did have a CVS build installed under /home, but deleting that hasn't made much difference; I still get the same errors.
One other possibility is that meinproc, which comes with kdelibs I believe, has been compiled with too aggressive cflags. I've seen that before, and it causes these kinds of parsing errors.
Remerging kdelibs with CFLAGS="-march=athlon-xp -Os -pipe" hasn't made a difference, so that doesn't seem to be the problem either.
I'm having these issues too. My system is freshly installed from the 2004.1 universal CD. Stage 1 compile through to 'emerge kde'. Emerging some of the docbook things seemed to clear things up until I hit this point. [ebuild N ] kde-base/kdeutils-3.2.3 [ebuild N ] kde-base/kdetoys-3.2.3 [ebuild N ] kde-base/kdeartwork-3.2.3 [ebuild N ] kde-base/kdeaccessibility-3.2.3 [ebuild N ] app-crypt/gpgme-0.3.14 [ebuild N ] app-crypt/cryptplug-0.3.16 [ebuild N ] app-crypt/qca-tls-1.0 [ebuild N ] kde-base/kdenetwork-3.2.3 [ebuild N ] kde-base/kdepim-3.2.3 [ebuild N ] kde-base/kdeaddons-3.2.3 [ebuild N ] kde-base/kdeadmin-3.2.3 [ebuild N ] kde-base/kdegames-3.2.3 [ebuild N ] kde-base/kde-3.2.3 bash-2.05b# emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r6) ================================================================= System uname: 2.6.7-gentoo-r6 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.binarycompass.org http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acpi alsa apache2 apm arts avi berkdb bidi caps cdr cjk crypt cups curl dvd encode esd ethereal fftw flac flash foomaticdb freetds freewnn gdbm gif gnome gphoto2 gpm gtk gtk2 imagemagick imlib innodb ipv6 java joystick jpeg kde libg++ libwww mad maildir mikmod mmx motif mpeg mpi mysql ncurses nls odbc offensive oggvorbis opengl oss pam pcre pdflib perl pic pie png ppds python qt quicktime readline samba scanner sdl slang socks5 spell sse ssl svga szip tcltk tcpd theora tiff truetype unicode usb wmf x86 xml xml2 xmms xv xvid zlib" The thread number for my origional problem is 55300
main meinproc doesn't like -march=athlon-xp?
s/main/maybe
assuming this works fine with 3.3.x, please reopen if you still have issues