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

Bug 116793

Summary: kdebase-kioslaves-3.5.0 does not compile
Product: Gentoo Linux Reporter: Michael Williamson <mswilliamson>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: critical    
Priority: High    
Version: 2005.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Williamson 2005-12-26 10:14:14 UTC
I get an error when trying to compile, when it builds the documentation:

compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 162 element apply-templates
xsl:apply-templates : could not compile select expression '$prev'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 167 element apply-templates
xsl:apply-templates : could not compile select expression '$next'
XPath error : Undefined variable
count($up)>0
         ^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 171 element when
xsl:when : could not compile test expression 'count($up)>0'
XPath error : Undefined variable
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 175 element with-param
xsl:param : could not compile select expression '$up'
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 195 element div
Attribute template style: 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-kioslaves-3.5.0/work/kdebase-kioslaves-3.5.0/doc/kioslave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebase-kioslaves-3.5.0/work/kdebase-kioslaves-3.5.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebase-kioslaves-3.5.0/work/kdebase-kioslaves-3.5.0'
make: *** [all] Error 2

The error is actually very long, there are a lot of errors in the xml apparently. I tried compiling with kdelibs-3.5.0 and kdelibs-3.5.0-r1 and I upgraded all my docbook stuff to the latest version.

stingray distfiles # emerge --info
Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts artswrappersuid audiofile avi berkdb bitmap-fonts bootsplash bzip2 cdb cdr cgi crypt cups curl divx4linux doc dvd dvdread emboss encode esd ethereal exif expat fam ffmpeg flac foomaticdb fortran gd gdbm gif glut gmp gnutls gpm gstreamer gtk gtk2 hal howl i8x0 idn imagemagick imlib jack java jpef2k jpeg junit kcal kde kdeenablefinal lcms libg++ libwww lua mad mhash mikmod mmx mng motif mp3 mpeg musicbrainz ncurses nls nptl offensive ofx ogg oggvorbis opengl pam pcmcia pcre pdflib perl php pic plotutils png ppds python qt quicktime readline samba sdl spell sql sse sse2 ssl subversion tcpd tidy tiff truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xine xinerama xml2 xmms xscreensaver xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY

Thanks.

-- Michael.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-26 10:17:39 UTC

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