I have a similar problem to the one mentioned in this thread. I got a problem with rpy2_rinterface-3.6.6. I tried a lot of different things suggested by AI, but none of them worked. Then I tried what was suggested in this thread on MacOS Sequoia 15.6.1:
...
[spkg-install] The Meson build system
[spkg-install] Version: 1.5.2
[spkg-install] Source dir: /Applications/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/cysignals-1.12.6/src
[spkg-install] Build dir: /Applications/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/cysignals-1.12.6/src/.mesonpy-rlwu0v1d
[spkg-install] Build type: native build
[spkg-install] Project name: cysignals
[spkg-install] Project version: undefined
[spkg-install] C compiler for the host machine: gcc -std=gnu23 (clang 17.0.0 "Apple clang version 17.0.0 (clang-1700.6.4.2)")
[spkg-install] C linker for the host machine: gcc -std=gnu23 ld64 1230.1
[spkg-install]
[spkg-install] ../meson.build:1:0: ERROR: Unable to get clang pre-processor defines:
[spkg-install] Compiler stdout:
[spkg-install]
[spkg-install] -----
[spkg-install] Compiler stderr:
[spkg-install] error: invalid argument '-std=gnu++11' not allowed with 'C'
[spkg-install]
[spkg-install] -----
[spkg-install]
[spkg-install]
[spkg-install] A full log can be found at /Applications/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/cysignals-1.12.6/src/.mesonpy-rlwu0v1d/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 cysignals-1.12.6
[spkg-install] ********************************************************************************
************************************************************************
Error installing package cysignals-1.12.6
************************************************************************
Please email sage-devel (
http://groups.google.com/group/sage-devel)
explaining the problem and including the log files
/Applications/sage/logs/pkgs/cysignals-1.12.6.log
and
/Applications/sage/config.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/cysignals-1.12.6 and type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
(cd '/Applications/sage/local/var/lib/sage/venv-python3.12/var/tmp/sage/build/cysignals-1.12.6' && '/Applications/sage/sage' --buildsh)
When you are done debugging, you can type "exit" to leave the subshell.