I'm trying to create package for sway and I noticed strange behavior
difference between build by daemon and by me within prepared
environment.
I found the reason for that - a2x (asciidoc) is trying to access
manpage/docbook.xsl.
asciidoc package needs to be adjusted to use docbook-xsl package files
instead so it could be used for build.
$ ag 'import.*docbook\.xsl' /gnu/store/*-asciidoc-*
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/xhtml.xsl
12:
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/fo.xsl
16:
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/manpage.xsl
12:
/gnu/store/…-asciidoc-8.6.9/etc/asciidoc/docbook-xsl/epub.xsl
12:
IMO, for these files it should be sufficient to replace:
http://docbook.sourceforge.net/release/xsl/current/
with
/gnu/store/…-docbook-xsl-*/xml/xsl/docbook-xsl-*/
S_W