[Slackbuilds-users] Sage build fail

JCA 1.41421 at gmail.com
Sun Mar 26 16:17:42 UTC 2017


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.


[dochtml] [plot3d   ] OSError: [Errno 12] Cannot allocate memory
[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
[dochtml] [plot3d   ] from
/tmp/sbopkg.wO2Gby/sage-7.5.1/src/doc/en/reference/plot3d/sage/plot/plot3d/shapes.rst:
[dochtml] [plot3d   ] Traceback (most recent call last):
[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
[dochtml] [plot3d   ] six.exec_(code, ns)
[dochtml] [plot3d   ] File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/matplotlib/externals/six.py",
line 672, in exec_
[dochtml] [plot3d   ] exec("""exec _code_ in _globs_, _locs_""")
[dochtml] [plot3d   ] File "<string>", line 1, in <module>
[dochtml] [plot3d   ] File "<string>", line 1, in <module>
[dochtml] [plot3d   ] File "<string>", line 8, in sphinx_plot
[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)
[dochtml] [plot3d   ] self.save_image(filename, **kwds)
[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)
[dochtml] [plot3d   ] self._save_image_png(filename, **kwds)
[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)
[dochtml] [plot3d   ] scene = self._rich_repr_jmol(**opts)
[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)
[dochtml] [plot3d   ] tachyon = self._rich_repr_tachyon(OutputImagePng,
**opts)
[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)
[dochtml] [plot3d   ] tachyon_rt(T.tachyon(), filename, opts['verbosity'],
[dochtml] [plot3d   ] File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage/interfaces/tachyon.py",
line 156, in __call__
[dochtml] [plot3d   ] out = subprocess.check_output(cmd)
[dochtml] [plot3d   ] File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/subprocess.py", line 212,
in check_output
[dochtml] [plot3d   ] process = Popen(stdout=PIPE, *popenargs, **kwargs)
[dochtml] [plot3d   ] File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/subprocess.py", line 390,
in __init__
[dochtml] [plot3d   ] errread, errwrite)
[dochtml] [plot3d   ] File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/subprocess.py", line 916,
in _execute_child
[dochtml] [plot3d   ] self.pid = os.fork()
[dochtml] [plot3d   ] OSError: [Errno 12] Cannot allocate memory
[dochtml] Error building the documentation.
[dochtml] Traceback (most recent call last):
[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/runpy.py",
line 174, in _run_module_as_main
[dochtml]     "__main__", fname, loader, pkg_name)
[dochtml]   File "/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python/runpy.py",
line 72, in _run_code
[dochtml]     exec code in run_globals
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__main__.py",
line 2, in <module>
[dochtml]     main()
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 1667, in main
[dochtml]     builder()
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 316, in _wrapper
[dochtml]     getattr(get_builder(document), 'inventory')(*args, **kwds)
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 510, in _wrapper
[dochtml]     build_many(build_ref_doc, L)
[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
[dochtml]     results.append(target(arg))
[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
[dochtml]     getattr(ReferenceSubBuilder(doc, lang), format)(*args, **kwds)
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-package
s/sage_setup/docbuild/__init__.py", line 719, in _wrapper
[dochtml]     getattr(DocBuilder, build_type)(self, *args, **kwds)
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/__init__.py",
line 104, in f
[dochtml]     runsphinx()
[dochtml]   File
"/tmp/sbopkg.wO2Gby/sage-7.5.1/local/lib/python2.7/site-packages/sage_setup/docbuild/sphinxbuild.py",
line 215, in runsphinx
[dochtml]     raise exception
[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
[dochtml]
Makefile:1064: recipe for target 'doc-html' failed
make[2]: *** [doc-html] Error 1
make[2]: Leaving directory '/tmp/sbopkg.wO2Gby/sage-7.5.1/build/make'
Makefile:887: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/tmp/sbopkg.wO2Gby/sage-7.5.1/build/make'

real    221m31.444s
user    212m17.136s
sys     9m49.759s
***************************************************************
Error building Sage.

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

* documentation: dochtml
  log file: /tmp/sbopkg.wO2Gby/sage-7.5.1/logs/pkgs/../dochtml.log

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.

Makefile:16: recipe for target 'all' failed
make: *** [all] Error 1
Cleaning up...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170326/d6ed3a2c/attachment-0001.html>


More information about the SlackBuilds-users mailing list