Opened 3 years ago

Closed 3 years ago

#62893 closed defect (fixed)

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

Description

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.

Attachments (1)

pyerfa-main.log (75.5 KB) - added by Schamschula (Marius Schamschula) 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by Schamschula (Marius Schamschula)

Attachment: pyerfa-main.log added

comment:1 Changed 3 years ago by Schamschula (Marius Schamschula)

Keywords: BigSur arm64 added

comment:2 Changed 3 years ago by Schamschula (Marius Schamschula)

Owner: set to michaelld
Status: newassigned

comment:3 Changed 3 years ago by reneeotten (Renee Otten)

is this still an issue or has this been resolved by now?

comment:4 Changed 3 years ago by Schamschula (Marius Schamschula)

Resolution: fixed
Status: assignedclosed

py39-pyerfa has since installed cleanly.

Note: See TracTickets for help on using tickets.