It took me some time (installation of multiple packages to use system packages, including openblas), but I'm making progresses.
So, after a dust-clean, I can compile and start a sage console. It's working. However, I still have issues building the documentation, but the problem is different: [dochtml] [knots ] build réussi, 13 warnings. [dochtml] [knots ] The inventory files are in local/share/doc/sage/inventory/en/reference/knots. [dochtml] Build finished. The built documents can be found in /Users/dcoudert/sage/local/share/doc/sage/inventory/en/reference/knots [dochtml] [lfunction] building [inventory]: targets for 5 source files that are out of date [dochtml] [lfunction] updating environment: 5 added, 0 changed, 0 removed [dochtml] [lfunction] pickling environment... fait [dochtml] [lfunction] checking consistency... fait [dochtml] [lfunction] preparing documents... fait [dochtml] [lfunction] dumping object inventory... fait [dochtml] [lfunction] build réussi, 1 warning. [dochtml] [lfunction] The inventory files are in local/share/doc/sage/inventory/en/reference/lfunctions. [dochtml] Build finished. The built documents can be found in /Users/dcoudert/sage/local/share/doc/sage/inventory/en/reference/lfunctions [dochtml] /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py:1048: DeprecationWarning: The Sage wrappers around ppl are now superseded by the standalone pplpy. Please use import 'ppl' instead of 'sage.libs.ppl'. [dochtml] See http://trac.sagemath.org/23024 for details. [dochtml] title = self.get_module_docstring_title(module_name) [dochtml] /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py:1048: DeprecationWarning: the module sage.libs.ratpoints is deprecated; use pari.ellratpoints or pari.hyperellratpoints instead [dochtml] See http://trac.sagemath.org/24531 for details. [dochtml] title = self.get_module_docstring_title(module_name) [dochtml] Warning: Could not import sage.libs.readline dlopen(/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/libs/readline.cpython-37m-darwin.so, 2): Symbol not found: _rl_catch_signals [dochtml] Referenced from: /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/libs/readline.cpython-37m-darwin.so [dochtml] Expected in: flat namespace [dochtml] in /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/libs/readline.cpython-37m-darwin.so [dochtml] [libs ] building [inventory]: targets for 41 source files that are out of date [dochtml] [libs ] updating environment: 41 added, 0 changed, 0 removed [dochtml] [libs ] WARNING: autodoc: failed to import module 'readline' from module 'sage.libs'; the following exception was raised: [dochtml] [libs ] dlopen(/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/libs/readline.cpython-37m-darwin.so, 2): Symbol not found: _rl_catch_signals [dochtml] [libs ] Referenced from: /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/libs/readline.cpython-37m-darwin.so [dochtml] [libs ] Expected in: flat namespace [dochtml] [libs ] in /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/libs/readline.cpython-37m-darwin.so [dochtml] [libs ] pickling environment... fait [dochtml] [libs ] checking consistency... fait [dochtml] [libs ] preparing documents... fait [dochtml] [libs ] dumping object inventory... fait [dochtml] [libs ] build réussi, 1 warning. [dochtml] [libs ] The inventory files are in local/share/doc/sage/inventory/en/reference/libs. [dochtml] Error building the documentation. [dochtml] Traceback (most recent call last): [dochtml] File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main [dochtml] "__main__", mod_spec) [dochtml] File "/usr/local/Cellar/python/3.7.7/Frameworks/Python.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code [dochtml] exec(code, run_globals) [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__main__.py", line 2, in <module> [dochtml] main() [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py", line 1720, in main [dochtml] builder() [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py", line 327, in _wrapper [dochtml] getattr(get_builder(document), 'inventory')(*args, **kwds) [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py", line 552, in _wrapper [dochtml] self._build_everything_except_bibliography(lang, format, *args, **kwds) [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py", line 538, in _build_everything_except_bibliography [dochtml] build_many(build_ref_doc, non_references) [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/__init__.py", line 280, in build_many [dochtml] _build_many(target, args, processes=NUM_THREADS) [dochtml] File "/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage_setup/docbuild/utils.py", line 283, in build_many [dochtml] raise worker_exc.original_exception [dochtml] OSError: WARNING: autodoc: failed to import module 'readline' from module 'sage.libs'; the following exception was raised: make[3]: *** [doc-html] Error 1 make[2]: *** [all-start] Error 2 real 85m38.601s user 52m45.327s sys 6m54.402s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * documentation: dochtml last build time: 15 avr 11:02 log file: /Users/dcoudert/sage/logs/pkgs/../dochtml.log It is safe to delete any log files and build directories, but they contain information that is helpful for debugging build problems. WARNING: If you now run 'make' again, the build directory of the same version of the package will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. make[1]: *** [all-start] Error 1 make: *** [all] Error 2 Le lundi 13 avril 2020 16:49:52 UTC+2, Matthias Köppe a écrit : > > On Monday, April 13, 2020 at 7:41:58 AM UTC-7, David Coudert wrote: >> >> I have several issues with rc1 on osx mojave. >> - I did incremental build from 9.1.beta9 >> - the library builds correctly, but not the documentation (see below) >> - For the same reason, I have a crash when starting to start sage. >> >> [dochtml] File "sage/matrix/matrix_rational_dense.pxd", line 4, in >> init sage.matrix.matrix_integer_dense (build/cythonized/sage/matrix/ >> matrix_integer_dense.c:56363) >> [dochtml] ImportError: >> dlopen(/Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/matrix/ >> matrix_rational_dense.cpython-37m-darwin.so, 2): Library not loaded: >> /Users/dcoudert/sage/local/lib/libopenblas_haswellp-r0.3.6.dylib >> [dochtml] Referenced from: >> /Users/dcoudert/sage/local/lib/python3.7/site-packages/sage/matrix/ >> matrix_rational_dense.cpython-37m-darwin.so >> >> > This might be https://trac.sagemath.org/ticket/28008 (Linking OpenBLAS > wrong on OSX). > Try if it persists after "make distclean" > > > > -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/35f7db41-5370-4566-993e-3c135f2f4b5a%40googlegroups.com.
