[MacPorts] #16260: port rebuilds inactive dependency then can't install it

MacPorts noreply at macports.org
Fri Aug 8 03:02:06 PDT 2008


#16260: port rebuilds inactive dependency then can't install it
-------------------------------------+--------------------------------------
 Reporter:  ryandesign at macports.org  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts base bugs                   
Component:  ports                    |     Version:  1.7.0                                
 Keywords:                           |  
-------------------------------------+--------------------------------------
 I have various versions of freetds installed. They're all deactivated.

 {{{
 $ port installed freetds
 The following ports are currently installed:
   freetds @0.64_1+darwin_9
   freetds @0.64_1+darwin_9+mssql
   freetds @0.82_0+darwin_9
   freetds @0.82_0+darwin_9+mssql
 }}}

 php5 +mssql depends on freetds +mssql. When I try to install php5 +mssql
 it should activate freetds +mssql. But instead it starts trying to build
 freetds, which then fails to activate because it's already installed (just
 inactive).

 {{{
 $ port install php5 +apache2 +mssql
 --->  Fetching freetds
 --->  Verifying checksum(s) for freetds
 --->  Extracting freetds
 --->  Configuring freetds
 --->  Building freetds
 --->  Staging freetds into destroot
 --->  Installing freetds @0.82_0+darwin_9+mssql
 Error: Target org.macports.install returned: Registry error: freetds
 @0.82_0+darwin_9+mssql already registered as installed.  Please uninstall
 it first.
 Error: The following dependencies failed to build: freetds
 Error: Status 1 encountered during processing.
 }}}

 If I manually activate freetds +mssql first, php5 detects the dependency
 and proceeds normally.

 {{{
 $ port activate freetds @0.82_0+darwin_9+mssql
 --->  Activating freetds @0.82_0+darwin_9+mssql
 $ port install php5 +apache2 +mssql
 --->  Fetching php5
 --->  Verifying checksum(s) for php5
 --->  Extracting php5
 ^C
 }}}

 I thought this is what #12013 / r36762 was supposed to address.

 I'm using MacPorts trunk @39108 on Mac OS X 10.5.4 Intel with Xcode 3.1.

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


More information about the macports-tickets mailing list