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

Bug 110180

Summary: x11-libs/cairo-1.0.2 fails to emerge; "XPath" errors abound
Product: Gentoo Linux Reporter: Ricardo <designerd>
Component: Current packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED INVALID    
Severity: normal CC: gnome, latexer, nattfodd
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ricardo 2005-10-22 17:01:00 UTC
emerge x11-libs/cairo-1.0.2 fails to emerge because of a HUGE string of XPath
errors.  I believe there is another bug on this site that may be associated with
it (109974) but there isn't enough information in that bug report for me to
tell.  Anyways, I am including the text of the errors in the Actual Results
section.  Be forewarned; this is a huge entry!

Reproducible: Always
Steps to Reproduce:
1. emerge -u gimp   # updating to 2.2.8-r1, apparently requires emerging
cairo-1.0.2 first
Actual Results:  
It downloaded all the sources without a hitch and began compiling well, and then
this massiveness of errors happened:

cd . && gtkdoc-mktmpl --module=cairo 
WARNING: No declaration found for: CAIRO_VERSION_STRING
=============================================================================
WARNING: 1 unused declarations.
  These can be found in cairo-unused.txt.
  They should be added to cairo-sections.txt in the appropriate place.
=============================================================================
touch tmpl-build.stamp
gtk-doc: Building XML
cd . && \
gtkdoc-mkdb --module=cairo --source-dir=../../src --output-format=xml
--expand-content-files="" --main-sgml-file=cairo-docs.xml --sgml-mode
--output-format=xml
WARNING: No declaration found for: CAIRO_VERSION_STRING
79% symbol docs coverage (222 symbols documented, 0 symbols incomplete, 58 not
documented)
See cairo-undocumented.txt for a list of missing docs.
The doc coverage percentage doesn't include intro sections.
touch sgml-build.stamp
gtk-doc: Building HTML
rm -rf ./html 
mkdir ./html
cd ./html && gtkdoc-mkhtml cairo ../cairo-docs.xml
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 231 element
apply-templates
xsl:apply-templates : could not compile select expression '$home'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 275 element
apply-templates
xsl:apply-templates : could not compile select expression '$prev'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 290 element
apply-templates
xsl:apply-templates : could not compile select expression '$next'
XPath error : Undefined variable
key('id',$rootid)
                ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/docbook.xsl line 326
element apply-templates
xsl:apply-templates : could not compile select expression 'key('id',$rootid)'
XPath error : Undefined variable
key('id',$rootid)
                ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/docbook.xsl line 329
element apply-templates
xsl:apply-templates : could not compile select expression 'key('id',$rootid)'
XPath error : Undefined namespace prefix
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/VERSION line 55 element
apply-templates
xsl:apply-templates : could not compile select expression 'fm:Changes'
XPath error : Undefined variable
$years[1]
      ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/common.xsl line
1525 element apply-templates
xsl:apply-templates : could not compile select expression '$years[1]'
XPath error : Undefined variable
$years[1]
      ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/common.xsl line
1528 element apply-templates
xsl:apply-templates : could not compile select expression '$years[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/labels.xsl line 456
element apply-templates
xsl:apply-templates : could not compile select expression '$lparent'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/labels.xsl line 500
element apply-templates
xsl:apply-templates : could not compile select expression '$lparent'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/labels.xsl line 577
element apply-templates
xsl:apply-templates : could not compile select expression '$pchap'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/labels.xsl line 610
element apply-templates
xsl:apply-templates : could not compile select expression '$pchap'
XPath error : Undefined variablecompilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 131
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 175
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
$refentrytitle[1]
              ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 199
element apply-templates
xsl:apply-templates : could not compile select expression '$refentrytitle[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 202
element apply-templates
xsl:apply-templates : could not compile select expression '$refdesc'
XPath error : Undefined variable
$refname[1]
        ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 205
element apply-templates
xsl:apply-templates : could not compile select expression '$refname[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 244
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 274
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 291
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 328
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 345
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 399
element apply-templates
xsl:apply-templates : could not compile select expression '$title'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 485
element apply-templates
xsl:apply-templates : could not compile select expression '$titleabbrev'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 509
element apply-templates
xsl:apply-templates : could not compile select expression '$titleabbrev'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 544
element apply-templates
xsl:apply-templates : could not compile select expression '$titleabbrev'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 646
element apply-templates
xsl:apply-templates : could not compile select expression '$etarget'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/titles.xsl line 674
element apply-templates
xsl:apply-templates : could not compile select expression '$target'
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/co
mmon/targets.xsl line 143 element apply-templates
xsl:apply-templates : could not compile select expression '$nd'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/targets.xsl line
173 element apply-templates
xsl:apply-templates : could not compile select expression '$nd'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/common/olink.xsl line 1058
element apply-templates
xsl:apply-templates : could not compile select expression '$target'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 70
element apply-templates
xsl:apply-templates : could not compile select expression '$nodes'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 200
element apply-templates
xsl:apply-templates : could not compile select expression '$nodes'
XPath error : Undefined variable
$refentrytitle[1]
              ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 455
element apply-templates
xsl:apply-templates : could not compile select expression '$refentrytitle[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 459
element apply-templates
xsl:apply-templates : could not compile select expression '$refdesc'
XPath error : Undefined variable
$refname[1]
        ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 463
element apply-templates
xsl:apply-templates : could not compile select expression '$refname[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 522
element apply-templates
xsl:apply-templates : could not compile select expression '$node'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 569
element apply-templates
xsl:apply-templates : could not compile select expression '$nodes'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/autotoc.xsl line 550
element div
Attribute template class: failed to compile $titles
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
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/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
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/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
$segtitles[$segnum=position()]
          ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/lists.xsl line 828
element apply-templates
xsl:apply-templates : could not compile select expression
'$segtitles[$segnum=position()]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/lists.xsl line 735
element ol
Attribute template type: failed to compile $numeration
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/callout.xsl line 158
element img
Attribute template src: failed to compile $callout.graphics.path
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/graphics.xsl line 473
element object
Attribute template data: failed to compile $filename
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/graphics.xsl line 496
element embed
Attribute template src: failed to compile $filename
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/graphics.xsl line 815
element a
Attribute template href: failed to compile $filename
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/graphics.xsl line 926
element a
Attribute template href: failed to compile $filename
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/ht
ml/graphics.xsl line 1062 element a
Attribute template href: failed to compile $href.to
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/graphics.xsl line
1146 element a
Attribute template href: failed to compile $filename
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 68
element apply-templates
xsl:apply-templates : could not compile select expression '$etarget'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 117
element apply-templates
xsl:apply-templates : could not compile select expression '$target'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 853
element apply-templates
xsl:apply-templates : could not compile select expression '$etarget'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 62
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 67
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 96
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 999
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/xref.xsl line 1056
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/formal.xsl line 56
element apply-templates
xsl:apply-templates : could not compile select expression '$object'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/formal.xsl line 19
element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/formal.xsl line 71
element div
Attribute template class: failed to compile $class
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/sections.xsl line 80
element apply-templates
xsl:apply-templates : could not compile select expression '$section'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 60
element apply-templates
xsl:apply-templates : could not compile select expression '$footnote'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 168
element apply-templates
xsl:apply-templates : could not compile select expression '$html-nodes'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 173
element apply-templates
xsl:apply-templates : could not compile select expression '$html-nodes'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 220
element apply-templates
xsl:apply-templates : could not compile select expression '$footnotes'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 30
element a
Attribute template name: failed to compile $name
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 30
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 39
element a
Attribute template name: failed to compile $name
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 39
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 59
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/ht
ml/footnote.xsl line 123 element a
Attribute template name: failed to compile $name
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 123
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 151
element a
Attribute template name: failed to compile $name
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/footnote.xsl line 151
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
$refentrytitle[1]
              ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/refentry.xsl line 60
element apply-templates
xsl:apply-templates : could not compile select expression '$refentrytitle[1]'
XPath error : Undefined variable
$refdesc[1]
        ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/refentry.xsl line 63
element apply-templates
xsl:apply-templates : could not compile select expression '$refdesc[1]'
XPath error : Undefined variable
$refname[1]
        ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/refentry.xsl line 66
element apply-templates
xsl:apply-templates : could not compile select expression '$refname[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/component.xsl line 43
element apply-templates
xsl:apply-templates : could not compile select expression '$node'
XPath error : Undefined variable
$revnumber[1]
          ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line
685 element apply-templates
xsl:apply-templates : could not compile select expression '$revnumber[1]'
XPath error : Undefined variable
$revdate[1]
        ^
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/ht
ml/titlepage.xsl line 689 element apply-templates
xsl:apply-templates : could not compile select expression '$revdate[1]'
XPath error : Undefined variable
$revauthor[1]
          ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line
694 element apply-templates
xsl:apply-templates : could not compile select expression '$revauthor[1]'
XPath error : Undefined variable
$revremark[1]
          ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line
706 element apply-templates
xsl:apply-templates : could not compile select expression '$revremark[1]'
XPath error : Undefined variable
concat('ln-',$id,$html.ext)
                ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line
475 element a
Attribute template href: failed to compile concat('ln-',$id,$html.ext)
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line
657 element th
Attribute template colspan: failed to compile $numcols
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line
705 element td
Attribute template colspan: failed to compile $numcols
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/ebnf.xsl line 306
element apply-templates
xsl:apply-templates : could not compile select expression '$target'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/ebnf.xsl line 236
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/ebnf.xsl line 303
element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
exsl:node-set($p)
                ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/html-rtf.xsl line 114
element apply-templates
xsl:apply-templates : could not compile select expression 'exsl:node-set($p)'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/html-rtf.xsl line 185
element apply-templates
xsl:apply-templates : could not compile select expression '$leading'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/html-rtf.xsl line 189
element apply-templates
xsl:apply-templates : could not compile select expression '$block'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/html-rtf.xsl line 208
element apply-templates
xsl:apply-templates : could not compile select expression '$nodes'
XPath error : Undefined variable
exsl:node-set($div)
                  ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/html-rtf.xsl line 304
element apply-templates
xsl:apply-templates : could not compile select expression 'exsl:node-set($div)'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/docbook.xsl line 138
element base
Attribute template href: failed to compile $html.base
XPath error : Undefined variable
substring-before($stylesheets, ' ')
                             ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/docbook.xsl line 198
element link
Attribute template href: failed to compile substring-before($stylesheets, ' ')
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/docbook.xsl line 421
element ulink
Attribute template url: failed to compile $href
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-common.xsl line
749 element apply-templates
xsl:apply-templates : could not compile select expression '$up'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-common.xsl line
866 element apply-templates
xsl:apply-templates : could not compile select expression '$prev'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-common.xsl line
907 element apply-templates
xsl:apply-templates : could not compile select expression '$next'
XPath error : Undefined variable
key('id',$rootid)
                ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-code.xsl line
512 element apply-templates
xsl:apply-templates : could not compile select expression 'key('id',$rootid)'
XPath error : Undefined variable
key('id',$rootid)
                ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-code.xsl line
515 element apply-templates
xsl:apply-templates : could not compile select expression 'key('id',$rootid)'
XPath error : Undefined variable
$footnotes[1]
          ^
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-code.xsl line
954 element apply-templates
xsl:apply-templates : could not compile select expression '$footnotes[1]'
XPath error : Undefined variable
compilation error: file
file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/chunk-code.xsl line
805 element a
Attribute template href: failed to compile $href
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 51 element
apply-templates
xsl:apply-templates : could not compile select expression '$toc.nodes'
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 47 element book
Attribute template title: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 47 element book
Attribute template name: failed to compile $gtkdoc.bookname
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 79 element sub
Attribute template name: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 79 element sub
Attribute template link: failed to compile $target
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 102 element
function
Attribute template name: failed to compile $title
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/devhelp.xsl line 102 element
function
Attribute template link: failed to compile $target
XPath error : Undefined variable
compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 122 element met
a
Attribute template content: failed to compile $gtkdoc.version
make[3]: *** [html-build.stamp] Error 5
make[3]: Leaving directory
`/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/doc/public'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-1.0.2/work/cairo-1.0.2'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-1.0.2 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! Compilation failed
!!! If you need support, post the topmost build error, NOT this status message. 

Expected Results:  
Not have encountered an XPath variable problem and installed completely without
problems.

# emerge --info

Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r1 i686)
=================================================================
System uname: 2.6.13-gentoo-r1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.13
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -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/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo
http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo
http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 X abook acpi aim alsa apm arts avi berkdb bitmap-fonts bzip2 c++
cdparanoia cdr cdrom cpudetection crypt cups curl debug divx4linux doc dv dvd
dvdread eds emboss encode esd fam foomaticdb fortran gdbm gif gimp gimpprint
gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde libg++ libwww
mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcmcia pdflib
perl png python qt quicktime readline sdl snmp spell ssl svga tcpd tetex tiff
truetype truetype-fonts type1-fonts udev usb vorbis win32codecs xml2 xmms xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Alexandre Buisse (RETIRED) gentoo-dev 2005-10-22 17:34:07 UTC
No, it has nothing to do with bug #109974, which is just about dependancies.
Yours is a problem with gtkdoc. A quick and dirty fix would be to 'USE="-doc"
emerge -av cairo' while this issue with gtkdoc isn't solved.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-24 07:47:13 UTC
Have you tried to upgrade to dev-libs/libxslt-1.1.15?
Comment 3 Vlad-Mihai Sima 2006-03-04 09:59:12 UTC
(In reply to comment #2)
> Have you tried to upgrade to dev-libs/libxslt-1.1.15?
> 

I had experienced same errors and the installation of dev-libs/libxslt-1.1.15 solved the problem. (should libxslt be a dependency..?)
Comment 4 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-18 00:15:32 UTC
Resolving as invalid, not because it wasn't a valid bug, but because the bug was not in cairo.