If you have installed Singular via homebrew, it may be too new for Sage to 
handle properly. Try "./configure --with-system-singular=no". (I think this 
would be fixed by https://trac.sagemath.org/ticket/34851.)

-- 
John

On Friday, January 20, 2023 at 7:24:52 AM UTC-8 [email protected] wrote:

> I have Xcode 14.2.
>
> Le 20 janv. 2023 à 16:19, Dima Pasechnik <[email protected]> a écrit :
>
> is XCode up to date?
>
> On Fri, 20 Jan 2023, 15:04 David Coudert, <[email protected]> wrote:
>
>> And here is file sagely-9.8.beta7.log (zipped)
>> Best,
>> David.
>>
>>
>> -- 
>> 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/63E1078C-1158-40FE-8648-6F9E901FDF37%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/sage-release/63E1078C-1158-40FE-8648-6F9E901FDF37%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> Le 20 janv. 2023 à 15:52, David Coudert <[email protected]> a écrit :
>>
>> Hello,
>>
>> I'm unable to compile on MacBook Pro M1 with macOS 12.6.1, updated 
>> homebrew, after distclean, using a fresh shell, and running ./bootstrap, 
>> source .homebrew-build-env, ./configure 
>> --enable-download-from-upstream-url, and make build.
>>
>> Help is more than welcome. I don’t know how to fix that.
>>
>> I have attached the install.log file (zipped).
>>
>> The last lines are:
>> ======
>> [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/[email protected]/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/[email protected]/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
>> ======
>>
>>
>>
>> <install.log.zip>
>>
>>
>> Le 19 janv. 2023 à 00:48, Volker Braun <[email protected]> a écrit :
>>
>> 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
>>
>> We should probably gear up for a 9.8 release soon, so get your tickets 
>> ready ;)
>>
>> 047281e0287 (trac/develop, tag: 9.8.beta7) Updated SageMath version to 
>> 9.8.beta7
>> 272c557d1f3 Trac #31668: Run TestSuite on polynomial rings
>> 6f8fb9ba3ef Trac #22067: generating function of integral points of 
>> polyhedra
>> 5544a33b815 Trac #21003: Add package pyscipopt, add MIP backend
>> b0422b2536b Trac #34838: setuptools_scm, contourpy, 
>> sphinxcontrib_websupport, typing_extensions: Add missing dependencies
>> 30d58156a46 Trac #34717: Check the presence of lrsnash for obtain_nash()
>> c7299453922 Trac #34891: fixing some E502 in tensor, dynamics, modules, 
>> plot, numerical
>> bc832cb3578 Trac #34889: Installation guide: On WSL, clear /mnt/c stuff 
>> from PATH
>> 3570a9a63bd Trac #34881: allow to remove no constraints
>> 0ceb1032430 Trac #34878: MixedIntegerLinearProgram.add_constraint: Option 
>> to return row indices, fix handling of empty constraints
>> df74efb66d2 Trac #34859: sagelib: Remove unnecessary import of 
>> typing_extensions
>> b6a76d7a848 Trac #34857: bump giac's GIAC_MIN_VERSION to 1.9
>> 6a8155e6e5d Trac #34854: molien_series() should not use GAP's 
>> VirtualCharacter
>> dddf3ca0b08 Trac #34853: sage-env: Fix misconfiguration of pip
>> 6f631021ac4 Trac #34847: modernize some for loops in cython files
>> 9ffabc7f3e1 Trac #34844: removal of some unused imports about string 
>> conversion
>> 4b50bc2af27 Trac #34843: pep8 cleanup in ore_polynomial_element.pyx
>> bdd14cec19b Trac #34837: fix E502 in some pyx files
>> 172ad73ae38 Trac #34836: fix E271 and E272 in rings/ and schemes/
>> 3d861266040 Trac #34749: Packages dsdp, scip_sdp
>> 64d232b5bfd Trac #31329: Update scipoptsuite to 8.0.2 (now open source!), 
>> rename to scip
>> 2dcafb3ac57 Trac #34839: Support tox 4
>> ad68f15d97f Trac #34648: Developer's guide: warn the transition to GitHub 
>> and add links to the transition guide
>> acebbc1a9e8 Trac #34824: do not include parent in hash of parking 
>> functions
>> 9a7b6310dde Trac #34818: Error when defining differentials over GCA's 
>> with relations.
>> bb63c582122 Trac #34807: Add Construction of Hadamard matrices up to 
>> order 664
>> 8a0b16d93be Trac #34804: Deprecate sage.interfaces is_...Element functions
>> 80f8f950e95 Trac #34793: clean 3 files inside modular
>> b0cc282500e Trac #34547: Interfaces: use more lazy imports, restore 
>> top-level functions maxima_console etc.
>> 5905da7ebfc Trac #33915: inseparable elliptic-curve isogenies
>> 98b22ebdcf7 Trac #32826: scalar-multiplication endomorphisms of elliptic 
>> curves
>> 4f11a750df9 Trac #8744: Improve add_edge in BipartiteGraph to make it 
>> independent from the current coloring
>> 08aa2f8edaa Trac #33842: Upgrade python to 3.11
>> 75bedf95960 Trac #34783: various details in combinat/
>> 33fa8715bd5 Trac #34742: Optional package soplex (dependency of scip)
>> f84915f69d8 Trac #34726: Optional package papilo (dependency of scip)
>> e5cf1c0d9f2 Trac #34694: Bug in ExteriorAlgebra interior product
>> ebb9b611d02 Trac #34416: Manage pexpect logs created during doctesting
>> 962177a2da1 Trac #33907: interfaces/expect.py random test failure
>> 66409243991 Trac #16522: lazy_import doesn't resolve properly when 
>> indirectly imported
>> 2114066f877 (tag: 9.8.beta6) Updated SageMath version to 9.8.beta6
>>
>>
>> -- 
>> 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/c4a30733-dd2d-423c-834e-01459e7bb819n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-release/c4a30733-dd2d-423c-834e-01459e7bb819n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>>
>>
>> -- 
>> 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/63E1078C-1158-40FE-8648-6F9E901FDF37%40gmail.com
>>  
>> <https://groups.google.com/d/msgid/sage-release/63E1078C-1158-40FE-8648-6F9E901FDF37%40gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>
> -- 
> 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/CAAWYfq34kY6xX4iQvk%2B276_CqCuL3m0d_qH8QJw0JnD6vUjP2w%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/sage-release/CAAWYfq34kY6xX4iQvk%2B276_CqCuL3m0d_qH8QJw0JnD6vUjP2w%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
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/cb647cc6-2fcd-408a-9f4b-5fb80fb95d00n%40googlegroups.com.

Reply via email to