do you by any chance have g++ and/or gcc being "real" gcc, not just links to Apple's clang(++) ? E.g. I have
% g++ -v Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1 Apple clang version 11.0.3 (clang-1103.0.32.62) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin which is OK. (similar for gcc) Why is your gfortran version 9? I have version 10: % gfortran -v Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/10.2.0/libexec/gcc/x86_64-apple-darwin19/10.2.0/lto-wrapper Target: x86_64-apple-darwin19 Configured with: ../configure --build=x86_64-apple-darwin19 --prefix=/usr/local/Cellar/gcc/10.2.0 --libdir=/usr/local/Cellar/gcc/10.2.0/lib/gcc/10 --disable-nls --enable-checking=release --enable-languages=c,c++,objc,obj-c++,fortran --program-suffix=-10 --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-isl=/usr/local/opt/isl --with-system-zlib --with-pkgversion='Homebrew GCC 10.2.0' --with-bugurl=https://github.com/Homebrew/homebrew-core/issues --disable-multilib --with-native-system-header-dir=/usr/include --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk SED=/usr/bin/sed Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.2.0 (Homebrew GCC 10.2.0) On Wed, Sep 9, 2020 at 12:41 PM David Coudert <[email protected]> wrote: > > > > > Le 9 sept. 2020 à 13:29, Dima Pasechnik <[email protected]> a écrit : > > > > you do > > > > $ source .homebrew-build-env > > > > before builds, right? > > Yes, and I have « source $SAGE_ROOT/.homebrew-build-env » in my .bash_profile > > > Post the top-level config.log > > Here it is > > -- > 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/A6544A3C-2793-46DB-AF39-EA89CAD06E91%40gmail.com. > > > > > > On Wed, Sep 9, 2020 at 11:53 AM David Coudert <[email protected]> > > wrote: > >> > >> > >> > >> Le 9 sept. 2020 à 12:04, Dima Pasechnik <[email protected]> a écrit : > >> > >> On Wed, Sep 9, 2020 at 10:49 AM David Coudert <[email protected]> > >> wrote: > >> > >> > >> If I understand well, I’m facing the case (not completely sure): > >> homebrew-macos-python3_xcode-gcc_spkg-{minimal,standard}: Various build > >> errors (ignore for Sage 9.2) > >> > >> > >> no, this is for macOS 11, still in beta, and not going to be supported in > >> 9.2 > >> > >> > >> That is: macOS 10.15.6 with clang version 11.0.3 (clang-1103.0.32.62) and > >> all recommended packages installed with homebrew, and unable to compile > >> beta12. > >> > >> Is your xcode up to date? > >> > >> > >> My laptop is 2 months old, and the last Xcode update was on Septembre 3 > >> (Xcode 11.7). No other proposed update on app store. > >> Last « brew update » yesterday. > >> > >> David. > >> > >> Any idea to get something working is more than welcome ;) > >> Best, > >> David. > >> > >> Le 9 sept. 2020 à 06:23, Matthias Köppe <[email protected]> a écrit > >> : > >> > >> On Sunday, September 6, 2020 at 10:21:19 PM UTC-7, Matthias Köppe wrote: > >> > >> > >> On Sunday, September 6, 2020 at 4:25:39 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 > >> > >> > >> 5ec24db181 (tag: 9.2.beta12, trac/develop) Updated SageMath version to > >> 9.2.beta12 > >> > >> > >> Tests have started at https://github.com/sagemath/sage/actions > >> > >> > >> > >> macOS results: All runs have a number of timeouts in doctests. > >> > >> homebrew-macos-{minimal, standard} (= build with homebrew python3.8): > >> sage -t --random-seed=0 src/sage/interfaces/gap.py # 1 doctest failed > >> > >> homebrew-macos-python3_xcode-minimal: Clean > >> > >> homebrew-macos-python3_xcode-standard: > >> sage -t --random-seed=0 src/sage/interfaces/gap.py # 1 doctest failed > >> > >> homebrew-macos-python3_xcode-nokegonly-standard: Error building R: > >> configure: error: in > >> `/Users/runner/work/sage/sage/.tox/local-homebrew-macos-python3_xcode-nokegonly-standard/local/var/tmp/sage/build/r-3.6.3/src': > >> configure: error: linking to Fortran libraries from C fails > >> Looks like this build is still using gfortran-9 > >> > >> homebrew-macos-python3_pythonorg-minimal: > >> sage -t --random-seed=0 src/sage/interfaces/gap.py # 1 doctest failed > >> > >> homebrew-macos-python3_xcode-gcc_spkg-{minimal,standard}: Various build > >> errors (ignore for Sage 9.2) > >> > >> homebrew-macos with xcode-12 beta: Various build errors, tracked at > >> https://trac.sagemath.org/ticket/30494 (ignore for Sage 9.2) > >> > >> conda-forge-macos-minimal: python3 build fails: > >> configure: error: Cross compiling required --host=HOST-TUPLE and > >> --build=ARCH > >> > >> conda-forge-macos-standard > >> (https://github.com/sagemath/sage/runs/1078909711): > >> [sagelib-9.2.beta12] > >> /Users/runner/work/sage/sage/.tox/local-conda-forge-macos-standard/local/include/linbox/algorithms/det-rational.h:96:39: > >> error: no viable overloaded '=' > >> [sagelib-9.2.beta12] void detMul (const Integer& m) {mul > >> = m;} > >> [sagelib-9.2.beta12] ~~~ > >> ^ ~ > >> [sagelib-9.2.beta12] > >> /Users/runner/work/sage/sage/.tox/local-conda-forge-macos-standard/conda/include/gmp++/gmp++_int.h:236:34: > >> note: candidate function not viable: 'this' argument has type 'const > >> LinBox::Integer' (aka 'const Givaro::Integer'), but method is not marked > >> const > >> [sagelib-9.2.beta12] giv_all_inlined Integer& operator = (const > >> Integer& n); > >> [sagelib-9.2.beta12] ^ > >> [sagelib-9.2.beta12] > >> build/cythonized/sage/matrix/matrix_integer_sparse.cpp:12289:35: warning: > >> comparison of integers of different signs: 'size_t' (aka 'unsigned long') > >> and 'long' [-Wsign-compare] > >> [sagelib-9.2.beta12] for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; > >> __pyx_t_12+=1) { > >> [sagelib-9.2.beta12] ~~~~~~~~~~ ^ ~~~~~~~~~~ > >> [sagelib-9.2.beta12] 1 warning and 2 errors generated. > >> [sagelib-9.2.beta12] error: command 'x86_64-apple-darwin13.4.0-clang' > >> failed with exit status 1 > >> > >> I have created https://trac.sagemath.org/ticket/30535 for this > >> > >> > >> > >> > >> -- > >> 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/69e9cfd2-524a-46ec-849c-3af8fdb334dco%40googlegroups.com. > >> > >> > >> -- > >> 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/F206C9A0-DF8D-40E1-9C98-F1F4B893E27C%40gmail.com. > >> > >> > >> -- > >> 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/CAAWYfq3uUdwquVe-vb5x-8qi%3D_q%2BokpXywMz9WPOk%2BQyu8udhQ%40mail.gmail.com. > >> > >> > >> -- > >> 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/E933562E-5D67-432F-BF0B-D54AC020421F%40gmail.com. > > > > -- > > 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/CAAWYfq31h8a5qgdyY%2BhzJeUuSdw%3DT__GTp5XWmV_QWXDDrwuUA%40mail.gmail.com. > > -- > 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/A6544A3C-2793-46DB-AF39-EA89CAD06E91%40gmail.com. -- 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/CAAWYfq19sUqRCirypw2dSJZAndjskWXwEZfaG5PSH0HqP96AUA%40mail.gmail.com.
