Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127997

Summary: gnome-doc-utils-0.4.4 fails to emerge
Product: Gentoo Linux Reporter: Ed Davison <edavison>
Component: New packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ed Davison 2006-03-29 07:59:57 UTC
Emerging gnome-panel pulls in an updated gnome-doc-utils.  When emerging gnome-doc-utils, it fails with the following command:

USE="-eds" emerge gnome-doc-utils

>>> Unpacking source...
>>> Unpacking gnome-doc-utils-0.4.4.tar.bz2 to /var/tmp/portage/gnome-doc-utils-0.4.4/work
 * Fixing OMF Makefiles ...                                                                                                                             [ ok ] * Failed to update OMF Makefile ()
>>> Source unpacked.
QA Notice: USE Flag 'doc' not in IUSE for app-text/gnome-doc-utils-0.4.4
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-scrollkeeper --disable-gtk-doc --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk

...

Making all in doc
make[1]: Entering directory `/var/tmp/portage/gnome-doc-utils-0.4.4/work/gnome-doc-utils-0.4.4/doc'
Making all in gnome-doc-make
make[2]: Entering directory `/var/tmp/portage/gnome-doc-utils-0.4.4/work/gnome-doc-utils-0.4.4/doc/gnome-doc-make'
xsltproc -o gnome-doc-make-C.omf --stringparam db2omf.basename gnome-doc-make --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.4//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`/./gnome-doc-make.omf.in" ../../xslt/docbook/omf/db2omf.xsl C/gnome-doc-make.xml
XPath error : Undefined variable
document($db2omf.omf_in)
                       ^
compilation error: file ../../xslt/docbook/omf/db2omf.xsl line 126 element variable
xsl:variable : could not compile select expression 'document($db2omf.omf_in)'
XPath error : Undefined variable
compilation error: file ../../xslt/docbook/omf/db2omf.xsl line 151 element with-param
xsl:param : could not compile select expression '$info'
XPath error : Undefined variable
compilation error: file ../../xslt/docbook/omf/db2omf.xsl line 154 element with-param
xsl:param : could not compile select expression '$info'
XPath error : Undefined variable
compilation error: file ../../xslt/docbook/omf/db2omf.xsl line 157 element with-param
xsl:param : could not compile select expression '$info'
XPath error : Undefined variable

...

compilation error: file ../../xslt/docbook/common/db-common.xsl line 199 element if
xsl:if : could not compile test expression '$node/firstname'
XPath error : Undefined variable
$node/honorific
     ^
compilation error: file ../../xslt/docbook/common/db-common.xsl line 200 element if
xsl:if : could not compile test expression '$node/honorific'
XPath error : Undefined variable
$node/othername
     ^
compilation error: file ../../xslt/docbook/common/db-common.xsl line 205 element if
xsl:if : could not compile test expression '$node/othername'
XPath error : Undefined variable
$node/surname
     ^
compilation error: file ../../xslt/docbook/common/db-common.xsl line 211 element if
xsl:if : could not compile test expression '$node/surname'
XPath error : Undefined variable
compilation error: file ../../xslt/docbook/omf/db2omf.xsl line 688 element language
Attribute template code: failed to compile $db2omf.lang
make[2]: *** [gnome-doc-make-C.omf] Error 5
make[2]: Leaving directory `/var/tmp/portage/gnome-doc-utils-0.4.4/work/gnome-doc-utils-0.4.4/doc/gnome-doc-make'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-doc-utils-0.4.4/work/gnome-doc-utils-0.4.4/doc'
make: *** [all-recursive] Error 1

!!! ERROR: app-text/gnome-doc-utils-0.4.4 failed.
!!! Function gnome2_src_compile, Line 56, Exitcode 2
!!! compile failure
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) XEON(TM) CPU 1.80GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/grass60/etc /usr/kde/2/share/config /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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/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 X alsa apache2 apm arts audiofile avi berkdb bitmap bitmap-fonts bonobo bzip2 cdr cgi cli crypt cups curl dbm dri dvd dvdr eds emboss encode esd ethereal exif expat fam flac foomaticdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imlib java jpeg kde kerberos lcms ldap libg++ libwww mad mhash mikmod mng motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis openal opengl oss pam pcre pdflib perl php png ppds python qt quicktime readline ruby samba scanner sdl slang snmp spell ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS


Looks like the OMF Makefile patch error at the very start is the real bug here and the rest is a side-effect.
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2006-03-29 08:08:30 UTC
recompile dev-libs/libxslt, this should fix your issue.

*** This bug has been marked as a duplicate of 122688 ***