Attempting to build kde 3.2.0_beta2's i18n package, with LINGUAS="af ar bg bs ca cs cy da de el en_GB eo es et eu fa fi fr he hr hu is it ja lt mn ms mt nb nl nn nso pl pt pt_BR ro ru se sk sl sr sv ta th tr uk uz ven wa xh zh_CN zh_TW zu", I consistantly get this error: Making all in kioslave make[4]: Entering directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs/kdebase/kioslave' /usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook error: failed to load external entity "rdate.docbook" index.docbook:82: error: Failure to process entity kio-rdate &kio-rdate; ^ index.docbook:82: error: Entity 'kio-rdate' not defined &kio-rdate; ^ make[4]: *** [index.cache.bz2] Error 1 make[4]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs/kdebase/kioslave' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs/kdebase' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94' make: *** [all] Error 2 !!! ERROR: kde-base/kde-i18n-3.2.0_beta2 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: 1. Set LINGUAS. KDE 3.2.0_beta2's ebuild dies if this is unset (I preferred the behaviour of previous versions, which built all if this was unset but warned the user.) I used 'export LINGUAS="af ar bg bs ca cs cy da de el en_GB eo es et eu fa fi fr he hr hu is it ja lt mn ms mt nb nl nn nso pl pt pt_BR ro ru se sk sl sr sv ta th tr uk uz ven wa xh zh_CN zh_TW zu" 2. attempt to emerge kde-i18n; ACCEPT_KEYWORDS="~x86" emerge kde-i18n (may need to remove packages.mask.) 3. Sit back and watch it for a while. Actual Results: Making all in kioslave make[4]: Entering directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs/kdebase/kioslave' /usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook error: failed to load external entity "rdate.docbook" index.docbook:82: error: Failure to process entity kio-rdate &kio-rdate; ^ index.docbook:82: error: Entity 'kio-rdate' not defined &kio-rdate; ^ make[4]: *** [index.cache.bz2] Error 1 make[4]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs/kdebase/kioslave' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs/kdebase' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sk-3.1.94' make: *** [all] Error 2 !!! ERROR: kde-base/kde-i18n-3.2.0_beta2 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Expected Results: Succeeded. Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gaming-r3) ================================================================= System uname: 2.4.20-gaming-r3 i686 AMD Athlon(TM) XP 2500+ Gentoo Base System version 1.4.3.10 distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.2/share/config /usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox buildpkg ccache distcc userpriv usersandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm avi gif jpeg libg++ mad mikmod mpeg ncurses pdflib png xml2 xmms zlib directfb gdbm berkdb slang readline tetex aalib nas bonobo mysql postgres X sdl gpm tcpd pam libwww ssl perl imlib oggvorbis gtk qt mozilla gphoto2 composite 3dnow acl alsa -arts canna cdr cjk crypt csope cups dvd encode -esd foomaticdb freewnn gatos -gnome gtk2 guile ipv6 java jikes junit -kde -motif nls -ldap opengl -oss ppds python quicktime ruby scanner -svga spell tcltk truetype usb videos xinerama xv video_cards_radeon"
Looks to be a bug in the i18n packages. For "sk", this fix has been put into KDE upstream. As a fix, I will remove "sk" from the allowable packages until the next KDE release it out.
Created attachment 22683 [details, diff] Checks $LINGUAS for languages KDE-i18n has. Ok. Here's a patch that tests if LINGUAS uses any languages that aren't available, and dies if none of the wanted languages are found.
It also fails for sv, and seemingly for some people, es (see http://bugs.gentoo.org/show_bug.cgi?id=33859 ). Making all in kcalc make[4]: Entering directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94/docs/kdeutils/kcalc' /usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook No template named "procedure.formal" exists in the context named "title" in the "sv" localization. make[4]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94/docs/kdeutils/kcalc' Making all in kedit make[4]: Entering directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94/docs/kdeutils/kedit' /usr/kde/3.2/bin/meinproc --check --cache index.cache.bz2 ./index.docbook index.docbook:440: validity error: Element keycombo content does not follow the DTD Expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA CDATA keycap) ></entry> ^ index.docbook:453: validity error: Element keycombo content does not follow the DTD Expecting (keycap | keycombo | keysym | mousebutton)+, got (CDATA CDATA keycap) ></entry> ^ make[4]: *** [index.cache.bz2] Error 1 make[4]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94/docs/kdeutils/kedit' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94/docs/kdeutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94/docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kde-i18n-3.2.0_beta2/work/kde-i18n-sv-3.1.94' make: *** [all] Error 2 !!! ERROR: kde-base/kde-i18n-3.2.0_beta2 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make
I've changed the use flag strucure, so the patch isn't needed anymore.