Bug#866166: sagemath: FTBFS with Sphinx 1.5: AttributeError: 'BuildEnvironment' object has no attribute 'citations'
Ximin Luo
infinity0 at debian.org
Tue Jul 4 07:35:00 UTC 2017
Tobias Hansen wrote:
> On 06/28/2017 04:03 PM, Dmitry Shachnev wrote:
> > Hi Tobias, and thanks for the quick response!
> >
> > On Wed, Jun 28, 2017 at 02:44:23PM +0100, Tobias Hansen wrote:
> >> Hi Dmitry,
> >>
> >> would it be an option to upload sphinx 1.5 to unstable together with
> >> sagemath 8.0 (which works fine with sphinx 1.5) or do you want to do it
> >> before? We plan to upload sagemath 8.0 to unstable when it's released
> >> (they are at beta12 now).
> > That depends on how long do you estimate the final release to take.
> >
> > From what I found [1] the sage-8.0 milestone still has 341 active issues,
> > which does not sound very optimistic.
> >
> > I can wait for 2 or 3 weeks, but I do not want to wait longer. After all
> > upstream already released Sphinx 1.6 so we are two major releases behind.
> >
> >> Otherwise it's a matter of backporting commits from sagemath 8.0 to 7.6.
> > I think this is not enough, unless the second part of my bugreport is also
> > addressed upstream.
> >
> > [1]: https://trac.sagemath.org/milestone/sage-8.0
> >
> > --
> > Dmitry Shachnev
>
>
> Ok, we should fix this then. The sage 8.0 package build actually stops
> before dh_sphinxdoc currently (at override_dh_auto_install), so I don't
> know yet if we have the same problem there.
>
I fixed our other issue in git and now I'm seeing these sphinxdoc errors:
[..]
make[1]: Entering directory '/home/infinity0/var/lib/sage/sagemath'
dh_sphinxdoc -XMathJax.js -Xtranslations.js -Xsearchtools.js
dh_sphinxdoc: ignoring unknown JavaScript code: debian/sagemath-doc-ca/usr/share/doc/sagemath/html/ca/intro/_static/thebe-sage.js
[..]
dh_sphinxdoc: debian/sagemath-doc-en/usr/share/doc/sagemath/html/en/reference/_sources/lie_algebras.rst.txt is missing
debian/rules:199: recipe for target 'override_dh_sphinxdoc' failed
make[1]: *** [override_dh_sphinxdoc] Error 2
Dmitry, if we need to further patch Sphinx or Sage, I'd be happy to do that. But what exactly is needed? I'm not sure if I totally understood the ticket you linked:
https://github.com/sphinx-doc/sphinx/pull/2454
Do we just need to put the equivalent of this:
https://github.com/mitya57/matplotlib/commit/53e6bc46d2f010f9a80e0c73dceb6166705f608f
into Sage's layout templates?
X
--
GPG: ed25519/56034877E1F87C35
GPG: rsa4096/1318EFAC5FBBDBCE
https://github.com/infinity0/pubkeys.git
More information about the debian-science-maintainers
mailing list