[MacPorts] #59616: py37-numpy: Symbol not found: _environ, Referenced from: libgfortran.5.dylib, Expected in: flat namespace

MacPorts noreply at macports.org
Tue Mar 23 13:28:21 UTC 2021


#59616: py37-numpy: Symbol not found: _environ, Referenced from:
libgfortran.5.dylib, Expected in: flat namespace
-------------------------+-----------------------
  Reporter:  ryandesign  |      Owner:  michaelld
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.6.2
Resolution:              |   Keywords:
      Port:  py-numpy    |
-------------------------+-----------------------

Comment (by RobK88):

 FYI -- I am able to build py39-numpy and py-numpy on Lion (10.7.5) without
 any issues.


 {{{
 bash-3.2$ sudo port clean  py39-numpy
 --->  Cleaning py39-numpy

 bash-3.2$ sudo port install  py39-numpy
 --->  Computing dependencies for py39-numpy
 --->  Fetching distfiles for py39-numpy
 --->  Verifying checksums for py39-numpy
 --->  Extracting py39-numpy
 --->  Applying patches to py39-numpy
 --->  Configuring py39-numpy
 --->  Building py39-numpy
 --->  Staging py39-numpy into destroot
 --->  Installing py39-numpy @1.20.1_0+gfortran+openblas
 --->  Activating py39-numpy @1.20.1_0+gfortran+openblas
 --->  Cleaning py39-numpy
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 bash-3.2$
 bash-3.2$ sudo port install  py-numpy
 --->  Computing dependencies for py-numpy
 --->  Fetching distfiles for py-numpy
 --->  Verifying checksums for py-numpy
 --->  Extracting py-numpy
 --->  Configuring py-numpy
 --->  Building py-numpy
 --->  Staging py-numpy into destroot
 --->  Installing py-numpy @1.20.1_0
 --->  Activating py-numpy @1.20.1_0
 --->  Cleaning py-numpy
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 bash-3.2$
 }}}

 But I am getting a similar error when trying to build py39-matplotlib on
 Lion.  Perhaps, it is Fortran related as well.
 See https://trac.macports.org/ticket/62523

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


More information about the macports-tickets mailing list