* [LTP] [PATCH 1/1] ci/debian.sh: Install docbook2x
@ 2023-06-19 11:35 Petr Vorel
2023-06-19 16:24 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Petr Vorel @ 2023-06-19 11:35 UTC (permalink / raw)
To: ltp
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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [LTP] [PATCH 1/1] ci/debian.sh: Install docbook2x
2023-06-19 11:35 [LTP] [PATCH 1/1] ci/debian.sh: Install docbook2x Petr Vorel
@ 2023-06-19 16:24 ` Petr Vorel
0 siblings, 0 replies; 2+ messages in thread
From: Petr Vorel @ 2023-06-19 16:24 UTC (permalink / raw)
To: ltp
Hi all,
> 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
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-06-19 16:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-19 11:35 [LTP] [PATCH 1/1] ci/debian.sh: Install docbook2x Petr Vorel
2023-06-19 16:24 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox