Bug#872259: sagemath: FTBFS with Sphinx 1.6: TypeError: frompickle() takes exactly 3 arguments (4 given)
Dmitry Shachnev
mitya57 at debian.org
Tue Aug 15 12:34:28 UTC 2017
Source: sagemath
Version: 7.6-3
Severity: important
User: python-modules-team at lists.alioth.debian.org
Usertags: sphinx1.6
Dear maintainer,
sagemath fails to build with Sphinx 1.6, currently available in experimental:
[dochtml] Building reference manual, first pass.
[dochtml]
[dochtml] Error building the documentation.
[dochtml] Traceback (most recent call last):
[...]
[dochtml] File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 510, in _wrapper
[dochtml] build_many(build_ref_doc, L)
[dochtml] File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 266, in build_many
[dochtml] results.append(target(arg))
[dochtml] File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 70, in build_ref_doc
[dochtml] getattr(ReferenceSubBuilder(doc, lang), format)(*args, **kwds)
[dochtml] File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 705, in _wrapper
[dochtml] for module_name in self.get_modified_modules():
[dochtml] File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 834, in get_modified_modules
[dochtml] env = self.get_sphinx_environment()
[dochtml] File "/<<PKGBUILDDIR>>/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 779, in get_sphinx_environment
[dochtml] env = BuildEnvironment.frompickle(self.dir, config, env_pickle)
[dochtml] TypeError: frompickle() takes exactly 3 arguments (4 given)
Makefile:1093: recipe for target 'doc-html' failed
This looks like a result of upstream commit [1], where the signature of
frompickle method changed from:
def frompickle(cls, srcdir, config, filename):
to:
def frompickle(cls, filename, app):
The full build log is available at [2] (it is from Ubuntu, but there should
be no difference with Debian).
[1]: https://github.com/sphinx-doc/sphinx/commit/c7bec75bcd12530a
[2]: https://launchpadlibrarian.net/333317873/buildlog_ubuntu-artful-amd64.sagemath_7.6-3ubuntu3_BUILDING.txt.gz
--
Dmitry Shachnev
-------------- 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/20170815/f4f1d3bd/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list