Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xpath error with kboincspy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bfdi533
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2003
Posts: 133

PostPosted: Mon Dec 19, 2005 7:30 pm    Post subject: Reply with quote

Fails for me as well with a different error:

Code:
make[3]: Entering directory `/var/tmp/portage/kboincspy-0.9.0/work/kboincspy-0.9.0/doc/en'
/usr/kde/3.5/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
XPath error : Undefined variable
$alphabetical[count(.|key('letter',                                  translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas)])), 1, 1),                   'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]
             ^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 155 element apply-templates
xsl:apply-templates : could not compile select expression '$alphabetical[count(.|key('letter',                                  translate(substring(normalize-space(concat(primary/@sortas, primary[not(@sortas)])), 1, 1),                                            'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ'))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]'
XPath error : Undefined variable
$refs[secondary and count(.|key('secondary', concat($key, " ", normalize-space(concat(secondary/@sortas, secondary[not(@sortas)]))))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]
     ^
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 251 element apply-templates
xsl:apply-templates : could not compile select expression '$refs[secondary and count(.|key('secondary', concat($key, " ", normalize-space(concat(secondary/@sortas, secondary[not(@sortas)]))))[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))][1]) = 1]'
XPath error : Undefined variable
key('id',$rootid)
                ^
...
...
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 94 element apply-templates
xsl:apply-templates : 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 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
compilation error: file /usr/kde/3.5/share/apps/ksgmltools2/customization/kde-navig.xsl line 47 element img
Attribute template src: 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/kboincspy-0.9.0/work/kboincspy-0.9.0/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kboincspy-0.9.0/work/kboincspy-0.9.0/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kboincspy-0.9.0/work/kboincspy-0.9.0'
make: *** [all] Error 2

!!! ERROR: sci-misc/kboincspy-0.9.0 failed.
!!! Function kde_src_compile, Line 173, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, NOT this status message.


I left out some of the error output in the middle as it is quite long.

Any help here is appreciated.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


Joined: 27 Jun 2003
Posts: 4920
Location: Gothenburg, Sweden

PostPosted: Sun Dec 25, 2005 8:16 pm    Post subject: Reply with quote

Please see [Solved] "XPath error : Undefined variable" ;kaffeine etc.

Split from topic 380021 and moved from Portage & Programming.
_________________
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.freenode.net
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum