[MacPorts] #58882: Python37 configure script segfaults in generate-posix-vars on macOS 10.15

MacPorts noreply at macports.org
Thu Oct 10 15:46:17 UTC 2019


#58882: Python37 configure script segfaults in generate-posix-vars on macOS 10.15
-----------------------+----------------------
  Reporter:  vdoublie  |      Owner:  jmroot
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  catalina
      Port:  python37  |
-----------------------+----------------------

Comment (by colons):

 Running the App Store version of Xcode 11.1, python37 runs into this. So
 does python27.

 {{{
 :info:build
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python37/python37/work/Python-3.7.4
 ./python.exe -E -S -m sysconfig --generate-posix-vars ;\
 :info:build     if test $? -ne 0 ; then \
 :info:build             echo "generate-posix-vars failed" ; \
 :info:build             rm -f ./pybuilddir.txt ; \
 :info:build             exit 1 ; \
 :info:build     fi
 :info:build /bin/sh: line 1: 25214 Segmentation fault: 11
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python37/python37/work/Python-3.7.4
 ./python.exe -E -S -m sysconfig --generate-posix-vars
 }}}

 {{{
 :info:build
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27
 /work/Python-2.7.16 ./python.exe -E -S -m sysconfig --generate-posix-vars
 ;\
 :info:build     if test $? -ne 0 ; then \
 :info:build             echo "generate-posix-vars failed" ; \
 :info:build             rm -f ./pybuilddir.txt ; \
 :info:build             exit 1 ; \
 :info:build     fi
 :info:build /bin/sh: line 1: 31630 Segmentation fault: 11
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_python27/python27/work/Python-2.7.16
 ./python.exe -E -S -m sysconfig --generate-posix-vars
 :info:build generate-posix-vars failed
 }}}

 I've tried selecting Xcode 10.3, cleaning, and rebuilding, but that
 doesn't seem to change anything.

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


More information about the macports-tickets mailing list