Hardcoded docbook.xsl breaks build on Fedora
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/
compilation error: file manpage.xsl line 3 element import
xsl:import : unable to load /usr/share/
compilation error: file mosquitto.8.xml line 4 element refentry
xsltParseStyles
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/
Using this path fixed the problem on my box but I am not familiar with the docbook stuff.
Kind regards,
Dominik
Changed in mosquitto: | |
status: | New → Won't Fix |
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.