Emerging evince-0.5.1 resulted in the following errors. The problem was fixed by emerging the latest version of libxslt (1.1.15) Unfortunately I am not sure which version I had installed before. The evince ebuild should require >=libxslt-1.1.15 (Before encountering this problem I also encountered the poppler version bug, 124948, which was fixed by emerging poppler-bindings explicitly.) make[2]: Entering directory `/var/tmp/portage/evince-0.5.1/work/evince-0.5.1/hel p' xsltproc -o evince-C.omf --stringparam db2omf.basename evince --stringparam db2o mf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2// EN" --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/usr/share/omf" -- stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "`pwd`/./evince.omf.in" `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` C/evince.xml XPath error : Undefined variable not($creators) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 21 9 element if xsl:if : could not compile test expression 'not($creators)' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 22 4 element for-each xsl:for-each : could not compile select expression '$creators' XPath error : Undefined variable not($maintainers) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 27 6 element if xsl:if : could not compile test expression 'not($maintainers)' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 28 1 element for-each xsl:for-each : could not compile select expression '$maintainers' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 33 8 element for-each xsl:for-each : could not compile select expression '$contributors' XPath error : Undefined variable not($title) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 38 4 element if xsl:if : could not compile test expression 'not($title)' XPath error : Undefined variable not($date) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 41 5 element if xsl:if : could not compile test expression 'not($date)' XPath error : Undefined variable not($revnumber) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 44 9 element if xsl:if : could not compile test expression 'not($revnumber)' XPath error : Undefined variable not($date) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 45 4 element if xsl:if : could not compile test expression 'not($date)' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 49 9 element copy-of xsl:copy-of : could not compile select expression '$subject' XPath error : Undefined variable not($description) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 52 3 element if xsl:if : could not compile test expression 'not($description)' XPath error : Undefined variable $db2omf.mime = 'text/xml' ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 58 8 element when xsl:when : could not compile test expression '$db2omf.mime = 'text/xml'' XPath error : Undefined variable not(substring($db2omf.help_dir, string-length( $db2omf.help_dir)) = '/') ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 63 9 element if xsl:if : could not compile test expression 'not(substring($db2omf.help_dir, string-length($db2omf.help_dir)) = '/')' XPath error : Undefined variable $db2omf.format = 'docbook' ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 65 1 element when xsl:when : could not compile test expression '$db2omf.format = 'docbook'' XPath error : Undefined variable not($relation) ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 71 2 element if xsl:if : could not compile test expression 'not($relation)' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 71 8 element copy-of xsl:copy-of : could not compile select expression '$relation' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 74 8 element copy-of xsl:copy-of : could not compile select expression '$rights' XPath error : Undefined variable $dingbat = 'copyright' ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 47 element when xsl:when : could not compile test expression '$dingbat = 'copyright'' XPath error : Undefined variable starts-with(string($node), ' ') ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 95 element when xsl:when : could not compile test expression 'starts-with(string($node), ' ')' XPath error : Undefined variable $node/honorific ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 173 element if xsl:if : could not compile test expression '$node/honorific' XPath error : Undefined variable $node/@role = 'family-given' ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 178 element when xsl:when : could not compile test expression '$node/@role = 'family-given'' XPath error : Undefined variable $node/honorific ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 180 element if xsl:if : could not compile test expression '$node/honorific' XPath error : Undefined variable $node/othername ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 185 element if xsl:if : could not compile test expression '$node/othername' XPath error : Undefined variable $node/honorific or $node/surname ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 186 element if xsl:if : could not compile test expression '$node/honorific or $node/surname' XPath error : Undefined variable $node/firstname ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 199 element if xsl:if : could not compile test expression '$node/firstname' XPath error : Undefined variable $node/honorific ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 200 element if xsl:if : could not compile test expression '$node/honorific' XPath error : Undefined variable $node/othername ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 205 element if xsl:if : could not compile test expression '$node/othername' XPath error : Undefined variable $node/surname ^ compilation error: file /usr/share/xml/gnome/xslt/docbook/common/db-common.xsl l ine 211 element if xsl:if : could not compile test expression '$node/surname' XPath error : Undefined variable compilation error: file /usr/share/xml/gnome/xslt/docbook/omf/db2omf.xsl line 68 8 element language Attribute template code: failed to compile $db2omf.lang make[2]: *** [evince-C.omf] Error 5 make[2]: Leaving directory `/var/tmp/portage/evince-0.5.1/work/evince-0.5.1/help ' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/evince-0.5.1/work/evince-0.5.1' make: *** [all] Error 2 !!! ERROR: app-text/evince-0.5.1 failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile ebuild.sh, line 1648: Called gnome2_src_compile !!! compile failure !!! If you need support, post the topmost build error, and the call stack if rel evant. Result of emerge --info: Gentoo Base System version 1.12.0_pre16 Portage 2.1_pre5-r4 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r5 i686) ================================================================= System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) III Mobile CPU 1200MHz dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acpi aim alsa apm audiofile avi bash-completion berkdb bitmap-fonts bonjour bzlib cairo cdparanoia cdr crypt cups curl curlwrappers dbus dga dio directfb divx4linux djvu dri dvd dvi eds emacs emboss encode exif fam fbcon ffmpeg fftw flac flash foomaticdb fortran freetype ftp gcj gd gd-external gdbm gecko-sdk gif glut gnome gphoto2 gpm gps gstreamer gtk gtk2 hal ieee1394 imlib ipv6 jack java javascript jikes joystick jpeg ladcca lcms lesstif libg++ libwww lm_sensors mad mikmod mime ming mmap mmx mng mono motif mozsvg mp3 mpeg mpi msn nas ncurses netboot nls nptl objc ogg oggvorbis openal opengl oss pam pcmcia pcntl pcre pdflib perl php pic png portaudio posix python qt quicktime readline ruby samba sdl session sharedmem silc simplexml skey slang slp smartcard sndfile snmp soap sockets socks5 sox spell spl sse ssl startup-notification svg svga symlink szip tcltk tcpd tetex threads tiff tokenizer truetype-fonts type1-fonts unicode usb vcd vorbis wifi win32codecs wmf wxwindows x86 xine xml2 xmms xpm xprint xscreensaver xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati video_cards_mach64 video_cards_vesa video_cards_vga video_cards_fbdev video_cards_joystick" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
There's no lower version that 1.1.15 in portage. *** This bug has been marked as a duplicate of 105297 ***