[MacPorts] #28735: python 2.7 fails to build

MacPorts noreply at macports.org
Fri Mar 11 05:41:32 PST 2011


#28735: python 2.7 fails to build
----------------------------------+-----------------------------------------
 Reporter:  mvr.rennes@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.9.2                                
 Keywords:  python                |        Port:  python27                             
----------------------------------+-----------------------------------------
 When installing python27 (as a dependency for git-core), the build fails
 with an error message about srtp_config.h being missing.

 The build log ends like so (see attached file for full log):
 {{{
 :info:destroot /usr/bin/gcc-4.0 -L/opt/local/lib -arch i386
 -DPYTHONFRAMEWORK='"Python"' -o pythonw ./Tools/pythonw.c -I..
 -I./../Include ../Python.framework/Versions/2.7/Python
 :info:destroot In file included from /usr/local/include/datatypes.h:50,
 :info:destroot                  from /usr/local/include/err.h:49,
 :info:destroot                  from ./Tools/pythonw.c:26:
 :info:destroot /usr/local/include/integers.h:50:67: error: srtp_config.h:
 No such file or directory
 :info:destroot make[1]: *** [pythonw] Error 1
 :info:destroot make: *** [frameworkinstallapps] Error 2
 :info:destroot shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/Python-2.7.1"
 && /usr/bin/make frameworkinstall maninstall MAKE="/usr/bin/make
 CC=/usr/bin/gcc-4.0"
 DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/work/destroot
 " returned error 2
 :error:destroot Target org.macports.destroot returned: shell command
 failed (see log for details)
 :debug:destroot Backtrace: shell command failed (see log for details)
     while executing
 "command_exec destroot"
     (procedure "portdestroot::destroot_main" line 2)
     invoked from within
 "$procedure $targetname"
 :info:destroot Warning: the following items did not execute (for
 python27): org.macports.activate org.macports.destroot
 org.macports.install
 :notice:destroot Log for python27 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python27/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/28735>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list