Thanks for the suggestions! I have found the problem, although I cannot begin to explain it. Many of the libraries in sage/local targeted x86_64 even though they were built on an M1 system. Executables and libraries in the venv targeted the correct arm64 architecture. I can only guess that there was some very weird environment in place when I did the build. Anyway, rebuilding after make distclean seems to be working correctly. So this thread can now be ignored. Thanks.
- Marc On Sunday, February 19, 2023 at 11:16:27 AM UTC-6 Dima Pasechnik wrote: > One reason might be is that this version of the package is just too old. > It was released long before all those macOS updates, and it is quite heavy > C++ stuff. > > You might get better luck with using positively reviewed update with GAP > 4.12.2 > > > > On Sun, 19 Feb 2023, 17:13 Dima Pasechnik, <dim...@gmail.com> wrote: > >> does >> >> sage: libgap.LoadPackage("semigroup") >> >> crash, as well? >> >> and how about the same at GAP prompt: >> >> ./sage --gap >> .. >> >> gap> LoadPackage("semigroup"); >> >> >> >> >> >> On Sun, 19 Feb 2023, 16:11 Marc Culler, <marc....@gmail.com> wrote: >> >>> By running the load command in sage -gap I can see that GAP is crashing >>> with an illegal instruction error while trying to load the semigroups >>> package. >>> >>> - Marc >>> >>> On Sunday, February 19, 2023 at 10:04:51 AM UTC-6 Marc Culler wrote: >>> >>>> I am trying to build the binary release of Sage 9.8 for macOS and I >>>> have run into a mysterious problem. I wonder if anyone on this list has >>>> any insight into it. >>>> >>>> There are really two separate binary releases: one for Intel and one >>>> for Apple Silicon. These are built using the same build script but on two >>>> separate machines whose native architecture matches the target. That is, >>>> there is no cross-compilation involved. >>>> >>>> This is what I see on Intel: >>>> sage: %gap LoadPackage("semigroups"); >>>> true >>>> >>>> This is what I see on Apple M1: >>>> sage: %gap LoadPackage("semigroups"); >>>> ** Gap crashed or quit executing 'LoadPackage("semigroups");' ** >>>> Restarting Gap and trying again >>>> ** Gap crashed or quit executing 'LoadPackage("semigroups");' ** >>>> Restarting Gap and trying again >>>> ** Gap crashed or quit executing 'LoadPackage("semigroups");' ** >>>> Restarting Gap and trying again >>>> >>>> ^C--------------------------------------------------------------------------- >>>> >>>> (You have to kill Sage or it will keep restarting Gap forever.) >>>> >>>> Does anyone have any ideas? >>>> >>>> - Marc >>>> >>>> >>>> >>>> On Saturday, February 11, 2023 at 7:47:09 AM UTC-6 Volker Braun wrote: >>>> >>>>> The "master" git branch has been updated to Sage-9.8. 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 >>>>> >>>>> And as you are undoubtedly aware, the git repository is now hosted at >>>>> https://github.com/sagemath/sage, so update your git remote. >>>>> >>>>> To commemorate the move (and because we are getting really close to >>>>> .10), I'm proposing to target Sage version 10 as the next release. >>>>> >>>>> The changes over 9.8.rc0 are mainly housekeeping for the new >>>>> repository location. >>>>> >>>>> I'll try to finish up merging remaining positively reviewed trac >>>>> issues, and then move on to github pull requests. >>>>> >>>>> >>>>> c000c953eb6 (HEAD -> develop, github/master, github/develop, tag: 9.8) >>>>> Updated SageMath version to 9.8 >>>>> 104dde9eaa8 Merge pull request #35022 from tobiasdiez/pr-template-title >>>>> 17d8a73296f Merge pull request #35018 from yyyyx4/public/35017 >>>>> 6a4667bb5c5 Merge pull request #34983 from >>>>> tobiasdiez/add-issue-templates >>>>> 66b319baffb Merge pull request #35011 from dimpase/develop >>>>> 872b32b0c20 Merge pull request #34987 from mezzarobba/missing_long_time >>>>> d57804e6dec Merge pull request #34964 from >>>>> yyyyx4/public/linter-20230206 >>>>> 698001b0e6a remove prohibition, promise details >>>>> 0c5f7baf6c2 remove trac references, promise details soon >>>>> 200557e00c3 (tag: 9.8.rc1) Updated SageMath version to 9.8.rc1 >>>>> >>>> -- >>> 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 sage-release...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/sage-release/be0b9508-3a85-4219-ad3f-4fe8cd0bbb8en%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/sage-release/be0b9508-3a85-4219-ad3f-4fe8cd0bbb8en%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 sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/ae065d0e-4441-49e0-9023-325ee1a93eefn%40googlegroups.com.