When I emerge kdebase 3.5.0 it fails with an error when running meinproc --check --cache index.cache.bz2 ./index.docbook After meinproc fails, it comes up with 'Undefined variable' erorrs when processing various .xsl files Failure log follows: Reproducible: Always Steps to Reproduce: 1. performed emerge kdebase (as part of an emerge -u world) 2. 3. Actual Results: Failure log posted below: Making all in kdeprint make[3]: Entering directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc/kdeprint' /usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/autotoc.xsl line 544 element div Attribute template class: failed to compile $titles XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/lists.xsl line 735 element ol Attribute template type: failed to compile $numeration XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/callout.xsl line 158 element img Attribute template src: failed to compile $callout.graphics.path XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/callout.xsl line 158 element img Attribute template alt: failed to compile $conum XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/formal.xsl line 19 element div Attribute template class: failed to compile $class XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/formal.xsl line 71 element div Attribute template class: failed to compile $class XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/inline.xsl line 856 element a Attribute template href: failed to compile $chunkbase XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/inline.xsl line 934 element code Attribute template class: failed to compile $class XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/html.xsl line 24 element a Attribute template name: failed to compile $id XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/index.xsl line 115 element a Attribute template name: failed to compile $id XPath error : Undefined variable concat('ln-',$id,$html.ext) ^ compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/titlepage.xsl line 475 element a Attribute template href: failed to compile concat('ln-',$id,$html.ext) XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/titlepage.xsl line 502 element a Attribute template name: failed to compile $id XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/titlepage.xsl line 780 element a Attribute template name: failed to compile $id XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl line 137 element base Attribute template href: failed to compile $html.base XPath error : Undefined variable substring-before($stylesheets, ' ') ^ compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl line 197 element link Attribute template href: failed to compile substring-before($stylesheets, ' ') XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 43 element div Attribute template style: failed to compile $kde.common XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 47 element img Attribute template src: failed to compile $kde.common XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 195 element div Attribute template style: failed to compile $kde.common XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 198 element img Attribute template src: failed to compile $kde.common XPath error : Undefined variable compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 201 element img Attribute template src: failed to compile $kde.common unable to parse ./index.docbook make[3]: *** [index.cache.bz2] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc/kdeprint' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdebase-3.5.0-r1/work/kdebase-3.5.0' make: *** [all] Error 2 Expected Results: Should have emerged kdebase emerge info follows: Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r3, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 Mobile Intel(R) Celeron(R) CPU 2.20GHz Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://130.207.108.135/pub/gentoo ftp://130.207.108.136/pub/gentoo http://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://212.219.56.162/sites/www.ibiblio.org/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X acpi alsa apm arts audiofile avi berkdb bitmap-fonts bootsplash bzip2 cdda cddb cdio cdparanoia cdr crypt cups curl directfb dvd eds emboss encode esd ethereal expat fam foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 idn imlib ipv6 java jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcmcia pcre pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tiff toolbar truetype truetype-fonts type1-fonts udev vcd vorbis wifi x86 xine xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 105297 ***