Bug #5287


asciidoc 10 related failures on debian unstable and testing, all builds fail

Added by laforge over 2 years ago. Updated 10 months ago.

Target version:
Start date:
Due date:
% Done:


Spec Reference:


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 - 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:
  1. add an asciidoc package to the osmocom package repository (ideally a python3 version)
  2. 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)
  3. convince Debian not to drop the package

Actually, I just found 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/", line 524, in distribution
[  418s]     return Distribution.from_name(distribution_name)
[  418s]   File "/usr/lib/python3.9/importlib/", line 187, in from_name
[  418s]     raise PackageNotFoundError(name)
[  418s] importlib.metadata.PackageNotFoundError: asciidoc

Related issues

Related to Cellular Network Infrastructure - Bug #5363: all Osmocom package builds on debian unstable fail due to some asciidoc related errorResolvedosmith12/20/2021


Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)