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

Bug 123552

Summary: Error compiling index.docbook in kpdf and kghostview
Product: Gentoo Linux Reporter: Sektor van Skijlen <ethouris>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sektor van Skijlen 2006-02-20 15:45:36 UTC
When compiling kpdf and kghostview there is an error when compiling index.docbook, so the compilation fails nonetheless.

BTW. Sometimes I could live without compiling documentation. Wouldn't be nice to add some option to emerge so that make receives -k ?

Last dump from compilation; emerge --info follows.

make  all-recursive
make[1]: Entering directory `/var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3/doc'
Making all in kpdf
make[3]: Entering directory `/var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3/doc/kpdf'
/usr/kde/3.4/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
I/O warning : failed to load external entity "/usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/common/pi.xsl"
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/docbook.xsl line 34 element include
xsl:include : unable to load /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/common/pi.xsl
unable to parse ./index.docbook
make[3]: *** [index.cache.bz2] Error 1
make[3]: Leaving directory `/var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3/doc/kpdf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3'
make: *** [all] Error 2

!!! ERROR: kde-base/kpdf-3.4.3-r3 failed.
!!! Function kde_src_compile, Line 175, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.

7547./var/tmp/portage/kpdf-3.4.3-r3/work/kpdf-3.4.3# emerge --info kpdf
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
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.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=athlon-xp -pipe"
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/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -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="-j2"
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 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl dvd eds emboss encode esd exif expat fam foomaticdb fortran gdbm gif glut gpm gstreamer gtk guile idn imlib ipv6 jpeg kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-20 16:20:59 UTC
> BTW. Sometimes I could live without compiling documentation. Wouldn't be nice
to add some option to emerge so that make receives -k ?

I don't see this happen. If you don't want any docs, there's FEATURES=nodocs.


Does /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/common/pi.xsl exist? Maybe you fubared its permissions or your file system broken. Alternatively you may try to re-emerge libxml2 and libxslt, if nothing helps even kdelibs. This is a local issue for sure.