I always get an error with emerging kde, regardless of the version it seems (tried 3.1, now the new 3.2). I always get this: root@grexbox hugh # emerge --update kde >update.log configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: WARNING: linux/raw.h: present but cannot be compiled configure: WARNING: linux/raw.h: check for missing prerequisite headers? configure: WARNING: linux/raw.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf@gnu.org. ## configure: WARNING: ## ------------------------------------ ## configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. configure: WARNING: linux/raw.h: present but cannot be compiled configure: WARNING: linux/raw.h: check for missing prerequisite headers? configure: WARNING: linux/raw.h: see the Autoconf documentation configure: WARNING: linux/raw.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/raw.h: proceeding with the preprocessor's result configure: WARNING: linux/raw.h: in the future, the compiler will take precedenc e configure: WARNING: ## ------------------------------------------ ## configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ## configure: WARNING: ## ------------------------------------------ ## index.docbook:47: validity error : Content model of bookinfo is not determinist: ((graphic | mediaobject | legalnotice | modespec | subjectset | keywordset | it ermset | abbrev | address | artpagenums | author | authorgroup | authorinitials | bibliomisc | biblioset | collab | confgroup | contractnum | contractsponsor | copyright | corpauthor | corpname | edition | editor | invpartnumber | isbn | is sn | issuenum | orgname | biblioid | citebiblioid | bibliosource | bibliorelatio n | bibliocoverage | othercredit | pagenums | printhistory | productname | produ ctnumber | pubdate | publisher | publishername | pubsnumber | revhistory | serie svolnums | subtitle | title | titleabbrev | volumenum | citetitle | personname | honorific | firstname | surname | lineage | othername | affiliation | authorblu rb | contrib | indexterm)* , date , releaseinfo , (graphic | mediaobject | legal notice | modespec | subjectset | keywordset | itermset | abbrev | address | artp agenums | author | authorgroup | authorinitials | bibliomisc | biblioset | colla b | confgroup | contractnum | contractsponsor | copyright | corpauthor | corpnam e | edition | editor | invpartnumber | isbn | issn | issuenum | orgname | biblio id | citebiblioid | bibliosource | bibliorelation | bibliocoverage | othercredit | pagenums | printhistory | productname | productnumber | pubdate | publisher | publishername | pubsnumber | revhistory | seriesvolnums | subtitle | title | ti tleabbrev | volumenum | citetitle | personname | honorific | firstname | surname | lineage | othername | affiliation | authorblurb | contrib | indexterm)* , abs tract , keywordset , (graphic | mediaobject | legalnotice | modespec | subjectse t | keywordset | itermset | abbrev | abstract | address | artpagenums | author | authorgroup | authorinitials | bibliomisc | biblioset | collab | confgroup | co ntractnum | contractsponsor | copyright | corpauthor | corpname | date | edition | editor | invpartnumber | isbn | issn | issuenum | orgname | biblioid | citebi blioid | bibliosource | bibliorelation | bibliocoverage | othercredit | pagenums | printhistory | productname | productnumber | pubdate | publisher | publishern ame | pubsnumber | releaseinfo | revhistory | seriesvolnums | subtitle | title | titleabbrev | volumenum | citetitle | personname | honorific | firstname | surn ame | lineage | othername | affiliation | authorblurb | contrib | indexterm)*) </bookinfo> ^ make[3]: *** [index.cache.bz2] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 !!! ERROR: kde-base/kdebase-3.2.1 failed. !!! Function kde_src_compile, Line 128, Exitcode 2 !!! died running emake, kde_src_compile:make The binary packe from the portage-snapshot worked fine, but normally I enjoy compiling the stuff myself in Gentoo thanks to brilliant emerge:-) A detailed log of the emerge-process is attached. It's strange nobody else experiences this problem - a validity-error in an XML-file should hurt anyone, or not? I installed Gentoo from Reproducible: Always Steps to Reproduce: 1.boot Gentoo 2."emerge kde" Does not make a difference if an "--update" is performed, happened on a fresh install on me, too. Actual Results: Got an error and emerge failed. Expected Results: Updated kde to the latest version. Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-rc1) ================================================================= System uname: 2.6.4-rc1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" 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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/" 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 cdr crypt cups dvd dvdr encode esd evo flac foomaticdb gdbm gif gnome gpm gtk gtk2 icq imlib jpeg kde ldap libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype usb x86 xml2 xmms xv zlib"
Created attachment 29107 [details] log of "emerge --update kde"
There's a dead sentence in my post. I wanted to say: I installed Gentoo from the latest LiveCD (2004.0), doing a stage3-install (with binary packages from latest portage-snapshot, which was something end of march I believe) and then tuned the configuration to 686 and added some options to my make.defaults, as suggested in the install.doc ARCH was set to 386, and there was a warning in the install-docs that changing it later on a non-stage1-install could hurt the system - I did not in my best knowledge why this could be in my case, so I changed it to 686 anyway, but I don't think this is related to the bug? I emerged a number of packages without any hickups, only some abort with errors, more on that on a separate bugreport.
* did an "emerge sync" (but kde-3.2.1 was known before) * updated to latest portage and * updated gentoolkit to latest version Retried, and kde compiled a bit further, but still failing with the XML-error (see attachment "emerge-log"), then did some "emerge --resume"-sessions. Since I don't need all packages, I tried "emerge --resume --skipfirst" which got me further, but also failed on a different packages with the same error. What's wrong with the XML-file? I don't see an error - maybe a buffer-overflow/memory-leak in the build-script??
Created attachment 29280 [details] Log of various, successive emerge-sessions failing on different subpackages of kde-3.2.1, with the same error
sounds like something buggy happened during the kdelibs compile that made "meinproc" go crazy.
Well I did some (more) google-ing and finally found a possible explanation at http://marc.theaimsgroup.com/?l=gentoo-user&m=104147806012024&w=2 >emerge these: > >app-text/docbook-dsssl-stylesheets >app-text/docbook-sgml >app-text/docbook-sgml-dtd >app-text/docbook-sgml-utils >app-text/docbook-xml-dtd >app-text/docbook-xml-simple-dtd >app-text/docbook-xsl-stylesheets >app-text/jadetex >app-text/openjade >app-text/sgml-common >app-text/sgmltools-lite The tip is even from a Gentoo-fellow it seems,-) (see the linked document on my link, thanks to satai@gentoo.org :) After that, strangely, kde-toys still had problems (amor and others wouldn't compile), so I skipped the package and installed the others without any hickups. Then did an "emerge -u kdetoys" again and - it worked! BTW Is meinproc related to kde or emerge? So the bug is solved for me now, but it's strange that I have to revert to a fix dedicated to an old Gentoo-build where some things could have messed up over time - I am using a fresh 2004.0-build...?!