I try to install gimp 2.2.9 but I get following error: compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.66.1/html/task.xsl line 20 element variable xsl:variable : could not compile select expression 'substring-after(normalize-space($formal.title.placement), concat(local-name(.), ' '))' XPath error : Undefined variable $ebnf.table.bgcolor != '' ^ compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.66.1/html/ebnf.xsl line 55 element if xsl:if : could not compile test expression '$ebnf.table.bgcolor != ''' XPath error : Undefined variable compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.66.1/html/docbook.xsl line 139 element meta Attribute template content: failed to compile $VERSION XPath error : Undefined variable compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 122 element meta Attribute template content: failed to compile $gtkdoc.version make[3]: *** [html-build.stamp] Error 5 make[3]: Leaving directory `/var/tmp/portage/gimp-2.2.9/work/gimp-2.2.9/devel-docs/libgimpbase' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gimp-2.2.9/work/gimp-2.2.9/devel-docs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gimp-2.2.9/work/gimp-2.2.9' make: *** [all] Error 2 !!! ERROR: media-gfx/gimp-2.2.9 failed. !!! Function src_compile, Line 130, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: emerge gimp Actual Results: Compilation error Expected Results: Clean installation. My emerge --info is: ~> emerge --info Portage 2.0.53_rc7 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.13-rc6 i686) ================================================================= System uname: 2.6.13-rc6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.60GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.9 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i386-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" CHOST="i386-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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -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" LANG="de_CH" LC_ALL="de_CH" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://192.168.0.15/gentoo-portage" USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bonobo bzip2 cdr cjk crypt cups curl dillo doc dvd dvdread eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gdbm gif glut gnome gnome-print gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 jack java jpeg kde lcms ldap libg++ libwww lua mad mikmod mng mono motif mozilla mp3 mpeg ncurses nls nptl ogg oggvorbis opengl openssh openssl oss pam pcre pda pdflib perl png pop python qt quicktime readline ruby sasl sdl slang spell sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts udev userlocales v4l vhosts vorbis wifi xine xinerama xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY Thanks for your help!
Upgrade to dev-libs/libxslt-1.1.15 and try again.
Ok, thanks for the hint! This seems to work for me.
Thanks for reporting back.
*** This bug has been marked as a duplicate of 105297 ***
Really great. Looks like this one helps for the GnuCash (1.8.12) compile error as well! One hit, two flies! Thanks again. Gentoo Rock's!