Source: ns3
Version: 3.29+dfsg-2
Severity: important
User: python-modules-t...@lists.alioth.debian.org
Usertags: sphinx1.8

Dear Maintainer,

ns3 fails to build with Sphinx 1.8, currently available in experimental:

  make html man -C ./ns-3.29/doc/manual/ SPHINXOPTS="-D today=\"1538124357\" -D 
html_last_updated_fmt=\"1538124357\""
  [...]
  sphinx-build -b html -d build/doctrees  -D today="1538124357" -D 
html_last_updated_fmt="1538124357" source-temp build/html
  Running Sphinx v1.8.3

  Extension error:
  Could not import extension sphinx.ext.pngmath (exception: No module named 
pngmath)

The pngmath extension was deprecated in Sphinx 1.4 and has been removed [1]
in Sphinx 1.8. The recommended alternative is sphinx.ext.imgmath [2] which
also has SVG support in addition to PNG.

Upstream ns3 have updated their conf.py files today, see [3] and [4].

Also, for some reason the generated images are currently not present in the
ns3-doc binary package. It should contain files named like [5], so please
make sure that the packaging installs them correctly.

[1]: https://github.com/sphinx-doc/sphinx/pull/4702
[2]: https://www.sphinx-doc.org/en/1.8/usage/extensions/math.html
[3]: http://code.nsnam.org/ns-3.29/rev/64e3f1fdcec3
[4]: http://code.nsnam.org/ns-3.29/rev/d57add048e70
[5]: 
https://www.nsnam.org/docs/release/3.29/manual/html/_images/math/285ac9c86a824274472e4f5cc300de073f3696fc.png

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to