Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #937861

Bug#918822: ns3: FTBFS with Sphinx 1.8: No module named pngmath

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#918822: ns3: FTBFS with Sphinx 1.8: No module named pngmath
Date 2019-01-09 16:40 +0100
Message-ID <xeo7v-3VN-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Source: ns3
Version: 3.29+dfsg-2
Severity: important
User: python-modules-team@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

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#918822: ns3: FTBFS with Sphinx 1.8: No module named pngmath Dmitry Shachnev <mitya57@debian.org> - 2019-01-09 16:40 +0100
  Bug#918822: ns3: FTBFS with Sphinx 1.8: No module named pngmath Martin Quinson <martin.quinson@ens-rennes.fr> - 2019-01-10 23:20 +0100
    Bug#918822: ns3: FTBFS with Sphinx 1.8: No module named pngmath Dmitry Shachnev <mitya57@debian.org> - 2019-01-11 14:30 +0100

csiph-web