Opened 5 years ago

Last modified 5 years ago

#59617 new defect

py27-gsl @2.3.0: ImportError: No module named errno

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: reneeotten (Renee Otten)
Port: py-gsl

Description

py27-gsl fails to build:

Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    from gsl_Extension import gsl_Extension
  File "gsl_dist/gsl_Extension.py", line 27, in <module>
    from pygsl.gsl_dist.array_includes import array_include_dirs
  File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-gsl/py27-gsl/work/pygsl-2.3.0/pygsl/__init__.py", line 47, in <module>
    import pygsl.errno
ImportError: No module named errno
Command failed:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-gsl/py27-gsl/work/pygsl-2.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py config 
Exit code: 1

Change History (4)

comment:1 Changed 5 years ago by reneeotten (Renee Otten)

actually none of the subports build on 10.7, it's not only PY27... From the log of py37-gsl it seems to me that the first error is this one, so it could be caused by py-numpy instead.

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 17, 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): Symbol not found: _environ
  Referenced from: /opt/local/lib/libgcc/libgfortran.5.dylib
  Expected in: flat namespace
 in /opt/local/lib/libgcc/libgfortran.5.dylib

comment:2 Changed 5 years ago by reneeotten (Renee Otten)

Cc: reneeotten added

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

okay, so this is the same problem as in ticket #59616

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

The problem you mentioned in comment:1 is the one I reported in #59616, yes. But I do not know whether the one reported in this ticket is the same. The error message is not the same. That is why I reported it separately.

Note: See TracTickets for help on using tickets.