I should also mention that I have built every beta from scratch for Python 2 and 3 for quite a while, and these failures are new. So if the gcc in homebrew is getting picked up, it's because of some new change in Sage.
On Sunday, March 29, 2020 at 10:01:31 PM UTC-7, Dima Pasechnik wrote: > > Could it be that gcc in Homebrew gets picked to compile C/C++ code? > > On Mon, Mar 30, 2020 at 12:36 PM John H Palmieri <[email protected] > <javascript:>> wrote: > > > > On OS X with a homebrew installation of Python 3.7.7 I get some > failures, mostly to do with pari, including messages like this: > > > > PARI/GP ERROR: > > *** bug in PARI/GP (Segmentation Fault), please report. > > > > > > and this: > > > > fatal error: 'gmp.h' file not found > > #include "gmp.h" > > ^~~~~~~ > > 1 error generated. > > > > and this: > > > > RuntimeError: command 'gcc' failed with exit status 1 > > ld: library not found for -lmpfr > > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > > > "System" packages being used, according to config.log: > > > > boost, boost_cropped, bzip2, cmake, curl, freetype, gcc, gfortran, git, > gmp, iconv, isl, libffi, libgd, libpng, mpc, mpfi, mpfr, mpir, ncurses, > ninja_build, patch, pcre,pkgconf, python, sqlite, xz, yasm, zeromq, zlib > > > > gsl, openblas, r, and readline are also installed via homebrew, but > ./configure doesn't seem to like them. > > > > Failures: > > > > ---------------------------------------------------------------------- > > sage -t --long --warn-long 72.2 > src/sage/schemes/elliptic_curves/ell_number_field.py # 19 doctests failed > > sage -t --long --warn-long 72.2 > src/sage/schemes/elliptic_curves/ell_rational_field.py # 31 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/misc/sagedoc.py # 2 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/doctest/sources.py # 1 doctest > failed > > sage -t --long --warn-long 72.2 > src/sage/schemes/elliptic_curves/height.py # 6 doctests failed > > sage -t --long --warn-long 72.2 src/sage/symbolic/expression.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 > src/sage/tests/books/computational-mathematics-with-sagemath/integration_doctest.py > > # 9 doctests failed > > sage -t --long --warn-long 72.2 src/sage/tests/cmdline.py # 7 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/modular/modform/element.py # > 44 doctests failed > > sage -t --long --warn-long 72.2 > src/sage/rings/number_field/number_field.py # 2 doctests failed > > sage -t --long --warn-long 72.2 src/sage/combinat/tableau_tuple.py # 4 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/arith/misc.py # 8 doctests > failed > > sage -t --long --warn-long 72.2 > src/sage/modular/modform_hecketriangle/readme.py # 20 doctests failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/maxima_abstract.py > # 3 doctests failed > > sage -t --long --warn-long 72.2 src/sage/modular/abvar/abvar.py # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/structure/element.pyx # 44 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/modular/abvar/lseries.py # 11 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/doctest/forker.py # 1 doctest > failed > > sage -t --long --warn-long 72.2 src/sage/misc/sageinspect.py # 35 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/calculus/calculus.py # 4 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/quadratic_forms/genera/genus.py > # 4 doctests failed > > sage -t --long --warn-long 72.2 > src/sage/geometry/polyhedron/combinatorial_polyhedron/conversions.pyx # 24 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/graphs/connectivity.pyx # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/misc/cachefunc.pyx # 54 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/misc/cython.py # 19 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/plot/line.py # 2 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/modular/modform/constructor.py > # 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/misc/randstate.pyx # 24 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/modules/free_module_element.pyx > # 3 doctests failed > > sage -t --long --warn-long 72.2 src/sage/schemes/elliptic_curves/BSD.py > # 3 doctests failed > > sage -t --long --warn-long 72.2 src/sage/combinat/partition_tuple.py # > 8 doctests failed > > sage -t --long --warn-long 72.2 > src/doc/en/thematic_tutorials/explicit_methods_in_number_theory/elliptic_curves.rst > > # 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/repl/ipython_extension.py # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/expect.py # 3 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/gp.py # 110 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/lfunctions/zero_sums.pyx # 3 > doctests failed > > sage -t --long --warn-long 72.2 > src/sage/rings/polynomial/polynomial_ring.py # 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/parallel/decorate.py # 7 > doctests failed > > sage -t --long --warn-long 72.2 > src/sage/schemes/elliptic_curves/lseries_ell.py # 6 doctests failed > > sage -t --long --warn-long 72.2 > src/sage/schemes/elliptic_curves/gp_simon.py # 5 doctests failed > > sage -t --long --warn-long 72.2 src/sage/features/__init__.py # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/matrix/matrix0.pyx # 2 > doctests failed > > sage -t --long --warn-long 72.2 > src/sage/modular/modform_hecketriangle/element.py # 29 doctests failed > > sage -t --long --warn-long 72.2 > src/sage/groups/perm_gps/permgroup_element.pyx # 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/structure/parent.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/tests/parigp.py # 1 doctest > failed > > sage -t --long --warn-long 72.2 src/sage/ext/memory_allocator.pxd # 3 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/ext/memory_allocator.pyx # 6 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/arith/long.pxd # 14 doctests > failed > > sage -t --long --warn-long 72.2 > src/sage/schemes/elliptic_curves/period_lattice.py # 3 doctests failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/interface.py # 23 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/tests.py # 3 > doctests failed > > sage -t --long --warn-long 72.2 > src/sage/geometry/polyhedron/combinatorial_polyhedron/polyhedron_face_lattice.pyx > > # 9 doctests failed > > sage -t --long --warn-long 72.2 src/sage/structure/factory.pyx # 8 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/cpython/cython_metaclass.pyx # > 4 doctests failed > > sage -t --long --warn-long 72.2 src/sage/cpython/getattr.pyx # 4 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/rings/real_mpfr.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/lfunctions/dokchitser.py # 71 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/rings/complex_number.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/misc/superseded.py # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/libs/pynac/pynac.pxd # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/libs/pynac/pynac.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/misc/lazy_attribute.pyx # 3 > doctests failed > > sage -t --long --warn-long 72.2 > src/sage/modular/modform/l_series_gross_zagier.py # 6 doctests failed > > sage -t --long --warn-long 72.2 src/sage/functions/error.py # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/misc/inherit_comparison.pyx # > 5 doctests failed > > sage -t --long --warn-long 72.2 src/sage/matrix/matrix1.pyx # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/rings/integer_fake.pxd # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/misc/session.pyx # 2 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/misc/misc.py # 16 doctests > failed > > sage -t --long --warn-long 72.2 > src/doc/en/thematic_tutorials/explicit_methods_in_number_theory/nf_introduction.rst > > # 1 doctest failed > > sage -t --long --warn-long 72.2 > src/sage/geometry/polyhedron/combinatorial_polyhedron/list_of_faces.pyx # > 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/tests/benchmark.py # 10 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/docs/instancedoc.pyx # 4 > doctests failed > > sage -t --long --warn-long 72.2 src/doc/fr/tutorial/interfaces.rst # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/doc/de/tutorial/interfaces.rst # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/symbolic/constants.py # 4 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/libs/glpk/error.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/quit.py # 10 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/repl/load.py # 2 doctests > failed > > sage -t --long --warn-long 72.2 src/doc/ja/tutorial/interfaces.rst # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/doc/ru/tutorial/interfaces.rst # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/doc/en/tutorial/interfaces.rst # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/doc/pt/tutorial/interfaces.rst # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/cpython/wrapperdescr.pxd # 6 > doctests failed > > sage -t --long --warn-long 72.2 > src/sage/rings/padics/padic_ZZ_pX_CR_element.pyx # 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/lfunctions/pari.py # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/misc/nested_class.pyx # 6 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/cpython/string.pyx # 1 doctest > failed > > sage -t --long --warn-long 72.2 src/sage/structure/parent_old.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 > src/sage/rings/padics/padic_ZZ_pX_CA_element.pyx # 1 doctest failed > > sage -t --long --warn-long 72.2 > src/sage/rings/finite_rings/element_pari_ffelt.pyx # 6 doctests failed > > sage -t --long --warn-long 72.2 > src/sage/rings/padics/padic_ZZ_pX_FM_element.pyx # 1 doctest failed > > sage -t --long --warn-long 72.2 src/sage/modular/modform/eis_series.py > # 6 doctests failed > > sage -t --long --warn-long 72.2 src/sage/rings/complex_double.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 > src/doc/en/thematic_tutorials/explicit_methods_in_number_theory/l_series.rst > # 3 doctests failed > > sage -t --long --warn-long 72.2 src/sage/quadratic_forms/binary_qf.py # > 2 doctests failed > > sage -t --long --warn-long 72.2 src/sage/rings/real_double.pyx # 1 > doctest failed > > sage -t --long --warn-long 72.2 src/sage/misc/sage_eval.py # 5 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/lfunctions/lcalc.py # 3 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/matrix/tests.py # 2 doctests > failed > > sage -t --long --warn-long 72.2 src/sage/modular/buzzard.py # 2 > doctests failed > > sage -t --long --warn-long 72.2 src/sage/cpython/debug.pyx # 1 doctest > failed > > sage -t --long --warn-long 72.2 src/sage/interfaces/mathematica.py # 1 > doctest failed > > ---------------------------------------------------------------------- > > > > For what it's worth, a Python 2 build on the same machine had no doctest > failures. It built its own Python 3 rather than using the system one. > > > > > > > > > > On Sunday, March 29, 2020 at 12:50:19 PM UTC-7, Matthias Köppe wrote: > >> > >> On Sunday, March 29, 2020 at 8:59:43 AM UTC-4, 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 > >>> > >>> I don't see any major issues for 9.1 any more, so we should soon have > the first rc. If you have anything that you thing should go in then now is > the time to finish it up ;-) > >>> > >>> 6a4580546f (tag: 9.1.beta9, trac/develop) Updated SageMath version to > 9.1.beta9 > >> > >> > >> > >> Let me remark that this is the first beta that tries to use the system > python3 in a venv (#27824) instead of building our own copy of python3. > Tests of building from scratch or (after "make python3-clean") would be > valuable. > >> > >> > >> I ran tests (make build ptest) at > https://github.com/mkoeppe/sage/actions/runs/65613035 . > >> Full logs for all builds are available at this link. > >> > >> Debian (jessie/buster/bullseye/sid), Ubuntu > (trusty/xenial/bionic/eoan/focal)m and LinuxMint (19.3) are mostly clean. > >> > >> Some of the doctest failures are likely known to distribution packagers > already. If fixes for these doctests are available already, now it's time > to upstream them. > >> > >> Some doctest failures, for example ubuntu-bionic-standard ( > https://github.com/mkoeppe/sage/runs/542655815): > >> sage -t src/sage/interfaces/r.py # 1 doctest failed > >> sage -t src/sage/interfaces/tachyon.py # 1 doctest failed > >> sage -t src/sage/libs/glpk/error.pyx # 1 doctest failed > >> sage -t src/sage/numerical/backends/glpk_backend.pyx # 1 doctest > failed > >> sage -t src/sage/tests/cmdline.py # 3 doctests failed > >> > >> ubuntu-eoan-standard > >> https://github.com/mkoeppe/sage/runs/542655826 > >> sage -t src/sage/interfaces/giac.py # 2 doctests failed > >> sage -t src/sage/interfaces/r.py # 1 doctest failed > >> sage -t src/sage/interfaces/tachyon.py # 1 doctest failed > >> sage -t src/sage/libs/eclib/interface.py # 1 doctest failed > >> sage -t src/sage/libs/glpk/error.pyx # 1 doctest failed > >> sage -t src/sage/numerical/backends/glpk_backend.pyx # 1 doctest > failed > >> sage -t src/sage/tests/cmdline.py # 3 doctests failed > >> > >> debian-buster-standard (https://github.com/mkoeppe/sage/runs/542655851) > > >> sage -t src/sage/combinat/tutorial.py # 2 doctests failed > >> sage -t src/sage/interfaces/ecm.py # 3 doctests failed > >> sage -t src/sage/interfaces/r.py # 1 doctest failed > >> sage -t src/sage/interfaces/tachyon.py # 1 doctest failed > >> sage -t src/sage/libs/glpk/error.pyx # 1 doctest failed > >> sage -t src/sage/libs/libecm.pyx # 1 doctest failed > >> sage -t src/sage/numerical/backends/glpk_backend.pyx # 1 doctest > failed > >> sage -t src/sage/rings/finite_rings/element_pari_ffelt.pyx # 1 doctest > failed > >> sage -t src/sage/rings/padics/padic_lattice_element.py # 3 doctests > failed > >> sage -t > src/sage/schemes/hyperelliptic_curves/hyperelliptic_finite_field.py # 2 > doctests failed > >> sage -t src/sage/tests/book_stein_ent.py # 1 doctest failed > >> sage -t > src/sage/tests/books/computational-mathematics-with-sagemath/combinat_doctest.py > > # 2 doctests failed > >> sage -t src/sage/tests/cmdline.py # 3 doctests failed > >> > >> debian-bullseye-standard ( > https://github.com/mkoeppe/sage/runs/542655863) > >> sage -t src/sage/interfaces/r.py # 1 doctest failed > >> sage -t src/sage/interfaces/tachyon.py # 1 doctest failed > >> sage -t src/sage/lfunctions/dokchitser.py # 2 doctests failed > >> sage -t src/sage/lfunctions/pari.py # 1 doctest failed > >> sage -t src/sage/libs/glpk/error.pyx # 1 doctest failed > >> sage -t src/sage/interfaces/maxima.py # Timed out > >> sage -t src/sage/numerical/backends/glpk_backend.pyx # 1 doctest > failed > >> sage -t src/sage/rings/number_field/number_field.py # 8 doctests > failed > >> sage -t src/sage/rings/number_field/number_field_ideal.py # 2 doctests > failed > >> sage -t src/sage/rings/number_field/unit_group.py # 1 doctest failed > >> sage -t src/sage/rings/padics/padic_lattice_element.py # 3 doctests > failed > >> sage -t src/sage/rings/polynomial/polynomial_quotient_ring.py # 2 > doctests failed > >> sage -t src/sage/rings/number_field/number_field_element.pyx # Timed > out > >> sage -t src/sage/schemes/elliptic_curves/ell_number_field.py # 3 > doctests failed > >> sage -t src/sage/schemes/elliptic_curves/height.py # 6 doctests failed > >> sage -t src/sage/schemes/plane_conics/con_number_field.py # 1 doctest > failed > >> sage -t src/sage/tests/cmdline.py # 3 doctests failed > >> > >> > >> Fedora (26-32), Centos (7-8): > >> > >> Fedora 26: clean > >> > >> Fedora 27, 28, 29: Critical test failures in sage.combinat, likely > because of symmetrica https://trac.sagemath.org/ticket/29405 > >> > >> Fedora 30 and 31: Doctest build error related to eclib > >> > >> Fedora 32: Build errors with various packages. Fedora 32 already ships > gcc 10! > >> > >> Centos 7 and 8: clean > >> > >> > >> Arch Linux: clean > >> > >> Slackware: Build error with freetype; > https://trac.sagemath.org/ticket/29373 needs review > >> > >> macOS: > >> > >> homebrew-macos-minimal: > >> sage -t src/sage/interfaces/gap.py # 1 doctest failed > >> sage -t src/sage/rings/padics/padic_lattice_element.py # 3 doctests > failed > >> sage -t src/sage/sets/recursively_enumerated_set.pyx # 2 doctests > failed > >> > >> homebrew-macos-standard: > >> pynac build error - https://trac.sagemath.org/ticket/29404 needs > review > >> > >> homebrew-conda-forge-minimal: > >> gfan build error - https://trac.sagemath.org/ticket/28984 > >> > >> homebrew-conda-forge-standard: > >> numpy build error > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > > -- > > 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] <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-release/15dff294-6f9b-4f86-a171-5b8d54fd1c85%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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/bca9ad32-ca65-4ca5-a159-e1f97627d087%40googlegroups.com.
