Hello,
Trying to build Sage-9.3 on FreeBSD, it fails in dochtml/manifolds, with
the following trace:
[manifolds] # extension module 'sage.matrix.matrix_real_double_dense' loaded from '/usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/matrix/
matrix_real_double_dense.cpython-38.so'
[manifolds] # trying /usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/matrix/
matrix_double_dense.cpython-38.so
[manifolds] # extension module 'sage.matrix.matrix_double_dense' loaded from '/usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/matrix/
matrix_double_dense.cpython-38.so'
[manifolds] # extension module 'sage.matrix.matrix_double_dense' executed from '/usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/matrix/
matrix_double_dense.cpython-38.so'
[manifolds] import 'sage.matrix.matrix_double_dense' # <_frozen_importlib_external.ExtensionFileLoader object at 0xa14c32790>
[manifolds] # extension module 'sage.matrix.matrix_real_double_dense' executed from '/usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/matrix/
matrix_real_double_dense.cpython-38.so'
[manifolds] import 'sage.matrix.matrix_real_double_dense' # <_frozen_importlib_external.ExtensionFileLoader object at 0xa155e0100>
get_str.c:157: MPFR assertion failed: size_s1 >= m
[manifolds] /usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/manifolds/chart.py:docstring of sage.manifolds.chart.RealChart.plot:104: WARNING: Exception occurred in plotting chart-1
[manifolds] from /usr/ports/math/sage-9.3/work/sage-9.3/src/doc/en/reference/manifolds/sage/manifolds/chart.rst:
[manifolds] Traceback (most recent call last):
[manifolds] File "/usr/local/lib/python3.8/site-packages/matplotlib/sphinxext/plot_directive.py", line 483, in run_code
[manifolds] exec(code, ns)
[manifolds] File "<string>", line 4, in <module>
[manifolds] File "<string>", line 9, in sphinx_plot
[manifolds] NameError: name 'matplotlib' is not defined
[manifolds] /usr/ports/math/sage-9.3/work/build/usr/local/lib/python3.8/site-packages/sage/manifolds/chart.py:docstring of sage.manifolds.chart.RealChart.plot:121: WARNING: Exception occurred in plotting chart-2
[manifolds] from /usr/ports/math/sage-9.3/work/sage-9.3/src/doc/en/reference/manifolds/sage/manifolds/chart.rst:
[manifolds] Traceback (most recent call last):
[manifolds] File "/usr/local/lib/python3.8/site-packages/matplotlib/sphinxext/plot_directive.py", line 483, in run_code
[manifolds] exec(code, ns)
[manifolds] File "<string>", line 7, in <module>
[manifolds] File "<string>", line 9, in sphinx_plot
[manifolds] NameError: name 'matplotlib' is not defined
Sage 9.2 builds fine with the same external dependencies (i.e. mpfr
4.1.0, Python 3.8.9, matplotlib 3.4.1 and Sphinx 3.5.2), and I cannot
find what could cause this error. Any idea?
--
Th. Thomas.