[MacPorts] #63730: python27: importing ctypes fails on Monterey / Arm64

MacPorts noreply at macports.org
Sun Oct 31 11:55:21 UTC 2021


#63730: python27: importing ctypes fails on Monterey / Arm64
-----------------------+----------------------
  Reporter:  jonwilts  |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.7.1
Resolution:            |   Keywords:  monterey
      Port:  python27  |
-----------------------+----------------------

Comment (by jonwilts):

 I noticed at the top of the log this message

 {{{
 Header file /opt/local/include/ffi.h does not define LIBFFI_H or
 ffi_wrapper_h
 }}}

 /opt/local/include/ffi.h contains this:

 {{{
 #ifdef __arm64__
 #include "arm64-ffi.h"
 #else
 #include "ppcintel-ffi.h"
 #endif
 }}}

 I've added my /opt/local/include/arm64-ffi.h in case that's useful.

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


More information about the macports-tickets mailing list