[MacPorts] #62893: py39-numpy @1.20.3_0+gfortran+openblas fails to build py39-pyerfa (M1 Big Sur)

MacPorts noreply at macports.org
Fri May 14 17:47:16 UTC 2021


#62893: py39-numpy @1.20.3_0+gfortran+openblas fails to build py39-pyerfa (M1 Big
Sur)
-------------------------+--------------------------------
 Reporter:  Schamschula  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  py-numpy py-pyerfa
-------------------------+--------------------------------
 While building py39-pyerfa only M1 mini, I get the following error:

 {{{
 :info:build running build_ext
 :info:build Traceback (most recent call last):
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/numpy/core/__init__.py", line 22, in <module>
 :info:build     from . import multiarray
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/numpy/core/multiarray.py", line 12, in <module>
 :info:build     from . import overrides
 :info:build   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/numpy/core/overrides.py", line 7, in <module>
 :info:build     from numpy.core._multiarray_umath import (
 :info:build ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/numpy/core/_multiarray_umath.cpython-39-darwin.so, 2):
 Library not loaded: @rpath/libgcc_s.1.1.dylib
 :info:build   Referenced from: /opt/local/lib/libgcc/libgfortran.5.dylib
 :info:build   Reason: image not found
 }}}

 This means there is something wrong with the {{{+gfortran}}} variant of
 {{{py-numpy}}}. This is a similar situation as in
 https://trac.macports.org/ticket/62874 (octave).

 I currently have {{{OpenBLAS @0.3.15_1+gcc10+lapack+native}}} active.  I
 can't install {{{OpenBLAS @0.3.15_1+gcc11+lapack+native}}}. Also see:
 https://trac.macports.org/ticket/62727

 Unfortunately, {{{py39-numpy +gcc10+openblas}}} also fails to build.

-- 
Ticket URL: <https://trac.macports.org/ticket/62893>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list