Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge on knoda-0.7.4.1 fails
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
Featherfoot
l33t
l33t


Joined: 28 Dec 2002
Posts: 995
Location: Stuart, Florida

PostPosted: Sun Nov 20, 2005 10:15 pm    Post subject: Emerge on knoda-0.7.4.1 fails Reply with quote

Code:

Making all in en
make[4]: Entering directory `/var/tmp/portage/knoda-0.7.4-r1/work/knoda-0.7.4/knoda/doc/en'
/usr/kde/3.4/bin/meinproc --check --cache index.cache.bz2 ./index.docbook
XPath error : Undefined variable
$index.on.role != 0
               ^
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 106 element if
xsl:if : could not compile test expression '$index.on.role != 0'
XPath error : Undefined variable
$index.on.type != 0
               ^
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 112 element if
xsl:if : could not compile test expression '$index.on.type != 0'
XPath error : Undefined variable
compilation error: file /usr/kde/3.4/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 132 element if
xsl:if : could not compile test expression '$others'
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.4/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
key('letter', $key)[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))]                 [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[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.4/share/apps/ksgmltools2/docbook/xsl/html/autoidx.xsl line 174 element if
xsl:if : could not compile test expression 'key('letter', $key)[count(ancestor::node()|$scope) = count(ancestor::node())
                and ($role = @role or $type = @type or
                (string-length($role) = 0 and string-length($type) = 0))]                 [count(.|key('primary', normalize-space(concat(primary/@sortas, primary[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
contains(concat('abcdefghijklmnopqrstuvwxyz', 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'), $key)
                                                             


I have had a similar problem with koffice that is still unresolved, so there is clearly something wrong with my system apparently in the documentation building arena. Any help would be appreciated.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Mon Nov 21, 2005 12:36 am    Post subject: Reply with quote

looks like bug 105297
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
Featherfoot
l33t
l33t


Joined: 28 Dec 2002
Posts: 995
Location: Stuart, Florida

PostPosted: Mon Nov 21, 2005 2:08 am    Post subject: Reply with quote

Thanks for your help.

As I noted, I had the same problem in September on Koffice and maybe I have a similar gtk+ right now. Each time I searched for an emerge failure discussion on the forums and posted questions when I couldn't find an answer. In the past I have gotten answers.

I have been losing hope on Gentoo and wondering what was wrong with my system.

I think the punch line is that sometimes you have to ask the right question to get the answer.
Back to top
View user's profile Send private message
Featherfoot
l33t
l33t


Joined: 28 Dec 2002
Posts: 995
Location: Stuart, Florida

PostPosted: Mon Nov 21, 2005 2:27 am    Post subject: Reply with quote

Another post on the XPath error pointed out that re-emerging libxslt fixed that problem. It also fixed this problem for me.
Back to top
View user's profile Send private message
kallamej
Administrator
Administrator


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

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

Moved from Portage & Programming to Duplicate Threads in favour of [Solved] "XPath error : Undefined variable" ;kaffeine etc.
_________________
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