I tried building several version of gfortran by hand on 10.15, but I couldn't succeed, whereas I could with 10.14. I didn't try just upgrading Sage's gfortran/gcc package to 9.x.
On Wednesday, October 30, 2019 at 3:21:58 PM UTC-7, François Bissey wrote: > > I suspect gcc/gfortran shipped with sage is too old to build on 10.15. > Upgrading to 9.x may help. > > > On 31/10/2019, at 11:04 AM, Dima Pasechnik <dim...@gmail.com > <javascript:>> wrote: > > > > I think at the moment most people who tried cannot build Sage on MacOS > > 10.15 with Xcode 11.1 (the latest one). > > Regarding gfortran, perhaps one can try installing Homebrew and use > > gfortram from there. > > > > If you just need a working Sage, your best bet on MacOS 10.15 might be > > the one from conda-forge. > > https://anaconda.org/conda-forge/sage > > > > > > > > On Wed, Oct 30, 2019 at 10:57 PM Rob Gross <robert....@gmail.com > <javascript:>> wrote: > >> > >> Hi, > >> > >> I tried both upgrading to sage-8.9 and compiling from scratch, and both > times gfortran would not compile. I cannot attach the entire log file > without an error. I attach the first few lines and the last few lines, and > of course I can e-mail anyone with as much information as needed. > >> > >> Here is the first error message in the log file: > >> > >> libtool: compile: > > /Users/gross/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/./gcc/xgcc > > -B/Users/gross/sage-8.9/local/var/tmp/sage/build/gfortran-7.4.0/gcc-build/./gcc/ > > -B/Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/bin/ > -B/Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/lib/ -isystem > /Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/include -isystem > /Users/gross/sage-8.9/local/x86_64-apple-darwin19.0.0/sys-include > -DHAVE_CONFIG_H -I. -I../../../src/libssp -Wall -g -O2 -MT gets-chk.lo -MD > -MP -MF .deps/gets-chk.Tpo -c ../../../src/libssp/gets-chk.c -fno-common > -DPIC -o .libs/gets-chk.o > >> In file included from > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/wait.h:110:0, > > > >> from > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdlib.h:66, > > > >> from ../../../src/libssp/gets-chk.c:39: > >> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h: > > In function 'getiopolicy_np': > >> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:443:34: > > error: expected declaration specifiers before '__OSX_AVAILABLE_STARTING' > >> int getiopolicy_np(int, int) __OSX_AVAILABLE_STARTING(__MAC_10_5, > __IPHONE_2_0); > >> ^~~~~~~~~~~~~~~~~~~~~~~~ > >> > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/resource.h:449:39: > > error: expected '=', ',', ';', 'asm' or '__attribute__' before > '__OSX_AVAILABLE_STARTING' > >> int setiopolicy_np(int, int, int) > __OSX_AVAILABLE_STARTING(__MAC_10_5, __IPHONE_2_0); > >> > >> Any ideas? > >> > >> Thanks.--Rob > >> > >> -- > >> 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-...@googlegroups.com <javascript:>. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/b557aad7-51f6-469b-9dac-bac679275400%40googlegroups.com. > > > > > > -- > > 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-...@googlegroups.com <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAAWYfq3LG%2Bj6eWxrYtJ7K%3Dc__PTtC%3DkNyWX9J8ywNY-u%3DPeugA%40mail.gmail.com. > > > > -- 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/f861ebee-f4b2-4f3f-b52a-888a6b6ae9a7%40googlegroups.com.