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

MacPorts noreply at macports.org
Sat Dec 18 04:15:06 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 ryankanno):

 I wrote a small script to run in the background that would check out a
 previous portfile, install w/ +universal, output port -vq installed
 python39, then execute the two commands importing subprocess.
 Unfortunately, the previous 3.9 versions exhibited the same behavior w/
 x86_64 success and failing with arm64. I skipped 3.9.1. Apologies for the
 messy / verbose tables, but here's the results. Let me know if there's
 anything else that y'all would like me to do. Thanks again.

 ||= Version =||= Installation command =||= Output of `port -vq installed
 python39` =||= Arch =||= Command =||= Result =||
 || [https://github.com/macports/macports-
 ports/commit/5b97e192c7361c796f7a00ed682d2b85c50f6c74 3.9.2] || `$ port
 install +universal` ||  python39 @3.9.2_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T10:46:45+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` ||  success ||
 || [https://github.com/macports/macports-
 ports/commit/5b97e192c7361c796f7a00ed682d2b85c50f6c74 3.9.2] || `$ port
 install +universal` ||   python39 @3.9.2_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T10:46:45+0900' || arm64  || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'`  || ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||
 || [https://github.com/macports/macports-
 ports/commit/f016205d0d0ced566b6d86c9267a27c99ad92028 3.9.3] || `$ port
 install +universal` ||    python39 @3.9.3_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:03:33+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || success ||
 || [https://github.com/macports/macports-
 ports/commit/f016205d0d0ced566b6d86c9267a27c99ad92028 3.9.3] || `$ port
 install +universal` || python39 @3.9.3_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:03:33+0900' || arm64 || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||
 || [https://github.com/macports/macports-
 ports/commit/78d1ad00507b7ff63604384609d03fbcb1133de4 3.9.4] || `$ port
 install +universal` ||   python39 @3.9.4_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:12:53+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` ||  success ||
 || [https://github.com/macports/macports-
 ports/commit/78d1ad00507b7ff63604384609d03fbcb1133de4 3.9.4] || `$ port
 install +universal` ||   python39 @3.9.4_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:12:53+0900' || arm64 || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'` ||  ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||
 || [https://github.com/macports/macports-
 ports/commit/e40734102716815bc7e2b77bd5b4d4187dec44aa 3.9.5] || `$ port
 install +universal` ||   python39 @3.9.5_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:23:41+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` ||  success ||
 || [https://github.com/macports/macports-
 ports/commit/e40734102716815bc7e2b77bd5b4d4187dec44aa 3.9.5] || `$ port
 install +universal` ||    python39 @3.9.5_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:23:41+0900' || arm64 || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||
 || [https://github.com/macports/macports-
 ports/commit/cbad01743334c2f541da8c1faeaf417ba7f9ddcc 3.9.6] || `$ port
 install +universal` ||   python39 @3.9.6_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:33:02+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` ||  success ||
 || [https://github.com/macports/macports-
 ports/commit/cbad01743334c2f541da8c1faeaf417ba7f9ddcc 3.9.6] || `$ port
 install +universal` ||    python39 @3.9.6_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T11:33:02+0900' || arm64 || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||
 || [https://github.com/macports/macports-
 ports/commit/42bdb0be2d0638c951fc57e98d1fe0f8301733b1 3.9.7] || `$ port
 install +universal` ||   python39 @3.9.7_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T12:05:48+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || success ||
 || [https://github.com/macports/macports-
 ports/commit/42bdb0be2d0638c951fc57e98d1fe0f8301733b1 3.9.7] || `$ port
 install +universal` ||   python39 @3.9.7_0+universal (active)
 requested_variants='+universal' platform='darwin 21' archs='arm64 x86_64'
 date='2021-12-18T12:05:48+0900' || arm64 || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||
 || [https://github.com/macports/macports-
 ports/commit/005f74f4952073ecc65401044cdbbd1a27ff8c8c 3.9.8] || `$ port
 install +universal` ||   python39 @3.9.8_0+lto+optimizations+universal
 (active) requested_variants='+universal' platform='darwin 21' archs='arm64
 x86_64' date='2021-12-18T12:21:15+0900' || x86_64 || `arch -x86_64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || success  ||
 || [https://github.com/macports/macports-
 ports/commit/005f74f4952073ecc65401044cdbbd1a27ff8c8c 3.9.8] || `$ port
 install +universal` ||   python39 @3.9.8_0+lto+optimizations+universal
 (active) requested_variants='+universal' platform='darwin 21' archs='arm64
 x86_64' date='2021-12-18T12:21:15+0900' || arm64 || `arch -arm64
 /opt/local/bin/python3.9 -c 'import subprocess;'` || ImportError: dynamic
 module does not define module export function (PyInit__posixsubprocess) ||

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


More information about the macports-tickets mailing list