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


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

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

Started byDmitry Shachnev <mitya57@debian.org>
First post2019-01-09 16:40 +0100
Last post2019-01-11 14:30 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  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

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

FromDmitry Shachnev <mitya57@debian.org>
Date2019-01-09 16:40 +0100
SubjectBug#918822: ns3: FTBFS with Sphinx 1.8: No module named pngmath
Message-ID<xeo7v-3VN-7@gated-at.bofh.it>

[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

[toc] | [next] | [standalone]


#938155

FromMartin Quinson <martin.quinson@ens-rennes.fr>
Date2019-01-10 23:20 +0100
Message-ID<xeQQ9-4Mo-1@gated-at.bofh.it>
In reply to#937861

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

Hello Dmitry,

thanks for this nice bug report, I appreciate your efforts here. But
unfortunately, I'm currently rather deep under, and I'd appreciate any
NMU here. I could review and upload a patch, but I fear that it will
take time to prepare the patch myself, no matter how easy it'd be with
the info you already gave.

I'm sorry for not being able of doing this myself.
Mt.

On Wed, Jan 09, 2019 at 06:29:27PM +0300, Dmitry Shachnev wrote:
> 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



-- 
Beware of bugs in the above code; 
I have only proved it correct, not tried it.       -- D.E.Knuth

[toc] | [prev] | [next] | [standalone]


#938244

FromDmitry Shachnev <mitya57@debian.org>
Date2019-01-11 14:30 +0100
Message-ID<xf52N-4YV-1@gated-at.bofh.it>
In reply to#938155

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

On Thu, Jan 10, 2019 at 11:08:11PM +0100, Martin Quinson wrote:
> Hello Dmitry,
>
> thanks for this nice bug report, I appreciate your efforts here. But
> unfortunately, I'm currently rather deep under, and I'd appreciate any
> NMU here. I could review and upload a patch, but I fear that it will
> take time to prepare the patch myself, no matter how easy it'd be with
> the info you already gave.

No problem, I will take a look.

--
Dmitry Shachnev

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web