<div dir="ltr"><div>I have tried to build the latest version of Sage (7.5.1) with sbopkg in two Slackware64 14.2 systems; they are both 64-bit systems, one of them vanilla, the other multilib. I get exactly the same error trace in both. The first line seem to suggest that the system ran out of memory, but one of them comes with 3 GB of RAM, and the other with 8 GB of RAM (the multilib system). The traces are extremely long; I am enclosing the last few lines alone. The trouble seems to be always in the plot3d module.</div><div><br></div><div><br></div><div>[dochtml] [plot3d   ] OSError: [Errno 12] Cannot allocate memory</div><div>[dochtml] [plot3d   ] /tmp/sbopkg.wO2Gby/sage-7.5.1/src/doc/en/reference/plot3d/sage/plot/plot3d/shapes.rst:1435: WARNING: Exception occurred in plotting shapes-32</div><div>[dochtml] [plot3d   ] from /tmp/sbopkg.wO2Gby/sage-7.5.1/src/doc/en/reference/plot3d/sage/plot/plot3d/shapes.rst:</div><div>[dochtml] [plot3d   ] Traceback (most recent call last):</div><div>[dochtml] [plot3d   ] File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/matplotlib/sphinxext/plot_directive.py", line 517, in run_code</div><div>[dochtml] [plot3d   ] six.exec_(code, ns)</div><div>[dochtml] [plot3d   ] File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/matplotlib/externals/six.py", line 672, in exec_</div><div>[dochtml] [plot3d   ] exec("""exec _code_ in _globs_, _locs_""")</div><div>[dochtml] [plot3d   ] File "<string>", line 1, in <module></div><div>[dochtml] [plot3d   ] File "<string>", line 1, in <module></div><div>[dochtml] [plot3d   ] File "<string>", line 8, in sphinx_plot</div><div>[dochtml] [plot3d   ] File "sage/plot/plot3d/base.pyx", line 1605, in sage.plot.plot3d.base.Graphics3d.save (/tmp/sbopkg.wO2Gby/sage-7.5.1/src/build/cythonized/sage/plot/plot3d/base.c:21637)</div><div>[dochtml] [plot3d   ] self.save_image(filename, **kwds)</div><div>[dochtml] [plot3d   ] File "sage/plot/plot3d/base.pyx", line 1534, in sage.plot.plot3d.base.Graphics3d.save_image (/tmp/sbopkg.wO2Gby/sage-7.5.1/src/build/cythonized/sage/plot/plot3d/base.c:21108)</div><div>[dochtml] [plot3d   ] self._save_image_png(filename, **kwds)</div><div>[dochtml] [plot3d   ] File "sage/plot/plot3d/base.pyx", line 1498, in sage.plot.plot3d.base.Graphics3d._save_image_png (/tmp/sbopkg.wO2Gby/sage-7.5.1/src/build/cythonized/sage/plot/plot3d/base.c:20620)</div><div>[dochtml] [plot3d   ] scene = self._rich_repr_jmol(**opts)</div><div>[dochtml] [plot3d   ] File "sage/plot/plot3d/base.pyx", line 263, in sage.plot.plot3d.base.Graphics3d._rich_repr_jmol (/tmp/sbopkg.wO2Gby/sage-7.5.1/src/build/cythonized/sage/plot/plot3d/base.c:7040)</div><div>[dochtml] [plot3d   ] tachyon = self._rich_repr_tachyon(OutputImagePng, **opts)</div><div>[dochtml] [plot3d   ] File "sage/plot/plot3d/base.pyx", line 207, in sage.plot.plot3d.base.Graphics3d._rich_repr_tachyon (/tmp/sbopkg.wO2Gby/sage-7.5.1/src/build/cythonized/sage/plot/plot3d/base.c:5745)</div><div>[dochtml] [plot3d   ] tachyon_rt(T.tachyon(), filename, opts['verbosity'],</div><div>[dochtml] [plot3d   ] File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage/interfaces/tachyon.py", line 156, in __call__</div><div>[dochtml] [plot3d   ] out = subprocess.check_output(cmd)</div><div>[dochtml] [plot3d   ] File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/subprocess.py", line 212, in check_output</div><div>[dochtml] [plot3d   ] process = Popen(stdout=PIPE, *popenargs, **kwargs)</div><div>[dochtml] [plot3d   ] File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/subprocess.py", line 390, in __init__</div><div>[dochtml] [plot3d   ] errread, errwrite)</div><div>[dochtml] [plot3d   ] File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/subprocess.py", line 916, in _execute_child</div><div>[dochtml] [plot3d   ] self.pid = os.fork()</div><div>[dochtml] [plot3d   ] OSError: [Errno 12] Cannot allocate memory</div><div>[dochtml] Error building the documentation.</div><div>[dochtml] Traceback (most recent call last):</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/runpy.py", line 174, in _run_module_as_main</div><div>[dochtml]     "__main__", fname, loader, pkg_name)</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/runpy.py", line 72, in _run_code</div><div>[dochtml]     exec code in run_globals</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py", line 2, in <module></div><div>[dochtml]     main()</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 1667, in main</div><div>[dochtml]     builder()</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 316, in _wrapper</div><div>[dochtml]     getattr(get_builder(document), 'inventory')(*args, **kwds)</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 510, in _wrapper</div><div>[dochtml]     build_many(build_ref_doc, L)</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 266, in build_many</div><div>[dochtml]     results.append(target(arg))</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 70, in build_ref_doc</div><div>[dochtml]     getattr(ReferenceSubBuilder(doc, lang), format)(*args, **kwds)</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-package</div><div><div>s/sage_setup/docbuild/__init__.py", line 719, in _wrapper</div><div>[dochtml]     getattr(DocBuilder, build_type)(self, *args, **kwds)</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py", line 104, in f</div><div>[dochtml]     runsphinx()</div><div>[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py", line 215, in runsphinx</div><div>[dochtml]     raise exception</div><div>[dochtml] OSError: [plot3d   ] /tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage/plot/plot3d/implicit_plot3d.py:docstring of sage.plot.plot3d.implicit_plot3d.implicit_plot3d:36: WARNING: Exception occurred in plotting implicit_plot3d-1</div><div>[dochtml] </div><div>Makefile:1064: recipe for target 'doc-html' failed</div><div>make[2]: *** [doc-html] Error 1</div><div>make[2]: Leaving directory '/tmp/sbopkg.wO2Gby/sage-7.5.1/build/make'</div><div>Makefile:887: recipe for target 'all' failed</div><div>make[1]: *** [all] Error 2</div><div>make[1]: Leaving directory '/tmp/sbopkg.wO2Gby/sage-7.5.1/build/make'</div><div><br></div><div>real    221m31.444s</div><div>user    212m17.136s</div><div>sys     9m49.759s</div><div>***************************************************************</div><div>Error building Sage.</div><div><br></div><div>The following package(s) may have failed to build (not necessarily</div><div>during this run of 'make all'):</div><div><br></div><div>* documentation: dochtml</div><div>  log file: /tmp/sbopkg.wO2Gby/sage-7.5.1/logs/pkgs/../dochtml.log</div><div><br></div><div>The build directory may contain configuration files and other potentially</div><div>helpful information. WARNING: if you now run 'make' again, the build</div><div>directory will, by default, be deleted. Set the environment variable</div><div>SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.</div><div><br></div><div>Makefile:16: recipe for target 'all' failed</div><div>make: *** [all] Error 1</div><div>Cleaning up...</div></div><div><br></div></div>