[MacPorts] #10827: BUG: 'port -f -R upgrade' rebuilds too much

MacPorts noreply at macports.org
Mon May 19 07:44:39 PDT 2008


#10827: BUG: 'port -f -R upgrade' rebuilds too much
---------------------------------+------------------------------------------
  Reporter:  stephen at xemacs.org  |       Owner:  jmr at macports.org  
      Type:  defect              |      Status:  assigned          
  Priority:  Normal              |   Milestone:  MacPorts base bugs
 Component:  base                |     Version:                    
Resolution:                      |    Keywords:                    
---------------------------------+------------------------------------------
Changes (by jmr at macports.org):

 * cc: jmr at macports.org (removed)
  * owner:  macports-tickets at lists.macosforge.org => jmr at macports.org
  * status:  new => assigned
  * summary:  BUG: 'port -f upgrade' rebuilds too much => BUG: 'port -f -R
              upgrade' rebuilds too much

Comment:

 OK, the proper fix isn't to make -R imply -n. It is to turn off -R for the
 dependencies of the requested port. We want to upgrade its dependents, not
 its dependencies' dependents. The attached patch does this, and can make a
 huge difference to the amount of upgrade checks (which are all actual
 rebuilds when using -f).

 The other thing to do to eliminate the last of the unnecessary upgrading
 would be to use the depscache for dependents as well as dependencies.

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


More information about the macports-tickets mailing list