[MacPorts] #63782: python3{8, 9, 10} +universal: ImportError: dynamic module does not define module export function (PyInit__posixsubprocess)

MacPorts noreply at macports.org
Thu Dec 30 01:39:07 UTC 2021


#63782: python3{8,9,10} +universal: ImportError: dynamic module does not define
module export function (PyInit__posixsubprocess)
------------------------------------------+----------------------------
  Reporter:  casr                         |      Owner:  (none)
      Type:  defect                       |     Status:  new
  Priority:  Normal                       |  Milestone:
 Component:  ports                        |    Version:
Resolution:                               |   Keywords:  monterey arm64
      Port:  python38 python39 python310  |
------------------------------------------+----------------------------

Comment (by jmroot):

 Not removing the -arch flags means all modules will be always be built for
 exactly the same archs as python (can't be built non-universal), so yes,
 it's a problem. The correct fix is to not rebuild the things in the
 destroot phase (without -arch flags) that have already been built in the
 build phase (with -arch flags).

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


More information about the macports-tickets mailing list