[MacPorts] #18090: python25 broken after [37817]

MacPorts noreply at macports.org
Sun Jan 18 16:40:31 PST 2009


#18090: python25 broken after [37817]
---------------------------------------------------------------------------+
 Reporter:  rasmus@…                                                       |       Owner:  macports-tickets@…                   
     Type:  defect                                                         |      Status:  new                                  
 Priority:  Normal                                                         |   Milestone:  Port Bugs                            
Component:  ports                                                          |     Version:  1.7.0                                
 Keywords:  python, python25, python2.5, dlopen, environ, patch, portfile  |        Port:                                       
---------------------------------------------------------------------------+
 The merge [37817] broke python25 in the way that the patchfile patch-Misc-
 setuid-prog.c.diff was no longer used. This patch is critical since it
 provides the notorious environ-fix. This patch essentially defines
 environ, which is not present on OS X.

 Without this patch, machine-native extensions referring to environ will
 not load. I.e. you will get this:

 {{{
 #!python
 import _nativemodule
 Traceback...
 ...
 ImportError: dlopen(/opt/local...): Symbol not found: _environ
 }}}

 The required patch is here: [browser:trunk/dports/lang/python25/files
 /patch-Misc-setuid-prog.c.diff at 45618]

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


More information about the macports-tickets mailing list