Skip to content

homebrew-macos-standard: Fix Fortran-related doctest errors #29463

@mkoeppe

Description

@mkoeppe

From #29451:

https://github.com/mkoeppe/sage/runs/559191935

----------------------------------------------------------------------
sage -t src/sage/interfaces/gap.py  # 1 doctest failed
sage -t src/sage/misc/inline_fortran.py  # 3 doctests failed
sage -t src/sage/misc/persist.pyx  # 2 doctests failed
sage -t src/sage/repl/ipython_extension.py  # 4 doctests failed
----------------------------------------------------------------------
      File "/Users/runner/runners/2.165.2/work/sage/sage/.tox/local-homebrew-macos-standard/local/lib/python3.7/site-packages/sage/misc/inline_fortran.py", line 194, in eval
        "failed to compile Fortran code:\n{}".format(exc.output))
    RuntimeError: failed to compile Fortran code:
    b'Could not locate executable g++ -std=gnu++11 -pthread -bundle -undefined dynamic_lookup\nIn file included from /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpjff9tknw/src.macosx-10.15-x86_64-3.7/fortran_modulemodule.c:16:\nIn file included from /var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmpjff9tknw/src.macosx-10.15-x86_64-3.7/fortranobject.h:13:\nIn file included from 

To reproduce (with #29417):

 tox -e local-homebrew-macos-standard -- ptest 

CC: @jhpalmieri @isuruf @dimpase

Component: porting

Reviewer: John Palmieri

Issue created by migration from https://trac.sagemath.org/ticket/29463

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions