ci/debian.sh: Install docbook2x
PATCH 1/1 ci/debian.sh: Install docbook2x
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
--- ci/debian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ci/debian.sh +1 -1
@@ -49,6 +49,6 @@ $apt \ pkg-config $apt ruby-asciidoctor-pdf || true -$apt asciidoc-dblatex || true +$apt asciidoc-dblatex docbook2x || true df -hT
Signature · 5 lines
2.40.1 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi all,
Quoted 2 lines
asciidoc-dblatex dependency is no longer enough for Debian 11 bullseye (the new Debian oldstable), generating html with asciidoc otherwise fails:
Well, this does not help. Obviously asciidoc 9.0.0~rc2-1 on bullseye requires network connection to download
http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl (likely this was not needed on 8.6.10-3 from buster).
The problem is with somehow special network setup on github actions containers (e.g. ping -c1 8.8.8.8 does not work).
I tried to generate pdf with asciidoc on all our CI [1] and the only broken is Debian bullseye (oldstable). (Well, on some very old distros e.g. CentOS 7 it's is a2x < 9, thus generation is disabled). I'm don't want to invest energy to find what is wrong with asciidoc on oldstable, thus I'll send a patch which skip asciidoc testing on it.
Kind regards,
Petr
[1] https://github.com/pevik/ltp/actions/runs/5313212040
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp