Bug 891459 - VERSION/VERSION.xsl confusion
Summary: VERSION/VERSION.xsl confusion
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: docbook5-style-xsl
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-03 01:17 UTC by Benjamin Kosnik
Modified: 2013-08-09 05:51 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-01-03 09:28:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Benjamin Kosnik 2013-01-03 01:17:04 UTC
Description of problem:

There's a typo in one of the DocBook stylesheets. Since it's DB5, most people probably haven't noticed it.



Version-Release number of selected component (if applicable):

docbook5-style-xsl-1.77.1-2.fc18.noarch

How reproducible:

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

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

workaround via:

cd /usr/share/sgml/docbook/xsl-ns-stylesheets
ln -s VERSION VERSION.xsl

Comment 1 Ondrej Vasik 2013-01-03 08:33:33 UTC
Thanks for report, VERSION.xsl is in the upstream tarball, however it contains e.g. <xsl:param name="DistroName">docbook-xsl</xsl:param> instead of <xsl:param name="DistroName">docbook-xsl-ns</xsl:param> , so the symlink or correction of the include seems to be better way than including the faulty file.

Comment 2 Ondrej Vasik 2013-01-03 08:42:20 UTC
(Probably caused by http://docbook.svn.sourceforge.net/viewvc/docbook?view=revision&revision=9396 commit btw.)

Comment 3 Ondrej Vasik 2013-01-03 09:28:06 UTC
Fixed and built in Rawhide - docbook5-style-xsl-1.78.0-2.fc19 ...

Comment 4 Fedora Update System 2013-01-03 09:44:57 UTC
docbook5-style-xsl-1.77.1-3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/docbook5-style-xsl-1.77.1-3.fc18

Comment 5 Benjamin Kosnik 2013-01-03 18:50:36 UTC
Excellent! Thanks.

Comment 6 Fedora Update System 2013-01-12 15:10:42 UTC
docbook5-style-xsl-1.77.1-3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.