After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 687299 - xsltproc on F18 different
xsltproc on F18 different
Status: RESOLVED NOTGNOME
Product: libxml2
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-11-01 00:02 UTC by bkoz
Modified: 2012-11-02 01:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description bkoz 2012-11-01 00:02:21 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
Comment 1 Daniel Veillard 2012-11-01 01:38:23 UTC
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
Comment 2 bkoz 2012-11-01 18:55:02 UTC
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?
Comment 3 Daniel Veillard 2012-11-02 01:06:38 UTC
  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