The Sage library doesn't build for me on two OS X 13.5.2 (+ homebrew)
machines. The tail end of the log:
building 'sage.libs.ecl' extension
INFO: C compiler: gcc -Wsign-compare -Wunreachable-code -fno-common
-dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -g -O2
INFO: compile options: '-Isage/libs -I/usr/local/opt/gmp/include
-I/usr/local/Cellar/ecl/23.9.9/include -Isage/cpython
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/cysignals
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/numpy/core/include
-I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/include
-I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11
-c'
extra options: '-Ddarwin'
INFO: gcc: sage/libs/ecl.c
In file included from sage/libs/ecl.c:3373:
sage/libs/eclsig.h:53:13: error: no member named 'big_num' in 'struct
ecl_bignum'
mpz_set(ecl_mpz_from_bignum(z), num);
^~~~~~~~~~~~~~~~~~~~~~
sage/libs/eclsig.h:48:46: note: expanded from macro
'ecl_mpz_from_bignum'
#define ecl_mpz_from_bignum(obj) ((obj)->big.big_num)
~~~~~~~~~~ ^
sage/libs/ecl.c:7415:199: error: no member named 'big_num' in 'struct
ecl_bignum'
((struct __pyx_vtabstruct_4sage_5rings_7integer_Integer
*)__pyx_v_N->__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_base.__pyx_vtab)->set_from_mpz(__pyx_v_N,
ecl_mpz_from_bignum(__pyx_v_o));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
sage/libs/eclsig.h:48:46: note: expanded from macro
'ecl_mpz_from_bignum'
#define ecl_mpz_from_bignum(obj) ((obj)->big.big_num)
~~~~~~~~~~ ^
2 errors generated.
error: Command "gcc -Wsign-compare -Wunreachable-code -fno-common
-dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot
/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -g -O2 -Isage/libs
-I/usr/local/opt/gmp/include -I/usr/local/Cellar/ecl/23.9.9/include
-Isage/cpython
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/cysignals
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/lib/python3.11/site-packages/numpy/core/include
-I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11
-I/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/include
-I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.11/include/python3.11
-c sage/libs/ecl.c -o
build/temp.macosx-13-x86_64-cpython-311/sage/libs/ecl.o -Ddarwin" failed
with exit status 1
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a
problem with pip.
full command:
/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/local/var/lib/sage/venv-python3.11/bin/python3
-c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run
setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects
that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking
`setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the
following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not
available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' %
('"'"'/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src/setup.py'"'"',),
"<pip-setuptools-caller>", "exec"))' --no-user-cfg develop --no-deps
cwd:
/Users/palmieri/Desktop/Sage/sage_builds/TESTING/sage-10.2.beta2/src/
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem
with pip.
********************************************************************************
Error installing
********************************************************************************
On Sunday, September 10, 2023 at 4:25:52 PM UTC-7 Volker Braun wrote:
> As always, you can get the latest beta version from the "develop" git
> branch. Alternatively, the self-contained source tarball is at
> http://www.sagemath.org/download-latest.html
>
>
> 41031292ff1 (tag: 10.2.beta2, github/develop) Updated SageMath version to
> 10.2.beta2
> f9609a075a9 gh-36208: configure.ac: disable tzlocal with --disable-r
> 7bd147dd2ea gh-36207: Remove self-`cimport`s
> 328988d6917 gh-36202: some micro-details in Dyck words and Parking
> functions
> 34415585260 gh-36200: Fixing the iterator of SemistandardMultiSkewTableaux
> 307712daae9 gh-36195: schemes/elliptic_curves: disable a test that takes
> too long
> 15a05662985 gh-36192: fix E228 then E225 in rings/
> 66aacc5b202 gh-36191: fix E228 and E225 in schemes/
> 7b8b6b62762 gh-36187: use semi-primitive root when checking kernel
> polynomials of isogenies
> 50b1d02a177 gh-36185: src/sage/tests: fix another "Computational Math..."
> doctest
> e7d2570d77b gh-36183: `sage.misc.sageinspect`: fix doctest warnings due to
> modularisation
> 7b5ac02cf8c gh-36182: fix E228 and E225 in algebras/
> 81e596e456a gh-36180: more fixes in quadratic forms
> 8674d9f50b3 gh-36179: Improve methods in `sage.misc.rest_index_of_methods`
> to fix the documentation of graphs.
> 8137704f311 gh-36177: fix and activate pycodestyle E305 in py files
> f63a4d5b0db gh-36173: Fix quadratic memory of berlekamp_massey
> 1ebaec78411 gh-36170: Fix the ascii art for the Heisenberg Lie algebras
> d11cb0ba5f7 gh-36162: minor details in graph_plot
> b6d1322598f gh-36152: `sage.rings`: Update `# needs`
> 296643c6fef gh-36151: Coxeter arrangement
> 7bb1e6ba961 gh-36141: Use system python packages with
> --enable-system-site-packages
> 7ed5b8b2fa6 gh-36112: Upgrades: scipy 1.11 and dependencies
> 88ad3a1a7b1 gh-36111: using PyLong API instead of legacy PyInt API
> aa1cfd7fcbb gh-36102: `sage.schemes`: Update `# needs`
> 754e88a7e88 gh-36021: Improve method is_planar
> 5e841de46c3 gh-36006: Fix tests with gmp 6.3
> ad402a32407 gh-35985: More improvements for braid groups involving
> permutations, and a 2-generator presentation
> 3e46882052c gh-35939: Support for exponential and gamma distribution
> 5a64b7c4fbd gh-35907: Deprecate rename_vertices parameter in disjoint_union
> 54481a5d959 gh-35380: GH Actions: Run incremental portability tests on "c:
> packages: standard" PRs
> 6ea1fe936cc (tag: 10.2.beta1) Updated SageMath version to 10.2.beta1
>
--
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/2a6edfbc-d74f-4583-9b50-cb105dac8f36n%40googlegroups.com.