I am using macosx 10.15.7 with homebrew. After a few initial missteps I got 9.3.beta1 to compile with the doctest errors listed below.
I have been having trouble compiling sage for a while so I have been avoiding compiling it on my main computer since 9.1 was released. After reading https://groups.google.com/forum/#!topic/sage-devel/5lBTr4gZuic I felt courageous and decided to try again. Unfortunately, for me, with 9.3.beta1 on mac osx 10.15.7, the build fails almost straight away. After typing `make` I saw: make -j3 build/make/Makefile --stop ./bootstrap -d rm -rf config configure build/make/Makefile-auto.in rm -f src/doc/en/installation/*.txt rm -rf src/doc/en/reference/spkg/*.rst rm -f src/doc/en/reference/repl/*.txt src/doc/bootstrap:60: installing src/doc/en/installation/arch*.txt src/doc/bootstrap:60: installing src/doc/en/installation/debian*.txt src/doc/bootstrap:60: installing src/doc/en/installation/fedora*.txt src/doc/bootstrap:60: installing src/doc/en/installation/cygwin*.txt src/doc/bootstrap:60: installing src/doc/en/installation/homebrew*.txt src/doc/bootstrap:70: installing src/doc/en/reference/spkg/*.rst src/doc/bootstrap:102: installing src/doc/en/reference/repl/options.txt must source sage-env-config before sage-env Error setting environment variables by sourcing '/usr/local/src/sage/src/bin/sage-env'; possibly contact sage-devel (see http://groups.google.com/group/sage-devel). make[1]: *** [configure] Error 1 make: *** [base-toolchain] Error 2 I don't know if this is a problem with the make scripts or an idiosyncrasy with my setup. After looking through the scripts I manually ran source src/bin/sage-env-config.in This fixed the sage-env-config problem as now `make` runs `configure` kicked after which sage started to build, however, the compilation eventually failed even after a `make distclean`. It then occurred to me that the problem might be due to the ccache, so I tried: make distclean local/bin/ccache --clear source .homebrew-build-env # even though I didn't mention it before, I used this with the failed build attempts... make This time sage built correctly and `make ptestlong` resulted in the following failures: ---------------------------------------------------------------------- sage -t --long --warn-long 72.0 --random-seed=0 src/sage/tests/cmdline.py # 1 doctest failed sage -t --long --warn-long 72.0 --random-seed=0 src/sage/functions/other.py # 1 doctest failed sage -t --long --warn-long 72.0 --random-seed=0 src/sage/repl/preparse.py # 12 doctests failed sage -t --long --warn-long 72.0 --random-seed=0 src/sage/parallel/map_reduce.py # Timed out sage -t --long --warn-long 72.0 --random-seed=0 src/sage/data_structures/mutable_poset.py # 1 doctest failed sage -t --long --warn-long 72.0 --random-seed=0 src/sage/rings/polynomial/pbori/randompoly.py # 1 doctest failed ---------------------------------------------------------------------- I can post more details if needed. In my case, clearing the ccache seemed to fix he issues that I was having. On Sunday, 8 November 2020 22:18:06 UTC+11, Volker Braun wrote: > > 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 > > 222059565b (tag: 9.3.beta1, trac/develop) Updated SageMath version to > 9.3.beta1 > 8e72e1b9c9 Trac #30821: some typos found using "sage --tox" > 4c68ef35bc Trac #30707: Fix indent in Cython file > 3e2a55a530 Trac #30684: make "a in NN" work in more cases > d5ab47b4b4 Trac #30555: Incorrect gt() and lt() functions in Berkovich > space > 2caf9642a5 Trac #30836: minor flake8 changes in typeset/ and games/ > 04442e4922 Trac #30792: Homebrew: add $HOMEBREWPREFIX/opt/texinfo/bin to > PATH > 54d7fde4c2 Trac #30790: a few details in misc/misc.py > f383048d1b Trac #30789: refresh cyclotomic coefficients > cc0a316d25 Trac #30788: flake8 for new_kschur > dfff7d47d8 Trac #30739: Remove a few more .all imports > ea79e615f4 Trac #30715: Remove a few .all imports > e244981b08 Trac #30712: Gracefully fail if pip is not correctly installed > da6cf243c4 Trac #30708: Remove Python 2 code in autogenerated interpreters > e6e1172703 Trac #30697: Derived subalgebra of semisimple Lie algebra > 61fe2f0934 Trac #30673: Add compiled cython and virtual environments in > gitignore > 155d8377c7 Trac #30646: sage.knots, sage.game_theory: Change 'optional - > cbc' to 'optional - sage_numerical_backends_coin` > 01d7cc0514 Trac #30630: findstat error handling > 8fc1dc613d Trac #30626: Fix build/pkgs/libhomfly/distros/debian.txt > 00a2f89e5b Trac #30615: flake8 and other details in posets.py > 5a0e4abce8 Trac #30591: some flake8 cleanup in plane conics > d925f48012 Trac #30565: build/bin/sage-guess-package-system: Fix up > /bin/sh-ification > 31dfd9fd11 Trac #30558: Implement the conjugate of a set partition > 973606c531 Trac #30553: some cleanup (flake8) in poset files > 8c33299b26 Trac #30552: display options for matrices > c19f59acc3 Trac #30545: A 1-dimensional polytope has no edge > 38bab5ad77 Trac #30542: various flake8 fixes > c71679ac49 Trac #30530: some flake8 cleanup in elliptic curve > 6d28b20968 Trac #30508: remove obsolete lazy imports > 2cfbbbeac2 Trac #30471: Change "can not" to "cannot" in many places > 5f84554640 Trac #30466: unicode_art for elements of AffineGroup > 3f22cb3f8e Trac #30462: Dark theme for Three.js viewer > b74b62e57e Trac #30458: Outsource some functions in > bit_vector_operations.cc > 3fdfdd1047 Trac #30457: fix typos in occurrence, occurred, occurring > 394252d1fb Trac #30418: Missing PDF icons in the Sage documentation website > 3db1a2ffb7 Trac #30361: Add pyright config and linting documentation > 538ee1c5e1 Trac #30305: Lifting doesn't work for an augmented valuation > over a number field > 189723087b Trac #30141: Potential good reduction for dynamical systems > 0cdb6c22dd Trac #29246: Improve handling of easy cases in lift_to_sl2z() > b2e2dd8381 Trac #28467: wrong bound in "Cannot compute primes beyond ..." > 0787a77169 Trac #28294: Ordered Set Partition Inversion Statistic > 83063d63e4 Trac #26606: Bug in latex for power series with greek variable > names > 8cbd28fe67 Trac #23174: p and p^n-th roots in function fields > be8479b04d Trac #19120: efficient algorithm to compute continued fraction > of a sum of continued fractions > a0b507b535 Trac #19112: Add a function "isometry" to the quadratic forms > package. > 84fe0c9e67 Trac #30839: Add more conda.txt > 2c69b7dfe1 Trac #30838: Generators for homology of simplicial complexes > c186f8b88a Trac #30834: build/pkgs/sage_sws2rst: Fix metadata > eb04180ce7 Trac #30829: typos found with sage --tox in graphs (3) > 2097d857ca Trac #30828: typos found with sage --tox in graphs (2) > b3f3c553b9 Trac #30827: typos found with sage --tox in graphs (1) > 1d7508b311 Trac #30820: some CI details > 7737bd2409 Trac #30815: better fricas and giac conversion for symbolic > matrices > 3033562322 Trac #30811: Speed up truncation of polynomials > 37dac75a83 Trac #30808: refresh symmetric group algebra > 8d52566195 Trac #30807: refresh partition_algebra.py > b1fa725151 Trac #30841: bootstrap: Do not depend on sage-env, > sage-env-config > fec8cd23b1 Trac #30753: Further improvements in method subgraph > adec03d4b0 Trac #30625: upgrade GMP to version 6.2.0 > 2c87dc16f2 (tag: 9.3.beta0) Updated SageMath version to 9.3.beta0 > > > > -- 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/5d546999-5c87-45c6-a069-1f4df8566540o%40googlegroups.com.
