Skip to content

Commit

Permalink
Trac #31326: macos-11.0: scipy build fails
Browse files Browse the repository at this point in the history
(from #31227)

Affected configurations (From ​https://groups.google.com/g/sage-
release/c/KdSKg6RdZok/m/GXfB1rW1AgAJ)
- local-macos (homebrew-macos, minimal, default, macos-11.0)
​https://github.com/mkoeppe/sage/runs/2103782309 -- Sage installs
python3 from spkg
- local-macos (conda-forge-macos, standard, default, macos-11.0)
​https://github.com/mkoeppe/sage/runs/2103782333 - uses python3 from
conda
- local-macos (homebrew-macos-python3_pythonorg, standard, default,
macos-11.0) ​https://github.com/mkoeppe/sage/runs/2103782375 - uses
somewhat dated python3 from python.org -
​https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg
- another failure report, for a configuration possibly similar to local-
macos (homebrew-macos, minimal, default, macos-11.0) , in #30651:
{{{
      File "/Users/buildbot-
sage/slave/sage_git/build/local/lib/python3.9/site-
packages/numpy/distutils/ccompiler.py", line 90, in <lambda>
        m = lambda self, *args, **kw: func(self, *args, **kw)
      File "/Users/buildbot-
sage/slave/sage_git/build/local/lib/python3.9/site-
packages/numpy/distutils/ccompiler.py", line 657, in
CCompiler_get_version
        version = matcher(output)
      File "/Users/buildbot-
sage/slave/sage_git/build/local/lib/python3.9/site-
packages/numpy/distutils/fcompiler/gnu.py", line 278, in version_match
        v = self.gnu_version_match(version_string)
      File "/Users/buildbot-
sage/slave/sage_git/build/local/lib/python3.9/site-
packages/numpy/distutils/fcompiler/gnu.py", line 80, in
gnu_version_match
        raise ValueError(err + version_string)
    ValueError: A valid Fortran version was not found in this string:
}}}

see also https://github.com/mkoeppe/sage/runs/2103782381

URL: https://trac.sagemath.org/31326
Reported by: mkoeppe
Ticket author(s): Zachary Scherr
Reviewer(s): Matthias Koeppe
  • Loading branch information
Release Manager committed Mar 23, 2021
2 parents ba54691 + 4cc8c4d commit 5e86bf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions build/pkgs/configure/checksums.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
tarball=configure-VERSION.tar.gz
sha1=69e3dffde527833c504246a159deee707b293c26
md5=2bc896e7c3a7188b8ff0b02eaf52cbc2
cksum=1400865248
sha1=bd34f6708458d86ab95ed9ea205cce0d8f23601b
md5=166deb4a21db357bffb9cf6269c0ad98
cksum=2282047075
2 changes: 1 addition & 1 deletion build/pkgs/configure/package-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e18e9db0b62dbc8f531d8891de3777255769ca57
d1ac340e663c6599832adee14b43aee4d231d25f
4 changes: 0 additions & 4 deletions build/pkgs/scipy/spkg-install.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ if [ "$UNAME" = "Darwin" ]; then
unset LAPACK
export LDFLAGS="-bundle -undefined dynamic_lookup $LDFLAGS"
export CPPFLAGS="-D__ACCELERATE__ $CPPFLAGS"
# For building on OS X 11: see https://trac.sagemath.org/ticket/31183.
if [ $MACOSX_VERSION -ge 20 ]; then
export MACOSX_DEPLOYMENT_TARGET=11.0
fi
else
export {ATLAS,PTATLAS,OPENBLAS,MKL,MKLROOT}=None
export LDFLAGS="-shared $LDFLAGS"
Expand Down

0 comments on commit 5e86bf2

Please sign in to comment.