Opened 4 months ago

Last modified 4 months ago

#62893 assigned defect

py39-numpy @1.20.3_0+gfortran+openblas fails to build py39-pyerfa (M1 Big Sur)

Reported by: Schamschula (Marius Schamschula) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version:
Keywords: BigSur arm64 Cc:
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/", 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/", 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/", 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/, 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 (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:

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

Attachments (1)

pyerfa-main.log (75.5 KB) - added by Schamschula (Marius Schamschula) 4 months ago.

Download all attachments as: .zip

Change History (3)

Changed 4 months ago by Schamschula (Marius Schamschula)

Attachment: pyerfa-main.log added

comment:1 Changed 4 months ago by Schamschula (Marius Schamschula)

Keywords: BigSur arm64 added

comment:2 Changed 4 months ago by Schamschula (Marius Schamschula)

Owner: set to michaelld
Status: newassigned
Note: See TracTickets for help on using tickets.