Bug 891459

Summary: VERSION/VERSION.xsl confusion
Product: [Fedora] Fedora Reporter: Benjamin Kosnik <bkoz>
Component: docbook5-style-xslAssignee: Ondrej Vasik <ovasik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: mnewsome, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-03 09:28:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.