GNOME Bugzilla – Bug 687299
xsltproc on F18 different
Last modified: 2012-11-02 01:06:38 UTC
On F18 beta install (x86_64), part of gcc docs configury fails: from libstdc++-v3/acinclude.4: AC_DEFUN([GLIBCXX_CONFIGURE_DOCBOOK], [ AC_MSG_CHECKING([for docbook stylesheets for documentation creation]) glibcxx_stylesheets=no if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then glibcxx_stylesheets=yes fi AC_MSG_RESULT($glibcxx_stylesheets) This works on F17, fails on F18. F17: xsltproc --version Using libxml 20708, libxslt 10126 and libexslt 815 xsltproc was compiled against libxml 20708, libxslt 10126 and libexslt 815 libxslt 10126 was compiled against libxml 20708 libexslt 815 was compiled against libxml 20708 xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/docbook.xsl F18: xsltproc --version Using libxml 20900, libxslt 10127 and libexslt 816 xsltproc was compiled against libxml 20900, libxslt 10127 and libexslt 816 libxslt 10127 was compiled against libxml 20900 libexslt 816 was compiled against libxml 20900 xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml/docbook.xsl warning: failed to load external entity "file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.77.1/VERSION.xsl" compilation error: file file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.77.1/xhtml/docbook.xsl line 21 element include xsl:include : unable to load file:///usr/share/sgml/docbook/xsl-ns-stylesheets-1.77.1/VERSION.xsl
Hum, and the file: /usr/share/sgml/docbook/xsl-ns-stylesheets-1.77.1/VERSION.xsl referenced by /usr/share/sgml/docbook/xsl-ns-stylesheets-1.77.1/xhtml/docbook.xsl line 21 is actually present on F18 ? Because on my F17 machine with docbook-style-xsl-1.76.1-5.fc17.noarch I have /usr/share/sgml/docbook/xsl-stylesheets-1.76.1/VERSION but no /usr/share/sgml/docbook/xsl-stylesheets-1.76.1/VERSION.xsl ! And /usr/share/sgml/docbook/xsl-stylesheets-1.76.1/xhtml/docbook.xsl line 20 has: <xsl:include href="../VERSION"/> not trying to include ../VERSION.xsl So I'm suspicious of change in the docbook stylesheets between F17 and F18 based on your error message there. Daniel
Ah! Thanks Daniel. No, /usr/share/sgml/docbook/xsl-ns-stylesheets-1.77.1/VERSION.xsl Does Not Exist on F18. So I suppose this is a a docbook5-style-xsl package bug?
Hi Benjamin, Yes, i do think it's a packaging bug, they probably didn't noticed the switch from VERSION to VERSION.xsl . The weird thing is that i would assume any testing would raise that error... surprizing. In any case the bug should be reported against Fedora in my opinion, not GNOME, so closing this one ! thanks ! Daniel