Bug#878369: sfepy: FTBFS: latex_preamble has no effect in Sphinx 1.6

Dmitry Shachnev mitya57 at debian.org
Fri Oct 13 09:08:42 UTC 2017


Source: sfepy
Version: 2016.2-3
Severity: serious
Justification: fails to build from source
Tags: patch fixed-upstream
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx1.6

Dear maintainer,

sfepy package currently uses latex_preamble configuration option to define
its custom LaTeX commands. However that option was deprecated [1] in Sphinx
0.5 (in 2008) and removed [2] in Sphinx 1.6.

This makes the package FTBFS with the following error (\pdiff is defined in
the preamble):

  ! Undefined control sequence.
  l.1018 \Omega \setminus \Gamma\), i.e. \(\pdiff
                                                 {T}{\ul{n}} = 0\) there.  The
  ? 
  ! Emergency stop.

A patch to use the modern setting is attached, based on upstream commit [3].

[1]: https://github.com/sphinx-doc/sphinx/commit/f16dae964a7a5298
[2]: http://www.sphinx-doc.org/en/stable/changes.html#features-removed
[3]: https://github.com/sfepy/sfepy/commit/8fb2189c3a9a9aec

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sphinx1.6_preamble.patch
Type: text/x-diff
Size: 850 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20171013/b35475e0/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20171013/b35475e0/attachment.sig>


More information about the debian-science-maintainers mailing list