I have finally succeeded to compile Sageamath. My difficulties are clearly due to F-Secure. It opens popups from time to time to ask if a subprocess (e.g., ecl) can access the hard drive, and if you don’t answer it takes it as a no and the compilation fails.
I will contact my IT service to complain. Thank you for your help, David. > Le 15 juin 2022 à 15:07, Dima Pasechnik <dimp...@gmail.com> a écrit : > > On Wed, Jun 15, 2022 at 1:42 PM David Coudert <david.coud...@gmail.com> wrote: >> >> I don’t have /usr/local/lisp at all. >> Should I (try to) install it ? > > no, this should not be needed. > > > >> Not sure how… > > (anti)virus? > >> >> David. >> >> Le 15 juin 2022 à 14:20, Dima Pasechnik <dimp...@gmail.com> a écrit : >> >> Do you have /usr/local/lisp/Registry/ ? >> (not writable for the normal user?) >> Cf the part of the ecl log below. >> >> >> On Wed, Jun 15, 2022 at 11:02 AM David Coudert <david.coud...@gmail.com> >> wrote: >> >> >> attached. >> >> >> >> ;;; Loading >> "/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/../lisp-utils/defsystem.lisp" >> ;;; Loading #P"/usr/local/Cellar/ecl/21.2.1_2/lib/ecl-21.2.1/cmp.fas" >> #P"/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/lisp-utils/defsystem.lisp" >> >> >> ("../src/" "./" (MAKE::HOME-SUBDIRECTORY "lisp/systems/") >> "/usr/local/lisp/Registry/") >> >> >> ;;; Loading >> "/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/../lisp-utils/make-depends.lisp" >> #P"/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/lisp-utils/make-depends.lisp" >> >> >> Condition of type: SEGMENTATION-VIOLATION >> Detected access to an invalid or protected memory address. >> >> Available restarts: >> >> 1. (CONTINUE) Ignore signal >> 2. (RESTART-TOPLEVEL) Go back to Top-Level REPL. >> >> Broken at MAKE::CREATE-DEPENDENCY-FILE. In: #<process TOP-LEVEL 0x10c376f80>. >> File: >> #P"/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/../lisp-utils/make-depends.lisp" >> (Position #677) >> >> >> >> >> >> Thank you Dima. >> >> >> -- >> 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/22E52DB7-4911-4423-B411-912018742DFB%40gmail.com. >> >> >> Le 15 juin 2022 à 10:39, Dima Pasechnik <dimp...@gmail.com> a écrit : >> >> OK, maybe there is a bit more info in >> logs/pkgs/maxima-5.45.0.p0.log >> ? >> could you post it, and top-level config.log ? >> >> On Wed, Jun 15, 2022 at 9:36 AM David Coudert <david.coud...@gmail.com> >> wrote: >> >> >> It produces 4 >> >> sapristi:sage dcoudert$ ecl >> ECL (Embeddable Common-Lisp) 21.2.1 (git:UNKNOWN) >> Copyright (C) 1984 Taiichi Yuasa and Masami Hagiya >> Copyright (C) 1993 Giuseppe Attardi >> Copyright (C) 2013 Juan J. Garcia-Ripoll >> Copyright (C) 2018 Daniel Kochmanski >> Copyright (C) 2021 Daniel Kochmanski and Marius Gerbershagen >> ECL is free software, and you are welcome to redistribute it >> under certain conditions; see file 'Copyright' for details. >> Type :h for Help. >> Top level in: #<process TOP-LEVEL 0x10219ff80>. >> >> (+ 2 2) >> >> >> 4 >> >> >> Le 15 juin 2022 à 09:51, Dima Pasechnik <dimp...@gmail.com> a écrit : >> >> On Wed, Jun 15, 2022 at 8:26 AM David Coudert <david.coud...@gmail.com> >> wrote: >> >> >> No, I have enough free space on disk >> >> sapristi:sage dcoudert$ df -h . >> Filesystem Size Used Avail Capacity iused ifree %iused Mounted on >> /dev/disk1s2 932Gi 475Gi 422Gi 53% 3172816 4424250640 0% /System/Volumes/Data >> >> >> May be it is due to F-Secure ? I’m forced to used this software and I’m not >> able to switch it off, even temporarily :( >> >> >> It might be. I have no idea about F-Secure. Perhaps it does not like >> ecl you use? >> >> It could be that ecl is broken (I presume you use one from Homebrew) >> Can you start it and check if >> >> (+ 2 2) >> >> produces 4? >> >> >> >> >> David. >> >> Le 15 juin 2022 à 09:20, Dima Pasechnik <dimp...@gmail.com> a écrit : >> >> errors such as >> [maxima-5.45.0.p0] ;;; Loading >> "/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/../lisp-utils/defsys >> tem.lisp" >> [maxima-5.45.0.p0] ;;; Loading >> #P"/usr/local/Cellar/ecl/21.2.1_2/lib/ecl-21.2.1/cmp.fas" >> [maxima-5.45.0.p0] >> #P"/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/lisp-utils/defsystem.lisp" >> [maxima-5.45.0.p0] > >> [maxima-5.45.0.p0] ("../src/" "./" (MAKE::HOME-SUBDIRECTORY "lisp/systems/") >> [maxima-5.45.0.p0] "/usr/local/lisp/Registry/") >> [maxima-5.45.0.p0] > >> [maxima-5.45.0.p0] ;;; Loading >> "/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/maxima.system" >> [maxima-5.45.0.p0] >> [maxima-5.45.0.p0] ; - Compiling defsystem "maxima" >> [maxima-5.45.0.p0] ; - Compiling module "package" >> [maxima-5.45.0.p0] ; - Compiling source file >> [maxima-5.45.0.p0] ; >> "/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/maxima-package.lisp" >> [maxima-5.45.0.p0] ;;; >> [maxima-5.45.0.p0] ;;; Compiling >> /Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/maxima-package.lisp >> . >> [maxima-5.45.0.p0] ;;; OPTIMIZE levels: Safety=2, Space=0, Speed=3, Debug=2 >> [maxima-5.45.0.p0] ;;; >> [maxima-5.45.0.p0] ;;; End of Pass 1. >> [maxima-5.45.0.p0] ;;; Internal error: >> [maxima-5.45.0.p0] ;;; ** Detected access to an invalid or protected >> memory address. >> [maxima-5.45.0.p0] ; - Binary file binary-ecl/maxima-package.fas >> is old or does not exist. >> [maxima-5.45.0.p0] ; Compile (and load) source file >> /Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/maxima-package.lisp >> instead? y >> [maxima-5.45.0.p0] ; - Should I bother you if this happens again? y >> [maxima-5.45.0.p0] ; - Compiling source file >> [maxima-5.45.0.p0] ; >> "/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/maxima-package.lisp" >> [maxima-5.45.0.p0] ;;; >> [maxima-5.45.0.p0] ;;; Compiling >> /Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/maxima-package.lisp. >> [maxima-5.45.0.p0] ;;; Internal error: >> [maxima-5.45.0.p0] ;;; ** Internal error: stream #<output stream >> #P"binary-ecl/maxima-package.c" 0x10f70c140> has no valid C file >> handler. >> [maxima-5.45.0.p0] ; - Loading binary file "binary-ecl/maxima-package.fas" >> [maxima-5.45.0.p0] Condition of type: FILE-ERROR >> [maxima-5.45.0.p0] Filesystem error with pathname >> #P"/Users/dcoudert/sage/local/var/tmp/sage/build/maxima-5.45.0.p0/src/src/binary-ecl/maxima-package.fas". >> >> >> >> Are you out of disk space? >> >> >> On Wed, Jun 15, 2022 at 7:40 AM David Coudert <david.coud...@gmail.com> >> wrote: >> >> >> After « make distclean », starting a fresh shell, "./bootstrap", "source >> .homebrew-build-env », "./configure » and « make build », I now have an >> error at the end of the compilation of maxima. >> >> [maxima-5.45.0.p0] Now installing the Maxima library as >> '/Users/dcoudert/sage/local/lib/ecl/maxima.fas'... >> [maxima-5.45.0.p0] cp: src/binary-ecl/maxima.fas: No such file or directory >> [maxima-5.45.0.p0] >> ******************************************************************************** >> [maxima-5.45.0.p0] Failed to install 'src/binary-ecl/maxima.fas' as >> [maxima-5.45.0.p0] '/Users/dcoudert/sage/local/lib/ecl/maxima.fas'. >> >> Log file attached. >> >> 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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/AB87A44E-531C-4645-AA12-8ADB83F3DBEE%40gmail.com. >> >> >> Le 14 juin 2022 à 11:15, Dima Pasechnik <dimp...@gmail.com> a écrit : >> >> On Tue, Jun 14, 2022 at 10:06 AM Dima Pasechnik <dimp...@gmail.com> wrote: >> >> >> On Tue, Jun 14, 2022 at 9:57 AM David Coudert <david.coud...@gmail.com> >> wrote: >> >> >> I have issues compiling this release. I have openblas 0.3.20 installed with >> homebrew, but sage searches for 0.3.19. >> >> >> looks like you have a stale ./configure, otherwise I can't explain this. >> Run >> >> ./bootstrap >> >> (making sure it succeeds) >> >> >> In fact, the up to date ./configure will not even check that the >> version is less than 0.3.20. >> So I don't know what's happening, perhaps some mixup in your Homebrew, or >> in the result of "source .homebrew-build-env" >> It could be that the latter was not run since Homebrew update, and >> still points (in, say, LIBRARY_PATH, or in PKG_CONFIG_PATH) at a no >> longer existing on the system 0.3.19 >> >> Closing the shell, opening a fresh one, and >> doing >> >> source .homebrew-build-env >> >> should fix this issue. >> >> >> >> laptop: Macbook air (Intel) with macOS 12.3.1 >> >> sapristi:sage dcoudert$ gcc --version >> Configured with: --prefix=/Library/Developer/CommandLineTools/usr >> --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/c++/4.2.1 >> Apple clang version 13.0.0 (clang-1300.0.27.3) >> Target: x86_64-apple-darwin21.4.0 >> Thread model: posix >> InstalledDir: /Library/Developer/CommandLineTools/usr/bin >> >> log file attached. Let me know if you need more data. >> >> Thank you in advance for your help. >> >> 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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/EA0693C7-7391-4E07-8F58-982A7D415083%40gmail.com. >> >> Le 12 juin 2022 à 19:38, Matthias Köppe <matthiaskoe...@gmail.com> a écrit : >> >> On Sunday, June 12, 2022 at 6:16:00 AM UTC-7 Volker Braun wrote: >> >> >> a6e696e91d (tag: 9.7.beta2, trac/develop) Updated SageMath version to >> 9.7.beta2 >> >> >> [...] >> >> >> fa1477350a Trac #32937: Drop Python 3.7 support in Sage 9.7 >> >> >> >> Python 3.8 language and library features can now be used in the Sage library >> See https://trac.sagemath.org/ticket/29756 (Meta-ticket: Review of Python 3 >> features) >> := Goo goo g'joob >> >> >> >> -- >> 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/4251cff7-e641-44f3-9a41-23a56bc5f081n%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/EA0693C7-7391-4E07-8F58-982A7D415083%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/CAAWYfq1omEA%2BZSb80XNoZmccsp_ikAZENskEefvZQggTtZZqQg%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/AB87A44E-531C-4645-AA12-8ADB83F3DBEE%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/CAAWYfq1T665JHP4iDB%2BwmXeTu-E_ZSiWRV7A1eXpQG7f_OJ_rg%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/81AFD614-D00D-41AB-949A-9ECE784DBC8D%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/CAAWYfq07dwKsZc8Mc-EpeCbFDm_iZDEX4GWYxgdfOAiOf44O9A%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/2E7F052B-9253-4C5E-A6B3-EB681A1C20A7%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/CAAWYfq2DAD%2BJHD1ioE9qKpyk2ge7QDTqKunQfRV49Xwvwfs%2BbA%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/22E52DB7-4911-4423-B411-912018742DFB%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/CAAWYfq2p2z1H6a0zz_wOv6jGyT4uiGh_v1KBLpi9Xvy-DfZAiw%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 sage-release+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sage-release/E7BE578E-B1CF-4380-8467-B306B4D59CB1%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 sage-release+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/CAAWYfq0r4wF%3D2gR1Da65P3RsC5j6-pE%2BB6sQstq%2B1YF0_ZsEYw%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 sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/2F149B89-1144-4528-A063-34C914F9B761%40gmail.com.