Ticket #10827 (closed defect: fixed)
BUG: 'port -f -R upgrade' rebuilds too much
| Reported by: | stephen@… | Owned by: | jmr@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.7.0 |
| Component: | base | Version: | 1.4.0 |
| Keywords: | Cc: | jmpp@…, jberry@…, eridius@…, boeyms@… | |
| Port: |
Description
Here's a log (partially completed, and of course I have no idea how much longer it's going to run) of port -f -R upgrade openssl. Both -f and -R are necessary AFAICT because port doesn't have versioned dependencies for at least some packages (eg gettext and libiconv) so upgrading those packages silently breaks others, even with -R, because dyld *does* track library versions, and the upgraded library won't link. This wouldn't be a problem---I'd just have an unupgraded package whose old version probably still works---except that port often has deactivated some library in the process of upgrading and doesn't reactivate it on abort due to build breakage. Thus -f is needed.
Net effect---I don't dare upgrade anything unless I can afford literally days of downtime.
On second thought, it looks like posting the log as text is too much work; I'll cross my fingers and hope there's an opportunity to attach it later.

