Bug#901532: sagemath: hangs while building docs

Andreas Beckmann anbe at debian.org
Thu Jun 14 15:19:10 BST 2018


Source: sagemath
Version: 8.2-1
Severity: serious
Justification: fails to build from source (but built successfully in the past)

Hi,

sagemath hangs while building the docs in a clean minimal
sid+experimental pbuilder environment:

At some point I started killing some idling python processes ...

[...]
[dochtml] [plotting ] reading sources... [ 93%] sage/plot/step
[dochtml] [plotting ] reading sources... [ 96%] sage/plot/streamline_plot
[dochtml] [plotting ] reading sources... [100%] sage/plot/text
[dochtml] [plotting ] /build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage/graphs/graph_plot.py:docstring of sage.graphs.graph_plot.GraphPlot.set_pos:4: WARNING: Exception occurred in plotting gra
ph_plot-9
[dochtml] [plotting ]  from /build/sagemath-8.2/sage/src/doc/en/reference/plotting/sage/graphs/graph_plot.rst:
[dochtml] [plotting ] Traceback (most recent call last):
[dochtml] [plotting ]   File "/usr/lib/python2.7/dist-packages/matplotlib/sphinxext/plot_directive.py", line 524, in run_code
[dochtml] [plotting ]     six.exec_(code, ns)
[dochtml] [plotting ]   File "/usr/lib/python2.7/dist-packages/six.py", line 709, in exec_
[dochtml] [plotting ]     exec("""exec _code_ in _globs_, _locs_""")
[dochtml] [plotting ]   File "<string>", line 1, in <module>
[dochtml] [plotting ]   File "<string>", line 1, in <module>
[dochtml] [plotting ]   File "/build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage/graphs/generators/platonic_solids.py", line 313, in DodecahedralGraph
[dochtml] [plotting ]     return Graph(G, name="Dodecahedron", pos=pos)
[dochtml] [plotting ]   File "/build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage/graphs/graph.py", line 1202, in __init__
[dochtml] [plotting ]     self.add_edges((u,v,r(l)) for u,v,l in data.edges_iter(data=True))
[dochtml] [plotting ] AttributeError: 'Graph' object has no attribute 'edges_iter'
[dochtml] Traceback (most recent call last):
[dochtml]   File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
[dochtml]     "__main__", fname, loader, pkg_name)
[dochtml]   File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
[dochtml]     exec code in run_globals
[dochtml]   File "/build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/sphinxbuild.py", line 223, in <module>
[dochtml]     runsphinx()
[dochtml]   File "/build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/sphinxbuild.py", line 218, in runsphinx
[dochtml]     raise exception
[dochtml] OSError: [plotting ] /build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage/graphs/graph_plot.py:docstring of sage.graphs.graph_plot.GraphPlot.set_pos:4: WARNING: Exception occurred in plotting graph_plot-9
[dochtml] 
[dochtml] sphinx job failed:
[dochtml] Traceback (most recent call last):
[dochtml]   File "/build/sagemath-8.2/debian/build/usr/lib/python2.7/dist-packages/sage_setup/docbuild/__init__.py", line 104, in f
[dochtml]     subprocess.check_call(args)
[dochtml]   File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
[dochtml]     raise CalledProcessError(retcode, cmd)
[dochtml] CalledProcessError: Command '['python', '-um', 'sage_setup.docbuild.sphinxbuild', '-N', '-b', 'inventory', '-d', '/build/sagemath-8.2/debian/build/usr/share/doc/sagemath/doctrees/en/reference/plotting', '-D', 'multidoc_first_pass=1', '/build/sagemath-8.2/sage/src/doc/en/reference/plotting', '/build/sagemath-8.2/debian/build/usr/share/doc/sagemath/inventory/en/reference/plotting']' returned non-zero exit status 1
[dochtml] [plot3d   ] reading sources... [ 45%] sage/plot/plot3d/parametric_surface
[dochtml] [plot3d   ] reading sources... [ 50%] sage/plot/plot3d/platonic
[dochtml] [plot3d   ] reading sources... [ 55%] sage/plot/plot3d/plot3d
[dochtml] [plot3d   ] reading sources... [ 60%] sage/plot/plot3d/plot_field3d
[dochtml] [plot3d   ] reading sources... [ 65%] sage/plot/plot3d/revolution_plot3d
[dochtml] [plot3d   ] reading sources... [ 70%] sage/plot/plot3d/shapes
[dochtml] [plot3d   ] reading sources... [ 75%] sage/plot/plot3d/shapes2
[dochtml] [plot3d   ] reading sources... [ 80%] sage/plot/plot3d/tachyon
[dochtml] [plot3d   ] reading sources... [ 85%] sage/plot/plot3d/texture
[dochtml] [plot3d   ] reading sources... [ 90%] sage/plot/plot3d/transform
[dochtml] [plot3d   ] reading sources... [ 95%] sage/plot/plot3d/tri_plot
[dochtml] [plot3d   ] reading sources... [100%] threejs
[dochtml] [plot3d   ] pickling environment... done
[dochtml] [plot3d   ] checking consistency... done
[dochtml] [plot3d   ] preparing documents... done
[dochtml] [plot3d   ] writing output... [  5%] index
[dochtml] [plot3d   ] writing output... [ 10%] sage/plot/plot3d/base
[dochtml] [plot3d   ] writing output... [ 15%] sage/plot/plot3d/implicit_plot3d
[dochtml] [plot3d   ] writing output... [ 20%] sage/plot/plot3d/implicit_surface
[dochtml] [plot3d   ] writing output... [ 25%] sage/plot/plot3d/index_face_set
[dochtml] [plot3d   ] writing output... [ 30%] sage/plot/plot3d/introduction
[dochtml] [plot3d   ] writing output... [ 35%] sage/plot/plot3d/list_plot3d
[dochtml] [plot3d   ] writing output... [ 40%] sage/plot/plot3d/parametric_plot3d
[dochtml] [plot3d   ] writing output... [ 45%] sage/plot/plot3d/parametric_surface
[dochtml] [plot3d   ] writing output... [ 50%] sage/plot/plot3d/platonic
[dochtml] [plot3d   ] writing output... [ 55%] sage/plot/plot3d/plot3d
[dochtml] [plot3d   ] writing output... [ 60%] sage/plot/plot3d/plot_field3d
[dochtml] [plot3d   ] writing output... [ 65%] sage/plot/plot3d/revolution_plot3d
[dochtml] [plot3d   ] writing output... [ 70%] sage/plot/plot3d/shapes
[dochtml] [plot3d   ] writing output... [ 75%] sage/plot/plot3d/shapes2
[dochtml] [plot3d   ] writing output... [ 80%] sage/plot/plot3d/tachyon
[dochtml] [plot3d   ] writing output... [ 85%] sage/plot/plot3d/texture
[dochtml] [plot3d   ] writing output... [ 90%] sage/plot/plot3d/transform
[dochtml] [plot3d   ] writing output... [ 95%] sage/plot/plot3d/tri_plot
[dochtml] [plot3d   ] writing output... [100%] threejs
[dochtml] [plot3d   ] dumping object inventory... done
[dochtml] [plot3d   ] build succeeded.
[dochtml] [plot3d   ] The HTML pages are in ../debian/build/usr/share/doc/sagemath/inventory/en/reference/plot3d.
[dochtml] Build finished. The built documents can be found in /build/sagemath-8.2/debian/build/usr/share/doc/sagemath/inventory/en/reference/plot3d
make[3]: *** [Makefile:1923: doc-html] Terminated
./install: line 62:  6616 Terminated              $MAKE "$@"

real    319m27.018s
user    0m4.256s
sys     0m0.628s
***************************************************************
Error building Sage.

The following package(s) may have failed to build (not necessarily
during this run of 'make doc'):

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

[dochtml] /build/sagemath-8.2/sage/build/bin/sage-logger: line 89:  6760 Terminated              ./sage --docbuild --no-pdf-links all html
make[2]: *** [Makefile:22: doc] Error 1


Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sagemath_8.2-1.log.gz
Type: application/gzip
Size: 347755 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20180614/e4904239/attachment-0001.gz>


More information about the debian-science-maintainers mailing list