[MacPorts] #21885: upgrading to latest python (2.6.3) breaks py26-setuptools for packages with C extensions

MacPorts noreply at macports.org
Fri Apr 16 18:50:40 PDT 2010


#21885: upgrading to latest python (2.6.3) breaks py26-setuptools for packages with
C extensions
----------------------------------+-----------------------------------------
  Reporter:  jabronson@…          |       Owner:  macports-tickets@…                   
      Type:  defect               |      Status:  reopened                             
  Priority:  Normal               |   Milestone:                                       
 Component:  ports                |     Version:  1.8.1                                
Resolution:                       |    Keywords:  distutils263                         
      Port:  py26-setuptools      |  
----------------------------------+-----------------------------------------
Changes (by dweber@…):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Ah, this seems to effect py26-django too.

 {{{
 $ sudo port install py26-django +bash_completion
 Password:
 --->  Computing dependencies for py26-django
 --->  Fetching py26-distribute
 --->  Verifying checksum(s) for py26-distribute
 --->  Extracting py26-distribute
 --->  Configuring py26-distribute
 --->  Building py26-distribute
 --->  Staging py26-distribute into destroot
 --->  Installing py26-distribute @0.6.10_0
 --->  Activating py26-distribute @0.6.10_0
 Error: Target org.macports.activate returned: Image error:
 /opt/local/bin/easy_install-2.6 is being used by the active
 py26-setuptools port.  Please deactivate this port first, or use 'port -f
 activate py26-distribute' to force the activation.
 Error: The following dependencies failed to build: py26-distribute
 Error: Status 1 encountered during processing.
 Before reporting a bug, first run the command again with the -d flag to
 get complete output.
 $ port deps py26-django
 Full Name: py26-django @1.1.1
 Library Dependencies: python26, py26-distribute
 $ port installed python26
 The following ports are currently installed:
   python26 @2.6.5_0+darwin (active)
 $ port installed py26-setuptools
 The following ports are currently installed:
   py26-setuptools @0.6c11_1 (active)
 }}}

 Is there a workaround for this?

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


More information about the macports-tickets mailing list