Trying to build on an M1 ARM Mac with MacOS 12.x finally gets past the very first package (GMP), due to upgrading to 6.2.1. It fails with gfortran, with an error about this version of macOS being "unreleased" (which is not true, of course -- it is released):
[gfortran-10.3.0] checking if mkdir takes one argument... no [gfortran-10.3.0] Error: configuring for an unreleased macOS version arm-apple-darwin21.1.0 [gfortran-10.3.0] make[6]: *** [configure-gcc] Error 1 [gfortran-10.3.0] make[5]: *** [all] Error 2 So, I do "brew install gfortran", and start the build again with "make". This fails in the same way, of course, since I need to do ./configure again, then make. The build then fails with openblas: [openblas-0.3.18] make[6]: *** No rule to make target `../kernel/arm64/amin.S', needed by `samin_k.o'. Stop. So I do "brew install openblas && ./configure && make" to continue onward: This fundamentally fails, because the brew installed openblas doesn't get detected by ./configure, and make results in immediately building trying to build it, which fails again. So Sage continues to be unsupported on the latest version of Apple's product. At a minimum, it would be good to amend this sentence in the README: "Sage fully supports all major Linux distributions, recent versions of macOS, and Windows (using Cygwin, Windows Subsystem for Linux, or using virtualization)." to "Sage fully supports all major Linux distributions, recent versions of macOS on x86 hardware, and Windows (using Cygwin, Windows Subsystem for Linux, or using virtualization). Sage does NOT support the latest version of macOS on Apple Silicon (M1) hardware, except by running Sage in a Linux virtual machine or by using a binary built via Mambaforge." I'm not sure how to word the mamba part. The issue is that the Sage build system can't build Sage on M1 macs, but the mamba forge people can, since they have a completely different build system. - William On Sat, Nov 20, 2021 at 1:12 PM 'Justin C. Walker' via sage-release <[email protected]> wrote: > > > > > On Nov 20, 2021, at 12:18 , Matthias Köppe <[email protected]> wrote: > > > > On Saturday, November 20, 2021 at 12:10:18 PM UTC-8 [email protected] wrote: > > unlike the previous builds, this time there is no log file for the doc > > build. > > > > Is this a change? I did not notice anything in the changeless below that > > seemed relevant. > > > > Yes, it is coming from this change: > > c962a2fa9a Trac #31356: Restructure docbuild as script packages > > sagemath_doc_html, sagemath_doc_pdf > > > > These are now packages, and you find the build log in > > logs/pkgs/sagemath_doc… > > I saw those dots, but did not connect them. > > Thanks for the clarification. > > Justin > > -- > Justin C. Walker > Director, Institute for the Absorption of Federal Funds > -- > Taxes, n.: > Of life's two certainties, the only one > for which you can get an extension. > -- > > > -- > 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/883D10EB-CBEC-4C09-AE49-DA31A0DDDF47%40mac.com. -- William (http://wstein.org) -- 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/CACLE5GBvtt%3D4vwxG1ajpZGmPu2e34VB6FNb5Hn5W%2Bm_SwXyd8Q%40mail.gmail.com.
