Unfortunately, this error continues to persist. My machine (M1 mac) is not able to find ppl and Sage is not able to build it from source. The error log suggests to write here so just making an attempt. It would be lovely if some could please assist me with this.
``` [ppl-1.2.p1] C compiler: arm64-apple-darwin20.0.0-clang [ppl-1.2.p1] C compiler version: [ppl-1.2.p1] clang version 13.0.1 [ppl-1.2.p1] Target: arm64-apple-darwin20.0.0 [ppl-1.2.p1] Thread model: posix [ppl-1.2.p1] InstalledDir: /Users/ishaanjolly/miniforge3/envs/ox/bin [ppl-1.2.p1] **************************************************** [ppl-1.2.p1] Package 'ppl' is currently not installed [ppl-1.2.p1] No legacy uninstaller found for 'ppl'; nothing to do [ppl-1.2.p1] Configuring ppl-1.2.p1 [ppl-1.2.p1] configure: WARNING: unrecognized options: --disable-maintainer-mode [ppl-1.2.p1] checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized [ppl-1.2.p1] configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed [ppl-1.2.p1] checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized [ppl-1.2.p1] configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed [ppl-1.2.p1] ******************************************************************************** [ppl-1.2.p1] Error configuring ppl-1.2.p1 See the file [ppl-1.2.p1] /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log [ppl-1.2.p1] for details. [ppl-1.2.p1] ******************************************************************************** [ppl-1.2.p1] Error configuring PPL with both C and C++ interfaces, trying [ppl-1.2.p1] again with only the C++ interface. [ppl-1.2.p1] Configuring ppl-1.2.p1 [ppl-1.2.p1] configure: WARNING: unrecognized options: --disable-maintainer-mode [ppl-1.2.p1] checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized [ppl-1.2.p1] configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed [ppl-1.2.p1] checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized [ppl-1.2.p1] configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed [ppl-1.2.p1] ******************************************************************************** [ppl-1.2.p1] Error configuring ppl-1.2.p1 See the file [ppl-1.2.p1] /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log [ppl-1.2.p1] for details. [ppl-1.2.p1] ******************************************************************************** [ppl-1.2.p1] [ppl-1.2.p1] real 0m1.068s [ppl-1.2.p1] user 0m0.254s [ppl-1.2.p1] sys 0m0.322s [ppl-1.2.p1] ************************************************************************ [ppl-1.2.p1] Error installing package ppl-1.2.p1 [ppl-1.2.p1] ************************************************************************ [ppl-1.2.p1] Please email sage-devel (http://groups.google.com/group/sage-devel) [ppl-1.2.p1] explaining the problem and including the log files [ppl-1.2.p1] /Users/ishaanjolly/sage/logs/pkgs/ppl-1.2.p1.log [ppl-1.2.p1] and [ppl-1.2.p1] /Users/ishaanjolly/sage/config.log [ppl-1.2.p1] Describe your computer, operating system, etc. [ppl-1.2.p1] If you want to try to fix the problem yourself, *don't* just cd to [ppl-1.2.p1] /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1 and type 'make' or whatever is appropriate. [ppl-1.2.p1] Instead, the following commands setup all environment variables [ppl-1.2.p1] correctly and load a subshell for you to debug the error: [ppl-1.2.p1] (cd '/Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1' && '/Users/ishaanjolly/sage/sage' --buildsh) [ppl-1.2.p1] When you are done debugging, you can type "exit" to leave the subshell. [ppl-1.2.p1] ************************************************************************ make[4]: *** [ppl-SAGE_LOCAL-no-deps] Error 1 make[3]: *** [/Users/ishaanjolly/sage/local/var/lib/sage/installed/ppl-1.2.p1] Error 2 make[2]: *** [all-start] Error 2 real 0m3.750s user 0m2.353s sys 0m0.732s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: ppl-1.2.p1 last build time: 2 Jun 18:37 log file: /Users/ishaanjolly/sage/logs/pkgs/ppl-1.2.p1.log build directory: /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1 It is safe to delete any log files and build directories, but they contain information that is helpful for debugging build problems. WARNING: If you now run 'make' again, the build directory of the same version of the package will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this ``` Please see the attached ppl-1.2 p1.log file below. Thank you for your time! On Monday, 16 May 2022 at 19:13:53 UTC+1 Matthias Koeppe wrote: > Please take a look at the notes for the Apple Silicon platform at > https://trac.sagemath.org/wiki/ReleaseTours/sage-9.6#Sources > If the problem persists, please send the top-level config.log file > > On Saturday, May 14, 2022 at 1:14:12 PM UTC-7 ijoll...@gmail.com wrote: > >> Hi, >> >> I am very new to Sage, and software development in particular. I recently >> tried cloning the GitHub repo, and installing Sage from root. However, on >> running make, I failed. I was wondering if some assitance could be >> provided. Here is the error message: >> >> [ppl-1.2.p1] Package 'ppl' is currently not installed >> [ppl-1.2.p1] No legacy uninstaller found for 'ppl'; nothing to do >> [ppl-1.2.p1] Configuring ppl-1.2.p1 >> [ppl-1.2.p1] configure: WARNING: unrecognized options: >> --disable-maintainer-mode >> [ppl-1.2.p1] checking build system type... Invalid configuration >> `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized >> [ppl-1.2.p1] configure: error: /bin/bash ./config.sub >> arm64-apple-darwin20.0.0 failed >> [ppl-1.2.p1] checking build system type... Invalid configuration >> `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized >> [ppl-1.2.p1] configure: error: /bin/bash ./config.sub >> arm64-apple-darwin20.0.0 failed >> [ppl-1.2.p1] >> ************************************************************************************* >> [ppl-1.2.p1] Error configuring ppl-1.2.p1 See the file >> [ppl-1.2.p1] >> /Users/ishaanjolly/Programs/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log >> [ppl-1.2.p1] for details. >> [ppl-1.2.p1] >> ************************************************************************************* >> [ppl-1.2.p1] Error configuring PPL with both C and C++ interfaces, trying >> [ppl-1.2.p1] again with only the C++ interface. >> [ppl-1.2.p1] Configuring ppl-1.2.p1 >> [ppl-1.2.p1] configure: WARNING: unrecognized options: >> --disable-maintainer-mode >> [ppl-1.2.p1] checking build system type... Invalid configuration >> `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized >> [ppl-1.2.p1] configure: error: /bin/bash ./config.sub >> arm64-apple-darwin20.0.0 failed >> [ppl-1.2.p1] checking build system type... Invalid configuration >> `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized >> [ppl-1.2.p1] configure: error: /bin/bash ./config.sub >> arm64-apple-darwin20.0.0 failed >> [ppl-1.2.p1] >> ************************************************************************************* >> [ppl-1.2.p1] Error configuring ppl-1.2.p1 See the file >> [ppl-1.2.p1] >> /Users/ishaanjolly/Programs/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log >> [ppl-1.2.p1] for details. >> [ppl-1.2.p1] >> ************************************************************************************* >> [ppl-1.2.p1] >> [ppl-1.2.p1] real 0m1.080s >> [ppl-1.2.p1] user 0m0.244s >> [ppl-1.2.p1] sys 0m0.302s >> [ppl-1.2.p1] >> ************************************************************************ >> [ppl-1.2.p1] Error installing package ppl-1.2.p1 >> [ppl-1.2.p1] >> ************************************************************************ >> [ppl-1.2.p1] Please email sage-devel ( >> http://groups.google.com/group/sage-devel) >> [ppl-1.2.p1] explaining the problem and including the log files >> [ppl-1.2.p1] /Users/ishaanjolly/Programs/sage/logs/pkgs/ppl-1.2.p1.log >> [ppl-1.2.p1] and >> [ppl-1.2.p1] /Users/ishaanjolly/Programs/sage/config.log >> [ppl-1.2.p1] Describe your computer, operating system, etc. >> [ppl-1.2.p1] If you want to try to fix the problem yourself, *don't* just >> cd to >> [ppl-1.2.p1] >> /Users/ishaanjolly/Programs/sage/local/var/tmp/sage/build/ppl-1.2.p1 and >> type 'make' or whatever is appropriate. >> [ppl-1.2.p1] Instead, the following commands setup all environment >> variables >> [ppl-1.2.p1] correctly and load a subshell for you to debug the error: >> [ppl-1.2.p1] (cd >> '/Users/ishaanjolly/Programs/sage/local/var/tmp/sage/build/ppl-1.2.p1' && >> '/Users/ishaanjolly/Programs/sage/sage' --buildsh) >> [ppl-1.2.p1] When you are done debugging, you can type "exit" to leave >> the subshell. >> [ppl-1.2.p1] >> ************************************************************************ >> make[4]: *** [ppl-SAGE_LOCAL-no-deps] Error 1 >> make[3]: *** >> [/Users/ishaanjolly/Programs/sage/local/var/lib/sage/installed/ppl-1.2.p1] >> Error 2 >> make[2]: *** [all-start] Error 2 >> >> real 3m17.156s >> user 2m26.222s >> sys 0m18.146s >> *************************************************************** >> Error building Sage. >> >> The following package(s) may have failed to build (not necessarily >> during this run of 'make all-start'): >> >> * package: ppl-1.2.p1 >> last build time: 14 May 20:50 >> log file: >> /Users/ishaanjolly/Programs/sage/logs/pkgs/ppl-1.2.p1.log >> build directory: >> /Users/ishaanjolly/Programs/sage/local/var/tmp/sage/build/ppl-1.2.p1 >> >> It is safe to delete any log files and build directories, but they >> contain information that is helpful for debugging build problems. >> WARNING: If you now run 'make' again, the build directory of the >> same version of the package will, by default, be deleted. Set the >> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. >> >> make[1]: *** [all-start] Error 1 >> make: *** [all] Error 2 >> >> And here is the log file: >> > -- 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/947ace12-a42d-4453-814d-423564c3dab9n%40googlegroups.com.
Attempting to download package ppl-1.2.tar.bz2 from mirrors https://www.mirrorservice.org/sites/www.sagemath.org/spkg/upstream/ppl/ppl-1.2.tar.bz2 [......................................................................] ppl-1.2.p1 ==================================================== Setting up build directory for ppl-1.2.p1 Finished extraction Applying patches from ../patches... Applying ../patches/clang5-support.patch patching file src/Determinate_inlines.hh patching file src/OR_Matrix_inlines.hh Applying ../patches/cygwin-weak-symbols.patch patching file src/assertions.hh **************************************************** Host system: Darwin Ishaans-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64 **************************************************** C compiler: arm64-apple-darwin20.0.0-clang C compiler version: clang version 13.0.1 Target: arm64-apple-darwin20.0.0 Thread model: posix InstalledDir: /Users/ishaanjolly/miniforge3/envs/ox/bin **************************************************** Package 'ppl' is currently not installed No legacy uninstaller found for 'ppl'; nothing to do Configuring ppl-1.2.p1 configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed ******************************************************************************** Error configuring ppl-1.2.p1 See the file /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log for details. ******************************************************************************** Error configuring PPL with both C and C++ interfaces, trying again with only the C++ interface. Configuring ppl-1.2.p1 configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed ******************************************************************************** Error configuring ppl-1.2.p1 See the file /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log for details. ******************************************************************************** real 0m1.307s user 0m0.258s sys 0m0.322s ************************************************************************ Error installing package ppl-1.2.p1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log files /Users/ishaanjolly/sage/logs/pkgs/ppl-1.2.p1.log and /Users/ishaanjolly/sage/config.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1' && '/Users/ishaanjolly/sage/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Using cached file /Users/ishaanjolly/sage/upstream/ppl-1.2.tar.bz2 ppl-1.2.p1 ==================================================== Moving old directory ppl-1.2.p1 to /Users/ishaanjolly/sage/local/var/tmp/sage/build/old... Setting up build directory for ppl-1.2.p1 Finished extraction Applying patches from ../patches... Applying ../patches/clang5-support.patch patching file src/Determinate_inlines.hh patching file src/OR_Matrix_inlines.hh Applying ../patches/cygwin-weak-symbols.patch patching file src/assertions.hh **************************************************** Host system: Darwin Ishaans-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64 **************************************************** C compiler: arm64-apple-darwin20.0.0-clang C compiler version: clang version 13.0.1 Target: arm64-apple-darwin20.0.0 Thread model: posix InstalledDir: /Users/ishaanjolly/miniforge3/envs/ox/bin **************************************************** Package 'ppl' is currently not installed No legacy uninstaller found for 'ppl'; nothing to do Configuring ppl-1.2.p1 configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed ******************************************************************************** Error configuring ppl-1.2.p1 See the file /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log for details. ******************************************************************************** Error configuring PPL with both C and C++ interfaces, trying again with only the C++ interface. Configuring ppl-1.2.p1 configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed ******************************************************************************** Error configuring ppl-1.2.p1 See the file /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log for details. ******************************************************************************** real 0m0.732s user 0m0.229s sys 0m0.284s ************************************************************************ Error installing package ppl-1.2.p1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log files /Users/ishaanjolly/sage/logs/pkgs/ppl-1.2.p1.log and /Users/ishaanjolly/sage/config.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1' && '/Users/ishaanjolly/sage/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ Using cached file /Users/ishaanjolly/sage/upstream/ppl-1.2.tar.bz2 ppl-1.2.p1 ==================================================== Setting up build directory for ppl-1.2.p1 Finished extraction Applying patches from ../patches... Applying ../patches/clang5-support.patch patching file src/Determinate_inlines.hh patching file src/OR_Matrix_inlines.hh Applying ../patches/cygwin-weak-symbols.patch patching file src/assertions.hh **************************************************** Host system: Darwin Ishaans-MacBook-Pro.local 20.3.0 Darwin Kernel Version 20.3.0: Thu Jan 21 00:06:51 PST 2021; root:xnu-7195.81.3~1/RELEASE_ARM64_T8101 arm64 **************************************************** C compiler: arm64-apple-darwin20.0.0-clang C compiler version: clang version 13.0.1 Target: arm64-apple-darwin20.0.0 Thread model: posix InstalledDir: /Users/ishaanjolly/miniforge3/envs/ox/bin **************************************************** Package 'ppl' is currently not installed No legacy uninstaller found for 'ppl'; nothing to do Configuring ppl-1.2.p1 configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed ******************************************************************************** Error configuring ppl-1.2.p1 See the file /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log for details. ******************************************************************************** Error configuring PPL with both C and C++ interfaces, trying again with only the C++ interface. Configuring ppl-1.2.p1 configure: WARNING: unrecognized options: --disable-maintainer-mode checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed checking build system type... Invalid configuration `arm64-apple-darwin20.0.0': machine `arm64-apple' not recognized configure: error: /opt/homebrew/bin/bash ./config.sub arm64-apple-darwin20.0.0 failed ******************************************************************************** Error configuring ppl-1.2.p1 See the file /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1/src/config.log for details. ******************************************************************************** real 0m1.068s user 0m0.254s sys 0m0.322s ************************************************************************ Error installing package ppl-1.2.p1 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log files /Users/ishaanjolly/sage/logs/pkgs/ppl-1.2.p1.log and /Users/ishaanjolly/sage/config.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Users/ishaanjolly/sage/local/var/tmp/sage/build/ppl-1.2.p1' && '/Users/ishaanjolly/sage/sage' --buildsh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************