[MacPorts] #60337: uhd @3.15.0.0_1 fails to build on catalina

MacPorts noreply at macports.org
Fri Apr 10 01:39:36 UTC 2020


#60337: uhd @3.15.0.0_1 fails to build on catalina
---------------------------+-----------------------
  Reporter:  nebukadnezar  |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.6.2
Resolution:                |   Keywords:
      Port:  uhd           |
---------------------------+-----------------------

Comment (by nebukadnezar):

 Thanks Michael for looking into this.

 I've done the clean/selfupdate/install and repeated the uhd install. It
 fails at the same step as before, I've attached the full build log.

 python 3.7.7 is the version being used for the build according to the log.

 running /opt/local/bin/python3.7 and trying to import numpy produces this
 error:

 {{{
 >>> import numpy
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/core/__init__.py", line 24, in <module>
     from . import multiarray
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/core/multiarray.py", line 14, in <module>
     from . import overrides
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/core/overrides.py", line 7, in <module>
     from numpy.core._multiarray_umath import (
 ImportError:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/core/_multiarray_umath.cpython-37m-darwin.so, 2):
 Library not loaded: /opt/local/lib/libgcc/libgfortran.5.dylib
   Referenced from: /opt/local/lib/libopenblas-r1.dylib
   Reason: image not found

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/__init__.py", line 142, in <module>
     from . import core
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/core/__init__.py", line 54, in <module>
     raise ImportError(msg)
 ImportError:

 IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!

 Importing the numpy c-extensions failed.
 - Try uninstalling and reinstalling numpy.
 - If you have already done that, then:
   1. Check that you expected to use Python3.7 from
 "/opt/local/bin/python3.7",
      and that you have no directories in your PATH or PYTHONPATH that can
      interfere with the Python and numpy version "1.18.2" you're trying to
 use.
   2. If (1) looks fine, you can open a new issue at
      https://github.com/numpy/numpy/issues.  Please include details on:
      - how you installed Python
      - how you installed numpy
      - your operating system
      - whether or not you have multiple versions of Python installed
      - if you built from source, your compiler versions and ideally a
 build log

 - If you're working with a numpy git repository, try `git clean -xdf`
   (removes all files not under version control) and rebuild numpy.

 Note: this error has many possible causes, so please don't comment on
 an existing issue about this - open a new one instead.

 Original error was:
 dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7
 /site-packages/numpy/core/_multiarray_umath.cpython-37m-darwin.so, 2):
 Library not loaded: /opt/local/lib/libgcc/libgfortran.5.dylib
   Referenced from: /opt/local/lib/libopenblas-r1.dylib
   Reason: image not found
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60337#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list