systemd-bootchart icon indicating copy to clipboard operation
systemd-bootchart copied to clipboard

Build fails without docbook-xsl

Open usedbytes opened this issue 8 years ago • 2 comments

Building on Arch from https://aur.archlinux.org/packages/systemd-bootchart-git fails if docbook-xsl isn't installed. I guess it should be somehow flagged as a build dependency?

/usr/bin/xsltproc -o man/bootchart.conf.5 --nonet --xinclude --stringparam man.output.quietly 1 --stringparam funcsynopsis.style ansi --stringparam man.authors.section.enabled 0 --stringparam man.copyright.section.enabled 0 --stringparam systemd.version 231 --path './man:./man' ./man/custom-man.xsl man/bootchart.conf.xml
I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file ./man/custom-man.xsl line 27 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[2]: *** [Makefile:1765: man/bootchart.conf.5] Error 5
make[1]: *** [Makefile:1309: all-recursive] Error 1
make: *** [Makefile:648: all] Error 2

Found a similar issue here with a fix: https://github.com/hughsie/appdata-tools/issues/10

usedbytes avatar Jan 06 '17 23:01 usedbytes

FYI, the URL with the fix has been removed but is available on archive.org.

The gist of the fix is to install docbook-xsl or equivalent (works on my debian 10.1)

ycongal-smile avatar Oct 01 '19 15:10 ycongal-smile

Can the need for docbook be disabled from the build?

treedavies avatar Mar 28 '21 18:03 treedavies