#63440 closed defect (duplicate)
py36-cffi @1.14.6: Library not loaded: /opt/local/lib/libffi.7.dylib
Reported by: | odysseus9672 (Sean Lake) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | py36-cffi |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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
Change History (4)
comment:1 Changed 3 years ago by odysseus9672 (Sean Lake)
comment:2 Changed 3 years ago by reneeotten (Renee Otten)
this is likely a side-effect of 63437, after the update of {{libffi}}}. Until that is fixed, you can do sudo port selfupdate && sudo port upgrade outdated
- that will likely tell you at the end that some ports are broken and need to be rebuild. Doing that locally on your computer should -hopefully- get you back to working situation.
comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Summary: | py36-cffi 1.14.6: build fails → py36-cffi @1.14.6: Library not loaded: /opt/local/lib/libffi.7.dylib |
comment:4 Changed 3 years ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
Note: See
TracTickets for help on using
tickets.
Forgot to add: this is on OS X 10.15.7 with Xcode and command line tools 11.5.