See https://trac.sagemath.org/ticket/33522
On Thursday, March 17, 2022 at 8:17:11 PM UTC-7 Kwankyu Lee wrote: > Sage build fails with the following log. I am not sure if this is caused > by the latest os update (macOS Monterey 12.3). Is there a quick fix? > ... > [scipy-1.7.3] 85 warnings and 2 errors generated. > [scipy-1.7.3] error: Command "g++ -Wno-unused-result -Wsign-compare > -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall > -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk > -D__ACCELERATE__ -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE > -I/Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/pythran > > -I/Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/numpy/core/include > > -I/Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/numpy/core/include > > -Ibuild/src.macosx-12-x86_64-3.9/numpy/distutils/include > -I/usr/local/include -I/usr/local/opt/openssl@1.1/include > -I/usr/local/opt/sqlite/include > -I/Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/include > -I/usr/local/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 > > -c scipy/interpolate/_rbfinterp_pythran.cpp -o > build/temp.macosx-12-x86_64-3.9/scipy/interpolate/_rbfinterp_pythran.o -MMD > -MF > build/temp.macosx-12-x86_64-3.9/scipy/interpolate/_rbfinterp_pythran.o.d > -std=c++11 -fno-math-errno -Wno-unused-function -msse -msse2 -msse3" failed > with exit status 1 > [scipy-1.7.3] > [scipy-1.7.3] ########### EXT COMPILER OPTIMIZATION ########### > [scipy-1.7.3] Platform : > [scipy-1.7.3] Architecture: x64 > [scipy-1.7.3] Compiler : gcc > [scipy-1.7.3] > [scipy-1.7.3] CPU baseline : > [scipy-1.7.3] Requested : 'min' > [scipy-1.7.3] Enabled : SSE SSE2 SSE3 > [scipy-1.7.3] Flags : -msse -msse2 -msse3 > [scipy-1.7.3] Extra checks: none > [scipy-1.7.3] > [scipy-1.7.3] CPU dispatch : > [scipy-1.7.3] Requested : 'max -xop -fma4' > [scipy-1.7.3] Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 > AVX2 AVX512F AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL > [scipy-1.7.3] Generated : none > [scipy-1.7.3] CCompilerOpt.cache_flush[809] : write cache to path -> > /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/scipy-1.7.3/src/build/temp.macosx-12-x86_64-3.9/ccompiler_opt_cache_ext.py > [scipy-1.7.3] > [scipy-1.7.3] ########### CLIB COMPILER OPTIMIZATION ########### > [scipy-1.7.3] Platform : > [scipy-1.7.3] Architecture: x64 > [scipy-1.7.3] Compiler : gcc > [scipy-1.7.3] > [scipy-1.7.3] CPU baseline : > [scipy-1.7.3] Requested : 'min' > [scipy-1.7.3] Enabled : SSE SSE2 SSE3 > [scipy-1.7.3] Flags : -msse -msse2 -msse3 > [scipy-1.7.3] Extra checks: none > [scipy-1.7.3] > [scipy-1.7.3] CPU dispatch : > [scipy-1.7.3] Requested : 'max -xop -fma4' > [scipy-1.7.3] Enabled : SSSE3 SSE41 POPCNT SSE42 AVX F16C FMA3 > AVX2 AVX512F AVX512CD AVX512_KNL AVX512_SKX AVX512_CLX AVX512_CNL AVX512_ICL > [scipy-1.7.3] Generated : none > [scipy-1.7.3] CCompilerOpt.cache_flush[809] : write cache to path -> > /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/scipy-1.7.3/src/build/temp.macosx-12-x86_64-3.9/ccompiler_opt_cache_clib.py > [scipy-1.7.3] error: subprocess-exited-with-error > [scipy-1.7.3] > [scipy-1.7.3] × Building wheel for scipy (pyproject.toml) did not run > successfully. > [scipy-1.7.3] │ exit code: 1 > [scipy-1.7.3] ╰─> See above for output. > [scipy-1.7.3] > [scipy-1.7.3] note: This error originates from a subprocess, and is > likely not a problem with pip. > [scipy-1.7.3] full command: > /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/bin/python3 > /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py > > build_wheel /var/folders/td/fw1q9ljs311ggyph77rs53_40000gn/T/tmptx5mouc0 > [scipy-1.7.3] cwd: > /Users/kwankyu/GitHub/sage-dev/local/var/lib/sage/venv-python3.9/var/tmp/sage/build/scipy-1.7.3/src > [scipy-1.7.3] Building wheel for scipy (pyproject.toml): finished with > status 'error' > [scipy-1.7.3] ERROR: Failed building wheel for scipy > [scipy-1.7.3] Failed to build scipy > [scipy-1.7.3] ERROR: Failed to build one or more wheels > [scipy-1.7.3] > ******************************************************************************** > [scipy-1.7.3] Error building a wheel for scipy-1.7.3 > [scipy-1.7.3] > ******************************************************************************** > [scipy-1.7.3] > [scipy-1.7.3] real 3m57.787s > [scipy-1.7.3] user 9m29.393s > [scipy-1.7.3] sys 1m16.305s > [scipy-1.7.3] > ************************************************************************ > [scipy-1.7.3] Error installing package scipy-1.7.3 > [scipy-1.7.3] > ************************************************************************ > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/df4f2bdb-a98e-44eb-93fe-5f750f920003n%40googlegroups.com.