[MacPorts] #51736: python35 @3.5.2_0 fails to build with macosx_deployment_target 10.7

MacPorts noreply at macports.org
Thu Jun 30 05:27:25 PDT 2016


#51736: python35 @3.5.2_0 fails to build with macosx_deployment_target 10.7
--------------------+--------------------------------
 Reporter:  help@…  |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:  python35
--------------------+--------------------------------
 I'm running OS X 10.10.5 and Xcode 7.2.1 (latest available for Yosemite),
 tested also with Xcode 7.0.1. Error message is as follows (full log is
 attached):
 {{{
 :info:build
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python35/python35/work/Python-3.5.2
 ./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: 25271 Killed: 9
 DYLD_FRAMEWORK_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_python35/python35/work/Python-3.5.2
 ./python.exe -E -S -m sysconfig --generate-posix-vars
 :info:build generate-posix-vars failed
 :info:build make: *** [pybuilddir.txt] Error 1
 }}}
 This happens only with deployment target set to 10.7, any other value (say
 10.6, 10.8 or not set) works fine. It looks like some OS X security
 measure kicks in and kills python.exe, but running "sudo spctl --master-
 disable" didn't change anything. In /var/log/system.log I see the
 following message:
 {{{
 taskgated[97]: no signature for pid=25271 (cannot make code: UNIX[No such
 process])
 }}}
 All in all this looks like Xcode compiler or/and linker bug, but I would
 welcome any advice on this issue.

-- 
Ticket URL: <https://trac.macports.org/ticket/51736>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list