[MacPorts] #63440: py36-cffi @1.14.6: Library not loaded: /opt/local/lib/libffi.7.dylib (was: py36-cffi 1.14.6: build fails)
MacPorts
noreply at macports.org
Fri Sep 3 22:52:43 UTC 2021
#63440: py36-cffi @1.14.6: Library not loaded: /opt/local/lib/libffi.7.dylib
---------------------------+--------------------
Reporter: odysseus9672 | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: duplicate | Keywords:
Port: py36-cffi |
---------------------------+--------------------
Changes (by ryandesign):
* status: new => closed
* resolution: => duplicate
Old description:
> Attempting to upgrade py36-cffi, and the build fails. Here's the part of
> the build log I think is relevant:
>
> :debug:build system: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> cffi/py36-cffi/work/cffi-1.14.6" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
> setup.py --no-user-cfg build -j12
> :info:build Traceback (most recent call last):
> :info:build File "setup.py", line 154, in <module>
> :info:build from setuptools import setup, Distribution, Extension
> :info:build File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /site-packages/setuptools/__init__.py", line 18, in <module>
> :info:build from setuptools.dist import Distribution
> :info:build File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /site-packages/setuptools/dist.py", line 38, in <module>
> :info:build from setuptools import windows_support
> :info:build File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /site-packages/setuptools/windows_support.py", line 2, in <module>
> :info:build import ctypes
> :info:build File
> "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ctypes/__init__.py",
> line 7, in <module>
> :info:build from _ctypes import Union, Structure, Array
> :info:build ImportError:
> dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /lib-dynload/_ctypes.cpython-36m-darwin.so, 2): Library not loaded:
> /opt/local/lib/libffi.7.dylib
> :info:build Referenced from:
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
> /lib-dynload/_ctypes.cpython-36m-darwin.so
> :info:build Reason: image not found
> :info:build Command failed: cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_macports_release_tarballs_ports_python_py-
> cffi/py36-cffi/work/cffi-1.14.6" &&
> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
> setup.py --no-user-cfg build -j12
New description:
Attempting to upgrade py36-cffi, and the build fails. Here's the part of
the build log I think is relevant:
{{{
:debug:build system: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
cffi/py36-cffi/work/cffi-1.14.6" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
setup.py --no-user-cfg build -j12
:info:build Traceback (most recent call last):
:info:build File "setup.py", line 154, in <module>
:info:build from setuptools import setup, Distribution, Extension
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/setuptools/__init__.py", line 18, in <module>
:info:build from setuptools.dist import Distribution
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/setuptools/dist.py", line 38, in <module>
:info:build from setuptools import windows_support
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/site-packages/setuptools/windows_support.py", line 2, in <module>
:info:build import ctypes
:info:build File
"/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/ctypes/__init__.py",
line 7, in <module>
:info:build from _ctypes import Union, Structure, Array
:info:build ImportError:
dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/lib-dynload/_ctypes.cpython-36m-darwin.so, 2):
:info:build Referenced from:
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
/lib-dynload/_ctypes.cpython-36m-darwin.so
:info:build Reason: image not found
:info:build Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
cffi/py36-cffi/work/cffi-1.14.6" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
setup.py --no-user-cfg build -j12
}}}
--
Comment:
It's not a side effect of #63437; it ''is'' #63437.
--
Ticket URL: <https://trac.macports.org/ticket/63440#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list