2021-03-16 09:24 UTC, Samuel Lelièvre: > > 2021-03-16 01:26 UTC, Matthias Köppe: > > > > On Monday, March 15, 2021 at 1:42:44 PM UTC-7 Samuel Lelievre: > >> > >> On macOS 10.14.6, in a fresh clone, I got this: > >> ``` > >> $ source .homebrew-build-env > >> $ ./bootstrap -q > >> $ ./configure --enable-download-from-upstream-url -q > >> ./configure: line 40596: SAGE_SPKG_CONFIGURE_SAGELIB: command not found > > > > Harmless, will be fixed in https://trac.sagemath.org/ticket/31496 > > > >> configure: WARNING: ".../build/pkgs/termcap/type" is missing. > >> Leftovers from another branch? > > > > You can just delete the termcap directory. The package has been removed. > > Indeed, that was just a warning, not an error. In the same folder, > without deleting the termcap folder or changing anything, I ran > this fuller command to bootstrap, configure, make and testlong, > and despite the innocuous configure warnings, all tests passed! > ``` > $ source .homebrew-build-env > $ ./bootstrap -q && ./configure -q && make -s V=0 && make -s V=0 testlong > ./configure: line 40596: SAGE_SPKG_CONFIGURE_SAGELIB: command not found > configure: WARNING: "/opt/s/sage93f/build/pkgs/termcap/type" is > missing. Leftovers from another branch? > *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** > ... > ---------------------------------------------------------------------- > All tests passed! > ---------------------------------------------------------------------- > ``` > Thanks everybody for all the hard work that made that possible!
To be more complete, I should mention the build fails on cysignals unless I use `export SETUPTOOLS_USE_DISTUTILS=local` as suggested by Matthias in the sage-release "Sage 9.3.beta8" thread. Build failing on cysignals. ``` $ source .homebrew-build-env $ ./bootstrap -q && ./configure -q && make -s V=0 && make -s V=0 testlong ./configure: line 40596: SAGE_SPKG_CONFIGURE_SAGELIB: command not found configure: WARNING: "/opt/s/sage93f/build/pkgs/termcap/type" is missing. Leftovers from another branch? *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** ... *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: cysignals-1.10.2 last build time: Mar 16 02:27 log file: /opt/s/sage93f/logs/pkgs/cysignals-1.10.2.log build directory: /opt/s/sage93f/local/var/tmp/sage/build/cysignals-1.10.2 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 ``` Fix using `export SETUPTOOLS_USE_DISTUTILS=local`. ``` $ source .homebrew-build-env $ export SETUPTOOLS_USE_DISTUTILS=local $ ./bootstrap -q && ./configure -q && make -s V=0 && make -s V=0 testlong ./configure: line 40596: SAGE_SPKG_CONFIGURE_SAGELIB: command not found configure: WARNING: "/opt/s/sage93f/build/pkgs/termcap/type" is missing. Leftovers from another branch? *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** ... ---------------------------------------------------------------------- All tests passed! ---------------------------------------------------------------------- ``` Installing jupyterlab_widgets and RISE then succeeded: ``` $ ./sage -i jupyterlab_widgets $ ./sage --pip install RISE ``` -- 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/CAEcArF3xTwKX7LSMoDy2cEFvCC-ACkeXvsgABxEKFckhOq2DjQ%40mail.gmail.com.