[MacPorts] #54700: Python36 abends when importing struct; unallocated pointer being freed

MacPorts noreply at macports.org
Thu Aug 31 18:12:33 UTC 2017


#54700: Python36 abends when importing struct; unallocated pointer being freed
-----------------------+----------------------------
  Reporter:  jhelm     |      Owner:  jyrkiwahlstedt
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.4.1
Resolution:            |   Keywords:
      Port:  python36  |
-----------------------+----------------------------

Comment (by jhelm):

 Thank you Frank. I upgraded to xcode 8.2.1 (8C1002) and verified the
 compiler version to be

 {{{
 jlh-MacBook-Pro:fbaNG01 jlh$ cc --version
 Apple LLVM version 8.0.0 (clang-800.0.42.1)
 Target: x86_64-apple-darwin15.6.0
 Thread model: posix
 InstalledDir:
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
 }}}

 I uninstalled and reinstalled python36, ran 'port diagnose', and then ran
 'sudo port -nR upgrade --force python36' to force a rebuild.   I still get
 the error.

 Could my path or environment be wrong? Here's echo $PATH
 {{{
 /opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/MacGPG2/bin:/Applications/Postgres.app/Contents/Versions/latest/bin
 }}}
 I won't spam you with the environment, but I can see anything egregious.

 Finally I've installed python34, python33, and python31; they all import
 struct successfully.

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


More information about the macports-tickets mailing list