[dput-ng-maint] Bug#717021: dput-ng FTBFS due to docbook-xsl-ns change

Daniel Leidert daniel.leidert at wgdd.de
Tue Jul 16 22:00:33 UTC 2013


Am Dienstag, den 16.07.2013, 08:50 -0400 schrieb Paul Tagliamonte:
> I'm on my phone, excuse the curt reply 
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=694983
> 
> Was the issue that got us to pull it in in the first place -
> apparently a2x uses xmllint to verify the conversion to docbook XML
> before dumping to man

The error shown in the above bug report is not related to xmllint in any
kind. The validation of the XML file succeeds.

However xsltproc is called and the stylesheets applied to the XML file
is: /etc/asciidoc/docbook-xsl/manpage.xsl. This file imports the
manpage/docbook.xsl file (from docbook-xsl) by referencing its web URL:
http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl. 

And this fails as clearly stated:

> compilation error: file /etc/asciidoc/docbook-xsl/manpage.xsl line 12 element import
> xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

Because the web reference exists, I guess the build machine had no
internet access and thus importing the stylesheet failed. However, the
web location is usually redirected to a local via the catalog system. So
it should be redirected
to /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl,
which I can easily proove by running:

> xmlcatalog /etc/xml/catalog http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

And this works. The user said:

> And after installing docbook-xsl it works.

And this is the next interesting part. Well, asciidoc references files
(at least their web locations) of docbook-xsl, but does not depend on
it.

But docbook-xsl-ns is not involved in any kind here. Its catalog cares
about http://docbook.sourceforge.net/release/xsl-ns/ (note the
difference). I have no idea, how you connect #694983 to a bug in
docbook-xsl(-ns). All the report says is: asciidoc references a few
files packaged by docbook-xsl. It uses their web locations. If you don't
want to being forced to have internet access, you need to
install/build-depend on docbook-xsl, because asciidoc doesn't pull in
docbook-xsl automatically.

So where is the problem you described? Do you have any bug/build log?

Regards, Daniel



More information about the dput-ng-maint mailing list