[sagelib-9.8.beta7] sage/tests/stl_vector.cpp:5426:13: warning: unused variable '__pyx_doc_4sage_9structure_7richcmp_8revop' [-Wunused-variable]
[sagelib-9.8.beta7] static char __pyx_doc_4sage_9structure_7richcmp_8revop[] = "revop(int op) -> int\nFile: sage/structure/richcmp.pxd (starting at line 199)\n\n Return the reverse operation of ``op``.\n\n For example, <= becomes >=, etc.\n\n EXAMPLES::\n\n sage: from sage.structure.richcmp import revop\n sage: [revop(i) for i in range(6)]\n [4, 5, 2, 3, 0, 1]\n ";
[sagelib-9.8.beta7] ^
[sagelib-9.8.beta7] sage/tests/stl_vector.cpp:5707:18: warning: unused function '__pyx_pw_4sage_7cpython_6string_1bytes_to_str' [-Wunused-function]
[sagelib-9.8.beta7] static PyObject *__pyx_pw_4sage_7cpython_6string_1bytes_to_str(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
[sagelib-9.8.beta7] ^
[sagelib-9.8.beta7] sage/tests/stl_vector.cpp:5706:13: warning: unused variable '__pyx_doc_4sage_7cpython_6string_bytes_to_str' [-Wunused-variable]
[sagelib-9.8.beta7] static char __pyx_doc_4sage_7cpython_6string_bytes_to_str[] = "bytes_to_str(b, encoding=None, errors=None) -> unicode\nFile: sage/cpython/string.pxd (starting at line 28)\n\n Convert ``bytes`` to ``str``.\n\n This decodes the given ``bytes`` to a Python 3 unicode ``str`` using\n the specified encoding. It is a no-op on ``str`` input.\n\n EXAMPLES::\n\n sage: from sage.cpython.string import bytes_to_str\n sage: s = bytes_to_str(b'\\xcf\\x80')\n sage: s == u'\317\200'\n True\n sage: bytes_to_str([])\n Traceback (most recent call last):\n ...\n TypeError: expected bytes, list found\n ";
[sagelib-9.8.beta7] ^
[sagelib-9.8.beta7] sage/tests/stl_vector.cpp:5912:18: warning: unused function '__pyx_pw_4sage_7cpython_6string_3str_to_bytes' [-Wunused-function]
[sagelib-9.8.beta7] static PyObject *__pyx_pw_4sage_7cpython_6string_3str_to_bytes(PyObject *__pyx_self, PyObject *__pyx_args, PyObject *__pyx_kwds) {
[sagelib-9.8.beta7] ^
[sagelib-9.8.beta7] sage/tests/stl_vector.cpp:5911:13: warning: unused variable '__pyx_doc_4sage_7cpython_6string_2str_to_bytes' [-Wunused-variable]
[sagelib-9.8.beta7] static char __pyx_doc_4sage_7cpython_6string_2str_to_bytes[] = "str_to_bytes(s, encoding=None, errors=None) -> bytes\nFile: sage/cpython/string.pxd (starting at line 54)\n\n Convert ``str`` or ``unicode`` to ``bytes``.\n\n It encodes the given ``str`` to a Python 3 ``bytes``\n using the specified encoding. It is a no-op on ``bytes`` input.\n\n EXAMPLES::\n\n sage: from sage.cpython.string import str_to_bytes\n sage: bs = [str_to_bytes(u'\317\200')]\n sage: all(b == b'\\xcf\\x80' for b in bs)\n True\n sage: str_to_bytes([])\n Traceback (most recent call last):\n ...\n TypeError: expected str... list found\n ";
[sagelib-9.8.beta7] ^
[sagelib-9.8.beta7] 19 warnings generated.
[sagelib-9.8.beta7] INFO: g++ -std=gnu++11 -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/Users/dcoudert/sage/local/lib -Wl,-rpath,/Users/dcoudert/sage/local/lib -L/Users/dcoudert/sage/local/lib -Wl,-rpath,/Users/dcoudert/sage/local/lib -g -O2 build/temp.macosx-12-arm64-cpython-310/sage/tests/stl_vector.o -lgmp -o build/lib.macosx-12-arm64-cpython-310/sage/tests/stl_vector.cpython-310-darwin.so -lpari [sagelib-9.8.beta7] ld: warning: -undefined dynamic_lookup may not work with chained fixups
[sagelib-9.8.beta7] error: Command "gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -g -O2 -I/opt/homebrew/Cellar/singular/4.3.1p3/include -I/opt/homebrew/Cellar/singular/4.3.1p3/include/singular -I/opt/homebrew/Cellar/singular/4.3.1p3/include -I/opt/homebrew/Cellar/singular/4.3.1p3/include/singular -I/opt/homebrew/Cellar/singular/4.3.1p3/include -Isage/cpython -I/Users/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/cypari2 -Isage/rings/finite_rings -Isage/libs/ntl -I/Users/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/cysignals -I/Users/dcoudert/sage/src -I/Users/dcoudert/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/numpy/core/include -I/opt/homebrew/opt/pyt...@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -I/Users/dcoudert/sage/local/var/lib/sage/venv-python3.10/include -I/opt/homebrew/opt/pyt...@3.10/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c sage/rings/polynomial/multi_polynomial_libsingular.cpp -o build/temp.macosx-12-arm64-cpython-310/sage/rings/polynomial/multi_polynomial_libsingular.o -std=c++11" failed with exit status 1
[sagelib-9.8.beta7] error: subprocess-exited-with-error
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] × python setup.py develop did not run successfully.
[sagelib-9.8.beta7] │ exit code: 1
[sagelib-9.8.beta7] ╰─> See above for output.
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] note: This error originates from a subprocess, and is likely not a problem with pip.
[sagelib-9.8.beta7] full command: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.10/bin/python3 -c '
[sagelib-9.8.beta7] exec(compile('"'"''"'"''"'"'
[sagelib-9.8.beta7] # This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
[sagelib-9.8.beta7] #
[sagelib-9.8.beta7] # - It imports setuptools before invoking setup.py, to enable projects that directly
[sagelib-9.8.beta7] # import from `distutils.core` to work with newer packaging standards.
[sagelib-9.8.beta7] # - It provides a clear error message when setuptools is not installed.
[sagelib-9.8.beta7] # - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
[sagelib-9.8.beta7] # setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
[sagelib-9.8.beta7] # manifest_maker: standard file '"'"'-c'"'"' not found".
[sagelib-9.8.beta7] # - It generates a shim setup.py, for handling setup.cfg-only projects.
[sagelib-9.8.beta7] import os, sys, tokenize
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] try:
[sagelib-9.8.beta7] import setuptools
[sagelib-9.8.beta7] except ImportError as error:
[sagelib-9.8.beta7] print(
[sagelib-9.8.beta7] "ERROR: Can not execute `setup.py` since setuptools is not available in "
[sagelib-9.8.beta7] "the build environment.",
[sagelib-9.8.beta7] file=sys.stderr,
[sagelib-9.8.beta7] )
[sagelib-9.8.beta7] sys.exit(1)
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] __file__ = %r
[sagelib-9.8.beta7] sys.argv[0] = __file__
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] if os.path.exists(__file__):
[sagelib-9.8.beta7] filename = __file__
[sagelib-9.8.beta7] with tokenize.open(__file__) as f:
[sagelib-9.8.beta7] setup_py_code = f.read()
[sagelib-9.8.beta7] else:
[sagelib-9.8.beta7] filename = "<auto-generated setuptools caller>"
[sagelib-9.8.beta7] setup_py_code = "from setuptools import setup; setup()"
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] exec(compile(setup_py_code, filename, "exec"))
[sagelib-9.8.beta7] '"'"''"'"''"'"' % ('"'"'/Users/dcoudert/sage/src/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps
[sagelib-9.8.beta7] cwd: /Users/dcoudert/sage/src/
[sagelib-9.8.beta7] error: subprocess-exited-with-error
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] × python setup.py develop did not run successfully.
[sagelib-9.8.beta7] │ exit code: 1
[sagelib-9.8.beta7] ╰─> See above for output.
[sagelib-9.8.beta7]
[sagelib-9.8.beta7] note: This error originates from a subprocess, and is likely not a problem with pip.
[sagelib-9.8.beta7] ********************************************************************************
[sagelib-9.8.beta7] Error installing
[sagelib-9.8.beta7] ********************************************************************************
make[4]: *** [sagelib-SAGE_VENV-no-deps] Error 1
make[3]: *** [/Users/dcoudert/sage/local/var/lib/sage/venv-python3.10/var/lib/sage/installed/sagelib-9.8.beta7] Error 2
make[2]: *** [all-build] Error 2
real 257m24.611s
user 84m34.395s
sys 27m33.538s
***************************************************************
Error building Sage.
The following package(s) may have failed to build (not necessarily
during this run of 'make all-build'):
* package: sagelib-9.8.beta7
last build time: 7470835 20 jan
log file: /Users/dcoudert/sage/logs/pkgs/sagelib-9.8.beta7.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-build] Error 1
make: *** [build] Error 2