Hardcoded docbook.xsl breaks build on Fedora

Bug #1269967 reported by Dominik Zajac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mosquitto
Won't Fix
Undecided
Unassigned

Bug Description

Hi Roger,

you hardcoded the dockbook.xsl path within the man/manpage.xsl files. This leads to a failed build on my Fedora box.

Here the errormessage if someone is searching the web for a solution:

warning: failed to load external entity "/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl"
compilation error: file manpage.xsl line 3 element import
xsl:import : unable to load /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl
compilation error: file mosquitto.8.xml line 4 element refentry
xsltParseStylesheetProcess : document is not a stylesheet
make[1]: *** [mosquitto.8] Error 5
make[1]: Leaving directory

Not sure if there is a more generic path to point to, here my dirty just in time replacement path on my Fedora 20 machine: /usr/share/sgml/docbook/xsl-stylesheets-1.78.1/manpages/profile-docbook.xsl

Using this path fixed the problem on my box but I am not familiar with the docbook stuff.

Kind regards,

Dominik

Tags: build fedora make
Revision history for this message
Roger Light (roger.light) wrote :

Unfortunately every distro seems to put these files in a different place, so it's difficult to see how a general fix is possible.

It does only affect people building from the repository and you can avoid the error (which should only occur after everything else has built anyway) by using "make binary" instead. I agree it's not ideal though.

Revision history for this message
Dominik Zajac (banym) wrote :

Hi,

o.k the "make binary" solution is totally o.k for me. Thanks for the hint.

Changed in mosquitto:
status: New → Won't Fix
Revision history for this message
Rman Empire (o-kochetilov) wrote :

Hi,
try to install "docbook-xsl" package, then check location of the docbook.xsl

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.