Sage 10.10.rc2 released

201 views
Skip to first unread message

Volker Braun

unread,
Sep 26, 2026, 6:23:49 PMSep 26
to sage-release
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


3801b3c56c2 (tag: 10.10.rc2, github/develop) Updated SageMath version to 10.10.rc2
e82304e3f3a gh-42859: correct generators for Pb
5f0af00803f (tag: 10.10.rc1) Updated SageMath version to 10.10.rc1

Dima Pasechnik

unread,
Sep 28, 2026, 4:10:27 PMSep 28
to sage-release
Hi Volker, 

please allow some time to finish a few things off. 
In the past year we had two slightly underbaked releases, can we avoid one this time?

We need to bump quite a few optional packages: scip, scip_sdp, dsdp, papilo, soplex.
Then we need to get https://github.com/sagemath/sage/pull/41626 in, as otherwise on macOS people who have libopenmp installed get
doctest errors.
which matters on Darwin-27, aka golden gate.
We now have a Darwin 27 CI runner, which should be added to our CI jobs, see https://github.com/sagemath/sage/pull/42868


Dima


Volker Braun

unread,
Sep 28, 2026, 6:59:02 PMSep 28
to sage-release
OK it would be great if you could post that before I start running the release script :-) Also, please set issues to blockers if you want it to block release.

But in general I really dislike the "we need to bump a long list of third-party dependencies", this should very much be at the *beginning* of a release cycle. Not at the end where there is no real time to collect experience with the third-party changes. 

Volker Braun

unread,
Sep 28, 2026, 7:00:44 PMSep 28
to sage-release
Though we can of course make a speedy release if those issues can be fixed. 

I'm proposing to have Sage 11 as next target...

Dima Pasechnik

unread,
Sep 28, 2026, 7:47:47 PMSep 28
to sage-r...@googlegroups.com


On September 28, 2026 5:59:02 PM CDT, Volker Braun <vbrau...@gmail.com> wrote:
>OK it would be great if you could post that before I start running the
>release script :-) Also, please set issues to blockers if you want it to
>block release.
>
>But in general I really dislike the "we need to bump a long list of
>third-party dependencies", this should very much be at the *beginning* of a
>release cycle.

I don't see how this can be at the beginning of the cycle.
It's only possible if no subsequent changes to the Sage core are affecting these dependencies.
So what you ask here is for people to do the work twice over, or more.
E.g. the <https://github.com/sagemath/sage/pull/41626>, opened back in February,
is updating a number of dependencies, and it has been held up by various external obstacles, not the least a regression in Meson, which took a few months to fix.

And obviously this is the worst scenario, when the target of the PR gets shifted many times.

And you are now releasing 10.10 which will fail tests on macOS with libomp installed, instead of merging this PR first.
Of course everyone involved in this PR is already sick of it.


> Not at the end where there is no > real time to collect
>experience with the third-party changes.

Why no real time? Are we in hurry?

Dima

John H Palmieri

unread,
Sep 29, 2026, 1:07:32 AMSep 29
to sage-release
On OS X with the latest pari (2.19.0) installed via homebrew, lcalc fails to build. (This is both with the develop branch and with #41626 merged. I see this in the log file:

[spkg-install] libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c Lelliptic.cc  -fno-common -DPIC -o .libs/Lelliptic.o
[spkg-install] Lelliptic.cc:69:5: error: use of undeclared identifier 'gaffect'
[spkg-install]    69 |     gaffect(gp_read_str(a1), (GEN) F[1]);
[spkg-install]       |     ^~~~~~~
[spkg-install] Lelliptic.cc:70:5: error: use of undeclared identifier 'gaffect'
[spkg-install]    70 |     gaffect(gp_read_str(a2), (GEN) F[2]);
[spkg-install]       |     ^~~~~~~
[spkg-install] Lelliptic.cc:71:5: error: use of undeclared identifier 'gaffect'
[spkg-install]    71 |     gaffect(gp_read_str(a3), (GEN) F[3]);
[spkg-install]       |     ^~~~~~~
[spkg-install] Lelliptic.cc:72:5: error: use of undeclared identifier 'gaffect'
[spkg-install]    72 |     gaffect(gp_read_str(a4), (GEN) F[4]);
[spkg-install]       |     ^~~~~~~
[spkg-install] Lelliptic.cc:73:5: error: use of undeclared identifier 'gaffect'
[spkg-install]    73 |     gaffect(gp_read_str(a6), (GEN) F[5]);
[spkg-install]       |     ^~~~~~~
[spkg-install] Lelliptic.cc:92:5: error: use of undeclared identifier 'gaffsg'
[spkg-install]    92 |     gaffsg(1, (GEN) y);
[spkg-install]       |     ^~~~~~
[spkg-install] Lelliptic.cc:103:13: error: use of undeclared identifier 'gaffsg'
[spkg-install]   103 |             gaffsg(p,y);
[spkg-install]       |             ^~~~~~

Indeed, "gaffect" does not seem to be present anywhere in /opt/homebrew/include/pari, although it was in the previous version (2.17). We either need to fix lcalc or not allow using new versions of pari.

Dima Pasechnik

unread,
Sep 29, 2026, 1:49:02 AMSep 29
to sage-release

John H Palmieri

unread,
Sep 29, 2026, 2:05:41 PMSep 29
to sage-release
If I use "./configure --with-system-pari=no", then lcalc builds, but cypari fails. It also fails if I completely uninstall homebrew's pari. I see:

[spkg-install] ../meson.build:65:10: ERROR: C shared or static library 'pari' not found
[spkg-install]
[spkg-install] A full log can be found at /Users/jpalmier/Sage/TESTING/sage-10.10/local/var/lib/sage/venv-python3.14/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-kakkf4q6/meson-logs/meson-log.txt
[spkg-install]
[spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[spkg-install] ********************************************************************************
[spkg-install] Error building a wheel for cypari-2.2.4
[spkg-install] ********************************************************************************


(There is no such file .../meson-log.txt, by the way. There is in fact no such directory ".mesonpy-kakkf4q6/".)

John H Palmieri

unread,
Sep 29, 2026, 4:53:09 PMSep 29
to sage-release
On Tuesday, September 29, 2026 at 11:05:41 AM UTC-7 John H Palmieri wrote:
If I use "./configure --with-system-pari=no", then lcalc builds, but cypari fails. It also fails if I completely uninstall homebrew's pari. I see:

[spkg-install] ../meson.build:65:10: ERROR: C shared or static library 'pari' not found
[spkg-install]
[spkg-install] A full log can be found at /Users/jpalmier/Sage/TESTING/sage-10.10/local/var/lib/sage/venv-python3.14/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-kakkf4q6/meson-logs/meson-log.txt
[spkg-install]
[spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel
[spkg-install] ********************************************************************************
[spkg-install] Error building a wheel for cypari-2.2.4
[spkg-install] ********************************************************************************


(There is no such file .../meson-log.txt, by the way. There is in fact no such directory ".mesonpy-kakkf4q6/".)

Also, there is a file SAGE_ROOT/local/lib/libpari.dylib, a symbolic link pointing to SAGE_ROOT/local/lib/libpari-gmp-tls.dylib.

david....@gmail.com

unread,
Sep 30, 2026, 6:53:38 AMSep 30
to sage-release
Same issue here on macOS 26.5.1, fresh shell etc.  to compile 11.0.beta0
I have lcalc 2.2.1 from homebrew but configure says that

lcalc:                          no suitable system package; standard, SPKG version 2.1.0 will be installed


The situation is different for pari. I have pari 2.19.0 from homebrew.

cypari:                         no suitable system package; standard, SPKG version 2.2.4 will be installed

pari:                           using system package; SPKG will not be installed



So compilation fails for lcalc and I don't know what to do.

Best,
David.



[lcalc-2.1.0] [spkg-build] make[7]: Nothing to be done for `all-am'.

[lcalc-2.1.0] [spkg-build] Making all in src/libLfunction

[lcalc-2.1.0] [spkg-build] /opt/homebrew/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src     -g -O2 -c -o Ldokchitser.lo Ldokchitser.cc

[lcalc-2.1.0] [spkg-build] libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c Ldokchitser.cc  -fno-common -DPIC -o .libs/Ldokchitser.o

[lcalc-2.1.0] [spkg-build] /opt/homebrew/bin/bash ../../libtool  --tag=CXX   --mode=compile g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src     -g -O2 -c -o Lelliptic.lo Lelliptic.cc

[lcalc-2.1.0] [spkg-build] libtool: compile:  g++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../../src -g -O2 -c Lelliptic.cc  -fno-common -DPIC -o .libs/Lelliptic.o

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:69:5: error: use of undeclared identifier 'gaffect'

[lcalc-2.1.0] [spkg-build]    69 |     gaffect(gp_read_str(a1), (GEN) F[1]);

[lcalc-2.1.0] [spkg-build]       |     ^~~~~~~

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:70:5: error: use of undeclared identifier 'gaffect'

[lcalc-2.1.0] [spkg-build]    70 |     gaffect(gp_read_str(a2), (GEN) F[2]);

[lcalc-2.1.0] [spkg-build]       |     ^~~~~~~

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:71:5: error: use of undeclared identifier 'gaffect'

[lcalc-2.1.0] [spkg-build]    71 |     gaffect(gp_read_str(a3), (GEN) F[3]);

[lcalc-2.1.0] [spkg-build]       |     ^~~~~~~

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:72:5: error: use of undeclared identifier 'gaffect'

[lcalc-2.1.0] [spkg-build]    72 |     gaffect(gp_read_str(a4), (GEN) F[4]);

[lcalc-2.1.0] [spkg-build]       |     ^~~~~~~

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:73:5: error: use of undeclared identifier 'gaffect'

[lcalc-2.1.0] [spkg-build]    73 |     gaffect(gp_read_str(a6), (GEN) F[5]);

[lcalc-2.1.0] [spkg-build]       |     ^~~~~~~

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:92:5: error: use of undeclared identifier 'gaffsg'

[lcalc-2.1.0] [spkg-build]    92 |     gaffsg(1, (GEN) y);

[lcalc-2.1.0] [spkg-build]       |     ^~~~~~

[lcalc-2.1.0] [spkg-build] Lelliptic.cc:103:13: error: use of undeclared identifier 'gaffsg'

[lcalc-2.1.0] [spkg-build]   103 |             gaffsg(p,y);

[lcalc-2.1.0] [spkg-build]       |             ^~~~~~

[lcalc-2.1.0] [spkg-build] 7 errors generated.

[lcalc-2.1.0] [spkg-build] make[6]: *** [Lelliptic.lo] Error 1

[lcalc-2.1.0] [spkg-build] make[5]: *** [all-recursive] Error 1

[lcalc-2.1.0] [spkg-build] ********************************************************************************

[lcalc-2.1.0] [spkg-build] Error building lcalc-2.1.0

[lcalc-2.1.0] [spkg-build] ********************************************************************************

[lcalc-2.1.0] ************************************************************************

[lcalc-2.1.0] Error building package lcalc-2.1.0

[lcalc-2.1.0] ************************************************************************




Antonio Rojas

unread,
Sep 30, 2026, 8:50:07 AMSep 30
to sage-release
El miércoles, 30 de septiembre de 2026 a las 12:53:38 UTC+2, david....@gmail.com escribió:
Same issue here on macOS 26.5.1, fresh shell etc.  to compile 11.0.beta0
I have lcalc 2.2.1 from homebrew but configure says that

lcalc:                          no suitable system package; standard, SPKG version 2.1.0 will be installed


The situation is different for pari. I have pari 2.19.0 from homebrew.

cypari:                         no suitable system package; standard, SPKG version 2.2.4 will be installed

pari:                           using system package; SPKG will not be installed



So compilation fails for lcalc and I don't know what to do.

pari 2.19 is still not supported, run configure with --with-system-pari=no
 

Dima Pasechnik

unread,
Sep 30, 2026, 9:32:27 AMSep 30
to sage-r...@googlegroups.com


On September 30, 2026 7:50:07 AM CDT, Antonio Rojas <nqn...@gmail.com> wrote:
>El miércoles, 30 de septiembre de 2026 a las 12:53:38 UTC+2,
>david....@gmail.com escribió:
>
>Same issue here on macOS 26.5.1, fresh shell etc. to compile 11.0.beta0
>I have lcalc 2.2.1 from homebrew but configure says that
>
>lcalc: no suitable system package; standard, SPKG
>version 2.1.0 will be installed
>

that's because the upgrade of Pari broke your lcalc, so it fails the test.

David Coudert

unread,
Sep 30, 2026, 12:19:43 PMSep 30
to sage-r...@googlegroups.com
Thank you Antonio and Dima. 

Using --with-system-pari=no, I’m going further in the compilation. Now it fails compiling cypari. It seems that it detects the brew version of pari and tries to use it.
I will try to uninstall pari.


[cypari-2.2.4] Using cached file /Users/dcoudert/sage/upstream/cypari2-2.2.4.tar.gz

[cypari-2.2.4] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4

[cypari-2.2.4] No patch files found in ../patches

[cypari-2.2.4] Host system: Darwin MAC-xxxxx 25.5.0 Darwin Kernel Version 25.5.0: Mon Apr 27 20:38:56 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T6000 arm64

[cypari-2.2.4] C compiler: gcc -std=gnu23, Apple clang version 21.0.0 (clang-2100.1.1.101), Target: arm64-apple-darwin25.5.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[cypari-2.2.4] No stamp file for package 'cypari' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed

[cypari-2.2.4] No spkg-legacy-uninstall script; nothing to do

[cypari-2.2.4] [spkg-install] Installing cypari-2.2.4

[cypari-2.2.4] [spkg-install] * Creating isolated environment: venv+pip...

[cypari-2.2.4] [spkg-install] * Installing packages in isolated environment:

[cypari-2.2.4] [spkg-install]   - cysignals>=1.11.3

[cypari-2.2.4] [spkg-install]   - cython>=3.0

[cypari-2.2.4] [spkg-install]   - meson-python>=0.18.0

[cypari-2.2.4] [spkg-install] > /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3 -m pip

[cypari-2.2.4] [spkg-install]   --python /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-

[cypari-2.2.4] [spkg-install]   sbu9i2fw/bin/python install --use-pep517 --no-warn-script-location --no-

[cypari-2.2.4] [spkg-install]   compile -r /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-

[cypari-2.2.4] [spkg-install]   requirements-us3m1pv8.txt

[cypari-2.2.4] [spkg-install] < Looking in links: /Users/dcoudert/sage/local/var/lib/sage/venv-

[cypari-2.2.4] [spkg-install]   python3.13/var/lib/sage/wheels

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/s

[cypari-2.2.4] [spkg-install]   age/wheels/cysignals-1.12.6-cp313-cp313-macosx_26_0_arm64.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   us3m1pv8.txt (line 1))

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-

[cypari-2.2.4] [spkg-install]   python3.13/var/lib/sage/wheels/meson_python-0.19.0-py3-none-any.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   us3m1pv8.txt (line 2))

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/s

[cypari-2.2.4] [spkg-install]   age/wheels/cython-3.2.4-cp313-cp313-macosx_26_0_arm64.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   us3m1pv8.txt (line 3))

[cypari-2.2.4] [spkg-install] < INFO: pip is looking at multiple versions of meson-python to determine which

[cypari-2.2.4] [spkg-install]   version is compatible with other requirements. This could take a while.

[cypari-2.2.4] [spkg-install] < ERROR: Could not find a version that satisfies the requirement meson>=1.2.3;

[cypari-2.2.4] [spkg-install]   python_version >= "3.12" (from meson-python) (from versions: none)

[cypari-2.2.4] [spkg-install] < ERROR: No matching distribution found for meson>=1.2.3; python_version >=

[cypari-2.2.4] [spkg-install]   "3.12"

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] Traceback (most recent call last):

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 203, in _handle_build_error

[cypari-2.2.4] [spkg-install]     yield

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 601, in main

[cypari-2.2.4] [spkg-install]     built = build(

[cypari-2.2.4] [spkg-install]         args.srcdir,

[cypari-2.2.4] [spkg-install]     ...<5 lines>...

[cypari-2.2.4] [spkg-install]         installer=args.installer,

[cypari-2.2.4] [spkg-install]     )

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 264, in build_package

[cypari-2.2.4] [spkg-install]     out = _build(

[cypari-2.2.4] [spkg-install]         isolation,

[cypari-2.2.4] [spkg-install]     ...<6 lines>...

[cypari-2.2.4] [spkg-install]         installer,

[cypari-2.2.4] [spkg-install]     )

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 187, in _build

[cypari-2.2.4] [spkg-install]     with _bootstrap_build_env(

[cypari-2.2.4] [spkg-install]          ~~~~~~~~~~~~~~~~~~~~^

[cypari-2.2.4] [spkg-install]         isolation,

[cypari-2.2.4] [spkg-install]         ^^^^^^^^^^

[cypari-2.2.4] [spkg-install]     ...<6 lines>...

[cypari-2.2.4] [spkg-install]         pyproject_hooks.quiet_subprocess_runner if _ctx.verbosity < 0 else None,

[cypari-2.2.4] [spkg-install]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]     ) as builder:

[cypari-2.2.4] [spkg-install]     ^

[cypari-2.2.4] [spkg-install]   File "/opt/homebrew/Cellar/pyt...@3.13/3.13.15/Frameworks/Python.framework/Versions/3.13/lib/python3.13/contextlib.py", line 141, in __enter__

[cypari-2.2.4] [spkg-install]     return next(self.gen)

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 153, in _bootstrap_build_env

[cypari-2.2.4] [spkg-install]     install(builder.build_system_requires)

[cypari-2.2.4] [spkg-install]     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/env.py", line 148, in install

[cypari-2.2.4] [spkg-install]     self._env_backend.install_dependencies(requirements, constraints)

[cypari-2.2.4] [spkg-install]     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/env.py", line 309, in install_dependencies

[cypari-2.2.4] [spkg-install]     run_subprocess(cmd)

[cypari-2.2.4] [spkg-install]     ~~~~~~~~~~~~~~^^^^^

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/_ctx.py", line 71, in run_subprocess

[cypari-2.2.4] [spkg-install]     subprocess.run(cmd, capture_output=True, check=True, cwd=cwd, env=env)

[cypari-2.2.4] [spkg-install]     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]   File "/opt/homebrew/Cellar/pyt...@3.13/3.13.15/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run

[cypari-2.2.4] [spkg-install]     raise CalledProcessError(retcode, process.args,

[cypari-2.2.4] [spkg-install]                              output=stdout, stderr=stderr)

[cypari-2.2.4] [spkg-install] subprocess.CalledProcessError: Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-sbu9i2fw/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-us3m1pv8.txt']' returned non-zero exit status 1.

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ERROR Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-sbu9i2fw/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-us3m1pv8.txt']' returned non-zero exit status 1.

[cypari-2.2.4] [spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist   ." failed.

[cypari-2.2.4] [spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check  .".

[cypari-2.2.4] [spkg-install] * Building wheel...

[cypari-2.2.4] [spkg-install] + meson setup /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-amm58vh0 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-amm58vh0/meson-python-native-file.ini

[cypari-2.2.4] [spkg-install] The Meson build system

[cypari-2.2.4] [spkg-install] Version: 1.12.1

[cypari-2.2.4] [spkg-install] Source dir: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src

[cypari-2.2.4] [spkg-install] Build dir: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-amm58vh0

[cypari-2.2.4] [spkg-install] Build type: native build

[cypari-2.2.4] [spkg-install] Project name: cypari2

[cypari-2.2.4] [spkg-install] Project version: 2.2.4

[cypari-2.2.4] [spkg-install] C compiler for the host machine: gcc -std=gnu23 (clang 21.0.0 "Apple clang version 21.0.0 (clang-2100.1.1.101)")

[cypari-2.2.4] [spkg-install] C linker for the host machine: gcc -std=gnu23 ld64 1267

[cypari-2.2.4] [spkg-install] Cython compiler for the host machine: cython (cython 3.2.4)

[cypari-2.2.4] [spkg-install] Host machine cpu family: aarch64

[cypari-2.2.4] [spkg-install] Host machine cpu: aarch64

[cypari-2.2.4] [spkg-install] Program python found: YES (/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3)

[cypari-2.2.4] [spkg-install] Run-time dependency gmp found: YES 6.3.0

[cypari-2.2.4] [spkg-install] Program brew found: YES (/opt/homebrew/bin/brew)

[cypari-2.2.4] [spkg-install] Message: Homebrew prefix: /opt/homebrew

[cypari-2.2.4] [spkg-install] Has header "pari/pari.h" : YES 

[cypari-2.2.4] [spkg-install] Has header "pari/pari.h" : YES 

[cypari-2.2.4] [spkg-install] Library pari found: YES

[cypari-2.2.4] [spkg-install] Checking if "pari version" with dependencies -lpari, gmp runs: YES

[cypari-2.2.4] [spkg-install] Message: PARI Version: [2, 19, 0]

[cypari-2.2.4] [spkg-install] Checking if "pari datadir" with dependencies -lpari, gmp runs: YES

[cypari-2.2.4] [spkg-install] Message: PARI Datadir: /opt/homebrew/share/pari

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ../meson.build:125:18: ERROR: Command `/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3 -c '

[cypari-2.2.4] [spkg-install] import sys

[cypari-2.2.4] [spkg-install] sys.path.insert(0, ".")

[cypari-2.2.4] [spkg-install] from autogen import rebuild

[cypari-2.2.4] [spkg-install] rebuild(r"/opt/homebrew/share/pari", force=True, output=r"/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-amm58vh0/cypari2")

[cypari-2.2.4] [spkg-install] print("Code generation successful")

[cypari-2.2.4] [spkg-install]   '` failed with status 1.

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] A full log can be found at /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-amm58vh0/meson-logs/meson-log.txt

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel

[cypari-2.2.4] [spkg-install] ********************************************************************************

[cypari-2.2.4] [spkg-install] Error building a wheel for cypari-2.2.4

[cypari-2.2.4] [spkg-install] ********************************************************************************

[cypari-2.2.4] ************************************************************************

[cypari-2.2.4] Error installing package cypari-2.2.4

[cypari-2.2.4] ************************************************************************

[cypari-2.2.4] Please email sage-devel (http://groups.google.com/group/sage-devel)

[cypari-2.2.4] explaining the problem and including the log files

[cypari-2.2.4]   /Users/dcoudert/sage/logs/pkgs/cypari-2.2.4.log

[cypari-2.2.4] and

[cypari-2.2.4]   /Users/dcoudert/sage/config.log

[cypari-2.2.4] Describe your computer, operating system, etc.

[cypari-2.2.4] If you want to try to fix the problem yourself, *don't* just cd to

[cypari-2.2.4] /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4 and type 'make' or whatever is appropriate.

[cypari-2.2.4] Instead, the following commands setup all environment variables

[cypari-2.2.4] correctly and load a subshell for you to debug the error:

[cypari-2.2.4]   (cd '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4' && '/Users/dcoudert/sage/sage' --buildsh)

[cypari-2.2.4] When you are done debugging, you can type "exit" to leave the subshell.

[cypari-2.2.4] ************************************************************************

[cypari-2.2.4] real 0m9,877s user 0m3,843s sys 0m1,830s

make[4]: *** [cypari-SAGE_VENV-no-deps] Error 1

make[3]: *** [/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed/cypari-2.2.4] Error 2

make[2]: *** [all-build] Error 2

***************************************************************






-- 
You received this message because you are subscribed to a topic in the Google Groups "sage-release" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-release/p6KwUBHoqkU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-release...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sage-release/E43058D3-2790-4528-AD74-01869B1F1E05%40gmail.com.

David Coudert

unread,
Sep 30, 2026, 12:54:50 PMSep 30
to sage-r...@googlegroups.com
Still failing after uninstalling brew pari (and sympow and pari-*)

[cypari-2.2.4] Using cached file /Users/dcoudert/sage/upstream/cypari2-2.2.4.tar.gz

[cypari-2.2.4] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4

[cypari-2.2.4] No patch files found in ../patches

[cypari-2.2.4] Host system: Darwin MAC-04017247 25.5.0 Darwin Kernel Version 25.5.0: Mon Apr 27 20:38:56 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T6000 arm64

[cypari-2.2.4] C compiler: gcc -std=gnu23, Apple clang version 21.0.0 (clang-2100.1.1.101), Target: arm64-apple-darwin25.5.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[cypari-2.2.4] No stamp file for package 'cypari' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed

[cypari-2.2.4] No spkg-legacy-uninstall script; nothing to do

[cypari-2.2.4] [spkg-install] Installing cypari-2.2.4

[cypari-2.2.4] [spkg-install] * Creating isolated environment: venv+pip...

[cypari-2.2.4] [spkg-install] * Installing packages in isolated environment:

[cypari-2.2.4] [spkg-install]   - cysignals>=1.11.3

[cypari-2.2.4] [spkg-install]   - cython>=3.0

[cypari-2.2.4] [spkg-install]   - meson-python>=0.18.0

[cypari-2.2.4] [spkg-install] > /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3 -m pip

[cypari-2.2.4] [spkg-install]   --python /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-

[cypari-2.2.4] [spkg-install]   xv7svby6/bin/python install --use-pep517 --no-warn-script-location --no-

[cypari-2.2.4] [spkg-install]   compile -r /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-

[cypari-2.2.4] [spkg-install]   requirements-mvyqomow.txt

[cypari-2.2.4] [spkg-install] < Looking in links: /Users/dcoudert/sage/local/var/lib/sage/venv-

[cypari-2.2.4] [spkg-install]   python3.13/var/lib/sage/wheels

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/s

[cypari-2.2.4] [spkg-install]   age/wheels/cython-3.2.4-cp313-cp313-macosx_26_0_arm64.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   mvyqomow.txt (line 1))

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-

[cypari-2.2.4] [spkg-install]   python3.13/var/lib/sage/wheels/meson_python-0.19.0-py3-none-any.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   mvyqomow.txt (line 2))

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/s

[cypari-2.2.4] [spkg-install]   age/wheels/cysignals-1.12.6-cp313-cp313-macosx_26_0_arm64.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   mvyqomow.txt (line 3))

[cypari-2.2.4] [spkg-install] subprocess.CalledProcessError: Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-xv7svby6/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-mvyqomow.txt']' returned non-zero exit status 1.

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ERROR Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-xv7svby6/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-mvyqomow.txt']' returned non-zero exit status 1.

[cypari-2.2.4] [spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist   ." failed.

[cypari-2.2.4] [spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check  .".

[cypari-2.2.4] [spkg-install] * Building wheel...

[cypari-2.2.4] [spkg-install] + meson setup /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-u86o7b45 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-u86o7b45/meson-python-native-file.ini

[cypari-2.2.4] [spkg-install] The Meson build system

[cypari-2.2.4] [spkg-install] Version: 1.12.1

[cypari-2.2.4] [spkg-install] Source dir: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src

[cypari-2.2.4] [spkg-install] Build dir: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-u86o7b45

[cypari-2.2.4] [spkg-install] Build type: native build

[cypari-2.2.4] [spkg-install] Project name: cypari2

[cypari-2.2.4] [spkg-install] Project version: 2.2.4

[cypari-2.2.4] [spkg-install] C compiler for the host machine: gcc -std=gnu23 (clang 21.0.0 "Apple clang version 21.0.0 (clang-2100.1.1.101)")

[cypari-2.2.4] [spkg-install] C linker for the host machine: gcc -std=gnu23 ld64 1267

[cypari-2.2.4] [spkg-install] Cython compiler for the host machine: cython (cython 3.2.4)

[cypari-2.2.4] [spkg-install] Host machine cpu family: aarch64

[cypari-2.2.4] [spkg-install] Host machine cpu: aarch64

[cypari-2.2.4] [spkg-install] Program python found: YES (/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3)

[cypari-2.2.4] [spkg-install] Run-time dependency gmp found: YES 6.3.0

[cypari-2.2.4] [spkg-install] Program brew found: YES (/opt/homebrew/bin/brew)

[cypari-2.2.4] [spkg-install] Message: Homebrew prefix: /opt/homebrew

[cypari-2.2.4] [spkg-install] Has header "pari/pari.h" : YES 

[cypari-2.2.4] [spkg-install] Has header "pari/pari.h" : YES 

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ../meson.build:65:10: ERROR: C shared or static library 'pari' not found

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] A full log can be found at /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-u86o7b45/meson-logs/meson-log.txt

Dima Pasechnik

unread,
Sep 30, 2026, 11:15:27 PMSep 30
to sage-r...@googlegroups.com
I'll release pari-2.19-compatible cypari2 today.

pari-2.19-compatible lcalc 2.2.2 is already released, and there is a
PR to update it in Sage.
lcalc in Homebrew is now version 2.2.2, so it should just work with
Homebrew's pari/gp
> 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 sage-release...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-release/C4CE47BC-0637-4270-88E7-2E14A6EF3A9E%40gmail.com.

David Coudert

unread,
Oct 1, 2026, 4:49:27 AMOct 1
to sage-r...@googlegroups.com
After brew upgrade to get lcalc 2.2.2,
I tried with and without the PR to update lcalc (after make distclean, bootstrap, etc. and enabling system pari).
In both cases cypari fail to compile with the same error:

make --no-print-directory cypari-SAGE_VENV-no-deps

[cypari-2.2.4] Using cached file /Users/dcoudert/sage/upstream/cypari2-2.2.4.tar.gz

[cypari-2.2.4] Setting up build directory /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4

[cypari-2.2.4] No patch files found in ../patches

[cypari-2.2.4] Host system: Darwin MAC-04017247 25.5.0 Darwin Kernel Version 25.5.0: Mon Apr 27 20:38:56 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T6000 arm64

[cypari-2.2.4] C compiler: gcc -std=gnu23, Apple clang version 21.0.0 (clang-2100.1.1.101), Target: arm64-apple-darwin25.5.0, Thread model: posix, InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

[cypari-2.2.4] No stamp file for package 'cypari' in /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/sage/installed

[cypari-2.2.4] No spkg-legacy-uninstall script; nothing to do

[cypari-2.2.4] [spkg-install] Installing cypari-2.2.4

[cypari-2.2.4] [spkg-install] * Creating isolated environment: venv+pip...

[cypari-2.2.4] [spkg-install] * Installing packages in isolated environment:

[cypari-2.2.4] [spkg-install]   - cysignals>=1.11.3

[cypari-2.2.4] [spkg-install]   - cython>=3.0

[cypari-2.2.4] [spkg-install]   - meson-python>=0.18.0

[cypari-2.2.4] [spkg-install] > /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3 -m pip

[cypari-2.2.4] [spkg-install]   --python /private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-

[cypari-2.2.4] [spkg-install]   yx90482k/bin/python install --use-pep517 --no-warn-script-location --no-

[cypari-2.2.4] [spkg-install]   compile -r /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-

[cypari-2.2.4] [spkg-install]   requirements-czir1_2w.txt

[cypari-2.2.4] [spkg-install] < Looking in links: /Users/dcoudert/sage/local/var/lib/sage/venv-

[cypari-2.2.4] [spkg-install]   python3.13/var/lib/sage/wheels

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-

[cypari-2.2.4] [spkg-install]   python3.13/var/lib/sage/wheels/meson_python-0.19.0-py3-none-any.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   czir1_2w.txt (line 1))

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/s

[cypari-2.2.4] [spkg-install]   age/wheels/cython-3.2.4-cp313-cp313-macosx_26_0_arm64.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   czir1_2w.txt (line 2))

[cypari-2.2.4] [spkg-install] < Processing /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/lib/s

[cypari-2.2.4] [spkg-install]   age/wheels/cysignals-1.12.6-cp313-cp313-macosx_26_0_arm64.whl (from -r

[cypari-2.2.4] [spkg-install]   /var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-

[cypari-2.2.4] [spkg-install]   czir1_2w.txt (line 3))

[cypari-2.2.4] [spkg-install]   File "/opt/homebrew/Cellar/pyt...@3.13/3.13.16/Frameworks/Python.framework/Versions/3.13/lib/python3.13/contextlib.py", line 141, in __enter__

[cypari-2.2.4] [spkg-install]     return next(self.gen)

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/__main__.py", line 153, in _bootstrap_build_env

[cypari-2.2.4] [spkg-install]     install(builder.build_system_requires)

[cypari-2.2.4] [spkg-install]     ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/env.py", line 148, in install

[cypari-2.2.4] [spkg-install]     self._env_backend.install_dependencies(requirements, constraints)

[cypari-2.2.4] [spkg-install]     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/env.py", line 309, in install_dependencies

[cypari-2.2.4] [spkg-install]     run_subprocess(cmd)

[cypari-2.2.4] [spkg-install]     ~~~~~~~~~~~~~~^^^^^

[cypari-2.2.4] [spkg-install]   File "/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/lib/python3.13/site-packages/build/_ctx.py", line 71, in run_subprocess

[cypari-2.2.4] [spkg-install]     subprocess.run(cmd, capture_output=True, check=True, cwd=cwd, env=env)

[cypari-2.2.4] [spkg-install]     ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[cypari-2.2.4] [spkg-install]   File "/opt/homebrew/Cellar/pyt...@3.13/3.13.16/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 578, in run

[cypari-2.2.4] [spkg-install]     raise CalledProcessError(retcode, process.args,

[cypari-2.2.4] [spkg-install]                              output=stdout, stderr=stderr)

[cypari-2.2.4] [spkg-install] subprocess.CalledProcessError: Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-yx90482k/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-czir1_2w.txt']' returned non-zero exit status 1.

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ERROR Command '['/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3', '-m', 'pip', '--python', '/private/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-env-yx90482k/bin/python', 'install', '--use-pep517', '--no-warn-script-location', '--no-compile', '-r', '/var/folders/hw/w6ldqpgn52vdvv03cgbkkr3h3lhtdp/T/build-requirements-czir1_2w.txt']' returned non-zero exit status 1.

[cypari-2.2.4] [spkg-install] Warning: building with "python3 -m build --wheel --outdir=dist   ." failed.

[cypari-2.2.4] [spkg-install] Retrying with "python3 -m build --wheel --outdir=dist --no-isolation --skip-dependency-check  .".

[cypari-2.2.4] [spkg-install] * Building wheel...

[cypari-2.2.4] [spkg-install] + meson setup /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6/meson-python-native-file.ini

[cypari-2.2.4] [spkg-install] The Meson build system

[cypari-2.2.4] [spkg-install] Version: 1.12.1

[cypari-2.2.4] [spkg-install] Source dir: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src

[cypari-2.2.4] [spkg-install] Build dir: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6

[cypari-2.2.4] [spkg-install] Build type: native build

[cypari-2.2.4] [spkg-install] Project name: cypari2

[cypari-2.2.4] [spkg-install] Project version: 2.2.4

[cypari-2.2.4] [spkg-install] C compiler for the host machine: gcc -std=gnu23 (clang 21.0.0 "Apple clang version 21.0.0 (clang-2100.1.1.101)")

[cypari-2.2.4] [spkg-install] C linker for the host machine: gcc -std=gnu23 ld64 1267

[cypari-2.2.4] [spkg-install] Cython compiler for the host machine: cython (cython 3.2.4)

[cypari-2.2.4] [spkg-install] Host machine cpu family: aarch64

[cypari-2.2.4] [spkg-install] Host machine cpu: aarch64

[cypari-2.2.4] [spkg-install] Program python found: YES (/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/bin/python3)

[cypari-2.2.4] [spkg-install] Run-time dependency gmp found: YES 6.3.0

[cypari-2.2.4] [spkg-install] Program brew found: YES (/opt/homebrew/bin/brew)

[cypari-2.2.4] [spkg-install] Message: Homebrew prefix: /opt/homebrew

[cypari-2.2.4] [spkg-install] Has header "pari/pari.h" : YES 

[cypari-2.2.4] [spkg-install] Has header "pari/pari.h" : YES 

[cypari-2.2.4] [spkg-install] Library pari found: YES

[cypari-2.2.4] [spkg-install] Checking if "pari version" with dependencies -lpari, gmp runs: YES

[cypari-2.2.4] [spkg-install] Message: PARI Version: [2, 19, 0]

[cypari-2.2.4] [spkg-install] Checking if "pari datadir" with dependencies -lpari, gmp runs: YES

[cypari-2.2.4] [spkg-install] Message: PARI Datadir: /opt/homebrew/share/pari

[cypari-2.2.4] [spkg-install] ../meson.build:136: WARNING: '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6/cypari2/auto_paridecl.pxd' is a generated file, and should be passed by reference instead of string name. This will become a hard error in Meson 2.0

[cypari-2.2.4] [spkg-install] ../meson.build:136: WARNING: '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6/cypari2/auto_gen.pxi' is a generated file, and should be passed by reference instead of string name. This will become a hard error in Meson 2.0

[cypari-2.2.4] [spkg-install] ../meson.build:136: WARNING: '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6/cypari2/auto_instance.pxi' is a generated file, and should be passed by reference instead of string name. This will become a hard error in Meson 2.0

[cypari-2.2.4] [spkg-install] Found pkg-config: YES (/opt/homebrew/bin/pkg-config) 3.0.7

[cypari-2.2.4] [spkg-install] Run-time dependency python found: YES 3.13

[cypari-2.2.4] [spkg-install] Configuring cypari2.py using configuration

[cypari-2.2.4] [spkg-install] Build targets in project: 9

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] cypari2 2.2.4

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install]   User defined options

[cypari-2.2.4] [spkg-install]     Native files: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/.mesonpy-_skb1uh6/meson-python-native-file.ini

[cypari-2.2.4] [spkg-install]     b_ndebug    : if-release

[cypari-2.2.4] [spkg-install]     b_vscrt     : md

[cypari-2.2.4] [spkg-install]     buildtype   : release

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] Found ninja-1.13.2 at /opt/homebrew/bin/ninja

[cypari-2.2.4] [spkg-install] + /opt/homebrew/bin/ninja

[cypari-2.2.4] [spkg-install] ninja: warning: Ignoring jobserver: Pipe-based protocol is not supported! [ --no-print-directory - --jobserver-fds=3,4 -j -- V=1 V=1]

[cypari-2.2.4] [spkg-install] [1/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/string_utils.pyx

[cypari-2.2.4] [spkg-install] [2/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/custom_block.pyx

[cypari-2.2.4] [spkg-install] [3/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/closure.pyx

[cypari-2.2.4] [spkg-install] [4/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/tests/test.pyx

[cypari-2.2.4] [spkg-install] [5/27] Compiling C object cypari2/string_utils.cpython-313-darwin.so.p/meson-generated_string_utils.pyx.c.o

[cypari-2.2.4] [spkg-install] [6/27] Compiling C object cypari2/custom_block.cpython-313-darwin.so.p/meson-generated_custom_block.pyx.c.o

[cypari-2.2.4] [spkg-install] [7/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/stack.pyx

[cypari-2.2.4] [spkg-install] [8/27] Linking target cypari2/string_utils.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [9/27] Linking target cypari2/custom_block.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [10/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/convert.pyx

[cypari-2.2.4] [spkg-install] [11/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/handle_error.pyx

[cypari-2.2.4] [spkg-install] [12/27] Compiling C object tests/test.cpython-313-darwin.so.p/meson-generated_test.pyx.c.o

[cypari-2.2.4] [spkg-install] [13/27] Linking target tests/test.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [14/27] Compiling C object cypari2/closure.cpython-313-darwin.so.p/meson-generated_closure.pyx.c.o

[cypari-2.2.4] [spkg-install] [15/27] Linking target cypari2/closure.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [16/27] Compiling C object cypari2/convert.cpython-313-darwin.so.p/meson-generated_convert.pyx.c.o

[cypari-2.2.4] [spkg-install] [17/27] Compiling C object cypari2/stack.cpython-313-darwin.so.p/meson-generated_stack.pyx.c.o

[cypari-2.2.4] [spkg-install] [18/27] Compiling C object cypari2/handle_error.cpython-313-darwin.so.p/meson-generated_handle_error.pyx.c.o

[cypari-2.2.4] [spkg-install] [19/27] Linking target cypari2/convert.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [20/27] Linking target cypari2/stack.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [21/27] Linking target cypari2/handle_error.cpython-313-darwin.so

[cypari-2.2.4] [spkg-install] [22/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/gen.pyx

[cypari-2.2.4] [spkg-install] warning: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/gen.pyx:2030:4: __nonzero__ was removed in Python 3; use __bool__ instead

[cypari-2.2.4] [spkg-install] [23/27] Compiling Cython source /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/pari_instance.pyx

[cypari-2.2.4] [spkg-install] warning: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/pari_instance.pyx:588:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310

[cypari-2.2.4] [spkg-install] warning: /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4/src/cypari2/pari_instance.pyx:1420:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310

[cypari-2.2.4] [spkg-install] [24/27] Compiling C object cypari2/pari_instance.cpython-313-darwin.so.p/meson-generated_pari_instance.pyx.c.o

[cypari-2.2.4] [spkg-install] FAILED: [code=1] cypari2/pari_instance.cpython-313-darwin.so.p/meson-generated_pari_instance.pyx.c.o 

[cypari-2.2.4] [spkg-install] gcc -std=gnu23 -Icypari2/pari_instance.cpython-313-darwin.so.p -Icypari2 -I../cypari2 -I. -I.. -I../../../../../../../lib/python3.13/site-packages/cysignals -I/opt/homebrew/include -I/opt/homebrew/Cellar/gmp/6.3.0/include -I/opt/homebrew/opt/pyt...@3.13/Frameworks/Python.framework/Versions/3.13/include/python3.13 -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -std=c17 -O3 -g -O2 -MD -MQ cypari2/pari_instance.cpython-313-darwin.so.p/meson-generated_pari_instance.pyx.c.o -MF cypari2/pari_instance.cpython-313-darwin.so.p/meson-generated_pari_instance.pyx.c.o.d -o cypari2/pari_instance.cpython-313-darwin.so.p/meson-generated_pari_instance.pyx.c.o -c cypari2/pari_instance.cpython-313-darwin.so.p/pari_instance.pyx.c

[cypari-2.2.4] [spkg-install] cypari2/pari_instance.cpython-313-darwin.so.p/pari_instance.pyx.c:278478:27: error: too few arguments to function call, expected 2, have 1

[cypari-2.2.4] [spkg-install]  278478 |   initprimetable(__pyx_v_M);

[cypari-2.2.4] [spkg-install]         |   ~~~~~~~~~~~~~~          ^

[cypari-2.2.4] [spkg-install] /opt/homebrew/include/pari/paridecl.h:3791:9: note: 'initprimetable' declared here

[cypari-2.2.4] [spkg-install]  3791 | void    initprimetable(ulong maxnum, ulong factorlimit);

[cypari-2.2.4] [spkg-install]       |         ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

[cypari-2.2.4] [spkg-install] 1 error generated.

[cypari-2.2.4] [spkg-install] [25/27] Compiling C object cypari2/gen.cpython-313-darwin.so.p/meson-generated_gen.pyx.c.o

[cypari-2.2.4] [spkg-install] ninja: build stopped: subcommand failed.

[cypari-2.2.4] [spkg-install] 

[cypari-2.2.4] [spkg-install] ERROR Backend subprocess exited when trying to invoke build_wheel

[cypari-2.2.4] [spkg-install] ********************************************************************************

[cypari-2.2.4] [spkg-install] Error building a wheel for cypari-2.2.4

[cypari-2.2.4] [spkg-install] ********************************************************************************

[cypari-2.2.4] ************************************************************************

[cypari-2.2.4] Error installing package cypari-2.2.4

[cypari-2.2.4] ************************************************************************

[cypari-2.2.4] Please email sage-devel (http://groups.google.com/group/sage-devel)

[cypari-2.2.4] explaining the problem and including the log files

[cypari-2.2.4]   /Users/dcoudert/sage/logs/pkgs/cypari-2.2.4.log

[cypari-2.2.4] and

[cypari-2.2.4]   /Users/dcoudert/sage/config.log

[cypari-2.2.4] Describe your computer, operating system, etc.

[cypari-2.2.4] If you want to try to fix the problem yourself, *don't* just cd to

[cypari-2.2.4] /Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4 and type 'make' or whatever is appropriate.

[cypari-2.2.4] Instead, the following commands setup all environment variables

[cypari-2.2.4] correctly and load a subshell for you to debug the error:

[cypari-2.2.4]   (cd '/Users/dcoudert/sage/local/var/lib/sage/venv-python3.13/var/tmp/sage/build/cypari-2.2.4' && '/Users/dcoudert/sage/sage' --buildsh)

[cypari-2.2.4] When you are done debugging, you can type "exit" to leave the subshell.

[cypari-2.2.4] ************************************************************************

[cypari-2.2.4] real 1m0,321s user 0m55,537s sys 0m9,822s

Dima Pasechnik

unread,
Oct 1, 2026, 9:14:45 AMOct 1
to sage-r...@googlegroups.com
it won't work with cypari2 2.2.4, I should have made it clear, sorry.

David Coudert

unread,
Oct 1, 2026, 9:49:11 AMOct 1
to sage-r...@googlegroups.com

Dima Pasechnik

unread,
Oct 1, 2026, 10:24:21 AMOct 1
to sage-r...@googlegroups.com
In sage-distro, you can use the unreleased pari-2.19-compatible
cygpari2, as follows (the attempt to release 2.2.6 failed due to some
PyPI shenanigans, but it's a blessing, as Antonio found a real bug
afterwards, which is hopefully fixed in cypari2 PR #233)

./sage --package update cysignals 1.13.0 # the local install of cysignals
./sage --package update cypari 2.2.6.p1 \
--url=https://github.com/dimpase/cypari2/archive/3357ea155053c964b6e2212292b377024814c664.tar.gz
# use the commit hash of #233 to get the package

This downloads the sources and updates the version and checksums.
2.2.6.p1 is a local Sage package revision; the Python package still
reports 2.2.6.

Then rerun configure, preserving your existing options and adding:

./bootstrap
./configure --with-system-cypari=no --with-system-cysignals=no <more options>
make

HTH
Dima
> 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 sage-release...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-release/BFDCA0E2-CC41-4009-ABC6-A2C318155E2A%40gmail.com.

Dima Pasechnik

unread,
Oct 1, 2026, 10:32:07 AMOct 1
to sage-r...@googlegroups.com
On Thu, Oct 1, 2026 at 9:24 AM Dima Pasechnik <dim...@gmail.com> wrote:
>
> In sage-distro, you can use the unreleased pari-2.19-compatible
> cygpari2, as follows (the attempt to release 2.2.6 failed due to some
> PyPI shenanigans, but it's a blessing, as Antonio found a real bug
> afterwards, which is hopefully fixed in cypari2 PR #233)

and in an uv-managed venv, one can do

uv pip install --upgrade \
"cypari2 @ https://github.com/dimpase/cypari2/archive/3357ea155053c964b6e2212292b377024814c664.tar.gz"

to get this cypari2.

If you are in a usual venv, where pip just works, merely drop "uv" in
the command above to achieve the same effect.

Dima Pasechnik

unread,
Oct 1, 2026, 12:57:57 PMOct 1
to sage-r...@googlegroups.com
PS. One might need to apply
https://github.com/sagemath/sage/pull/42888 to use cypari 2.2.6* (as
header order changed)...

David Coudert

unread,
Oct 2, 2026, 10:50:49 AMOct 2
to sage-r...@googlegroups.com
I finally managed to compile sagemath 11.0.beta0

Fresh clone + using PR 42888 +
 ./sage --package update cysignals 1.13.0 # the local install of cysignals
 ./sage --package update cypari 2.2.6.p1 \

Then:
./bootstrap
source .homebrew-build-env
./configure --enable-system-site-packages --with-python=`which python3.13` --with-system-jupyter_core=no --with-system-platformdirs=no --disable-notebook --enable-highspy --enable-tdlib=yes --enable-bliss --enable-plantri  --enable-mcqd --enable-benzene --enable-igraph --enable-python_igraph --enable-buckygen --with-system-cypari=no --with-system-cysignals=no
make build

Let’s hope the upgraded cysignals, cypari and #42888 will be in the next beta.

Thanks,
David.

John H Palmieri

unread,
Oct 2, 2026, 3:39:57 PMOct 2
to sage-release
On Friday, October 2, 2026 at 7:50:49 AM UTC-7 david....@gmail.com wrote:
I finally managed to compile sagemath 11.0.beta0

Fresh clone + using PR 42888 +
 ./sage --package update cysignals 1.13.0 # the local install of cysignals
 ./sage --package update cypari 2.2.6.p1 \

Then:
./bootstrap
source .homebrew-build-env
./configure --enable-system-site-packages --with-python=`which python3.13` --with-system-jupyter_core=no --with-system-platformdirs=no --disable-notebook --enable-highspy --enable-tdlib=yes --enable-bliss --enable-plantri  --enable-mcqd --enable-benzene --enable-igraph --enable-python_igraph --enable-buckygen --with-system-cypari=no --with-system-cysignals=no
make build

I followed these directions, and cypari still does not build for me (OS X 27.0.1): I see

[spkg-install] Run-time dependency gmp found: YES 6.3.0
[spkg-install] Program brew found: YES (/opt/homebrew/bin/brew)
[spkg-install] Message: Homebrew prefix: /opt/homebrew
[spkg-install] Has header "pari/pari.h" : YES
[spkg-install] Has header "pari/pari.h" : YES
[spkg-install]
[spkg-install] ../meson.build:82:10: ERROR: C shared or static library 'pari' not found
[spkg-install]
[spkg-install] A full log can be found at /Users/palmieri/Sage/TESTING/sage-11.0.beta0/local/var/lib/sage/venv-python3.14/var/tmp/sage/build/cypari-2.2.6.p1/src/.mesonpy-9j2es09z/meson-logs/meson-log.txt

As I said earlier in this thread, there is a file local/lib/libpari.dylib, a symlink to libpari-gmp-tls.dylib. I don't know why it's not being found.

(I think that the homebrew messages are not relevant. I have uninstalled homebrew's version of pari.)

Dima Pasechnik

unread,
Oct 2, 2026, 3:55:04 PMOct 2
to sage-r...@googlegroups.com
Hi John,

open an issue on GitHub, post install.log etc there. David described a
built with system-wide Pari, so you have a build problem with Pari
built by Sage.

Best
Dima
> --
> 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 sage-release...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-release/965c5175-a9b2-485b-8fed-e56877c52e81n%40googlegroups.com.

John H Palmieri

unread,
Oct 2, 2026, 5:30:17 PMOct 2
to sage-release
Oh, I missed that David was using the homebrew version of lcalc. Once I install that and use the system pari, cypari seems to build (although there are various warning messages in the log file, I hope nothing that we need to worry about?).

John H Palmieri

unread,
Oct 2, 2026, 5:46:10 PMOct 2
to sage-release
Reply all
Reply to author
Forward
0 new messages