asciidoc 10 related failures on debian unstable and testing, all builds fail
Every of our package builds on Debian unstable started to fail last night as the apparently have gone through with the [I'm extremely sorry to hear] removal of asciidoc:
The original rational given was that it's python2-only, which is no longer true since several years, see https://github.com/asciidoc-py/asciidoc-py/pull/1 - and even the Debian asciidoc I have installed on unstable (9.0.0~rc2-1) is python3.
Also, it seems still an active project, given that 10.0.1 was just released yesterday, as there were several 9.x releases last year.So now we ahve three options:
- add an asciidoc package to the osmocom package repository (ideally a python3 version)
- transition our manuals to asciidoctor (I think I tried it once years ago and asciidoc was missing many features such as the easy integration of pktgen and mscgen)
- convince Debian not to drop the package
Actually, I just found https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980930 which at the bottom hintes that a 10.0.1 has been pushed to the debian archive. Now I'm confused. Why do our build slaves?
In any case, my above analysis may be wrong. Still, we have build failures on unstable like:
[ 418s] TEXINPUTS=".." \ [ 418s] a2x -vv -L --asciidoc-opts="-f ../build/mscgen-filter.conf -f ../build/diag-filter.conf -f ../build/docinfo-releaseinfo.conf -a srcdir='/usr/src/packages/BUILD/tests' -a commondir='../common'" --dblatex-opts="-s ../build/custom-dblatex.sty -P draft.mode=yes -P draft.watermark=0" -a docinfo -a revnumber="DRAFT " -a revdate="unknown" test-usermanual.adoc [ 418s] Traceback (most recent call last): [ 418s] File "/usr/bin/a2x", line 33, in <module> [ 418s] sys.exit(load_entry_point('asciidoc==10.0.1', 'console_scripts', 'a2x')()) [ 418s] File "/usr/bin/a2x", line 22, in importlib_load_entry_point [ 418s] for entry_point in distribution(dist_name).entry_points [ 418s] File "/usr/lib/python3.9/importlib/metadata.py", line 524, in distribution [ 418s] return Distribution.from_name(distribution_name) [ 418s] File "/usr/lib/python3.9/importlib/metadata.py", line 187, in from_name [ 418s] raise PackageNotFoundError(name) [ 418s] importlib.metadata.PackageNotFoundError: asciidoc