Control: retitle -1 mlpy: FTBFS: Needs build-dep on latexmk, pngmath replaced 
with imgmath

On Tue, Aug 15, 2017 at 12:26:45PM +0300, Dmitry Shachnev wrote:
> mlpy fails to build with Sphinx 1.6, currently available in experimental:
>
>   PYTHONPATH=/<<PKGBUILDDIR>>/build/lib.linux-x86_64-2.7 /usr/bin/make -C 
> docs/build/latex all-pdf
>   make[1]: Entering directory '/<<PKGBUILDDIR>>/docs/build/latex'
>   latexmk -pdf -dvi- -ps-  'mlpy.tex'
>   make[1]: latexmk: Command not found
>   Makefile:33: recipe for target 'mlpy.pdf' failed
>   make[1]: *** [mlpy.pdf] Error 127
>
> Since Sphinx 1.6, latexmk is required to build the LaTeX documentation [1].
> Adding a build-dependency on latexmk should help.
>
> [1]: https://github.com/sphinx-doc/sphinx/pull/3082

With Sphinx 1.8, there is a new build failure:

  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.

[1]: https://github.com/sphinx-doc/sphinx/pull/4702
[2]: https://www.sphinx-doc.org/en/1.8/usage/extensions/math.html

As both issues are related to Sphinx, I am not filing a new bug but adjusting
the description of this one.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to