[MacPorts] #19935: incorrect locking policy with deactivate

MacPorts noreply at macports.org
Sat Jun 13 10:21:38 PDT 2009


#19935: incorrect locking policy with deactivate
---------------------------------+------------------------------------------
 Reporter:  vinc17@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  base                 |     Version:  1.7.1                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------
 I've tried to upgrade two ports A and B at the same time with:
 {{{
 $ sudo port -v upgrade A
 $ sudo port -v upgrade B
 }}}
 in two different shell sessions. Port B depends on A. As expected, the
 upgrade of port B waited for a lock while the new version of port A was
 being built. But the following problem occurred: both occurrences of the
 port command tried to deactivate port A at the same time, so that one of
 the deactivate operations failed.

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


More information about the macports-tickets mailing list