Ticket #16260 (closed defect: fixed)
port rebuilds inactive dependency then can't install it
| Reported by: | ryandesign@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.8.0 |
| Component: | base | Version: | 1.7.0 |
| Keywords: | Cc: | jmr@… | |
| Port: |
Description
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.
Change History
comment:2 Changed 4 years ago by toby@…
- Milestone changed from MacPorts base bugs to MacPorts Future
Milestone MacPorts base bugs deleted
comment:3 in reply to: ↑ description Changed 4 years ago by jmr@…
Replying to ryandesign@…:
I thought this is what #12013 / r36762 was supposed to address.
Nope, that was upgrade, this is install.
Note: See
TracTickets for help on using
tickets.

