[LTP] [PATCH 1/1] ci/debian.sh: Install docbook2x

Petr Vorel pvorel@suse.cz
Mon Jun 19 13:35:30 CEST 2023


asciidoc-dblatex dependency is no longer enough for Debian 11 bullseye
(the new Debian oldstable), generating html with asciidoc otherwise fails:

$ cd metadata && make
error : Unknown IO error
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"
compilation error: file /etc/asciidoc/docbook-xsl/xhtml.xsl line 12 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 ci/debian.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ci/debian.sh b/ci/debian.sh
index da92337fb..7b0361100 100755
--- a/ci/debian.sh
+++ b/ci/debian.sh
@@ -49,6 +49,6 @@ $apt \
 	pkg-config
 
 $apt ruby-asciidoctor-pdf || true
-$apt asciidoc-dblatex || true
+$apt asciidoc-dblatex docbook2x || true
 
 df -hT
-- 
2.40.1



More information about the ltp mailing list