Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155710 - app-office/dia-0.95.1 fails to compile. Something is wrong with the docbook-xsl-stylesheets
Summary: app-office/dia-0.95.1 fails to compile. Something is wrong with the docbook-x...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-19 12:16 UTC by Szemán János
Modified: 2006-11-20 04:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Szemán János 2006-11-19 12:16:44 UTC
Here is the tail of the log file.

...
make[3]: Entering directory `/var/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc/en'
xsltproc --nonet --novalid http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl dia.dbk >dia.1
if test ""; then \
  for file in ; do \
    scrollkeeper-preinstall /usr/share/gnome/help/dia/en/dia.xml ./$file $file.out; \
  done; \
fi;
touch omf_timestamp
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
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/callout.xsl line 158 element img
Attribute template alt: failed to compile $conum
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/inline.xsl line 856 element a
Attribute template href: failed to compile $chunkbase
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/inline.xsl line 934 element code
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/html.xsl line 24 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/index.xsl line 115 element a
Attribute template name: failed to compile $id
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 502 element a
Attribute template name: failed to compile $id
XPath error : Undefined variable
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/titlepage.xsl line 780 element a
Attribute template name: failed to compile $id
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
substring-after($href,'#')
                     ^
compilation error: file file:///usr/share/sgml/docbook/xsl-stylesheets-1.68.1/html/docbook.xsl line 431 element link
Attribute template linkend: failed to compile substring-after($href,'#')
make[3]: *** [dia.1] Error 5
make[3]: Leaving directory `/var/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc/en'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dia-0.95.1/work/dia-0.95-1/doc'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dia-0.95.1/work/dia-0.95-1'
make: *** [all] Error 2

!!! ERROR: app-office/dia-0.95.1 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-19 12:22:37 UTC
Post the output of emerge -pv dev-libs/libxslt please.
Comment 2 Szemán János 2006-11-19 13:21:27 UTC
Here is it:

These are the packages that would be merged, in order:

Calculating dependencies   ... done!
[ebuild     U ] dev-libs/libxml2-2.6.26 [2.6.23-r1] USE="ipv6 python readline -debug -doc -test" 3,338 kB 
[ebuild     U ] dev-libs/libxslt-1.1.17 [1.1.14-r2] USE="crypt python -debug (-static%)" 1,865 kB 

Total size of downloads: 5,204 kB
Comment 3 Szemán János 2006-11-20 04:00:23 UTC
Problem is solved to me, by emerging the libxslt package. Perhaps the dependencies was not correctly set in dia's ebuild.

Thank you, by the way, for the quick answer...