[MacPorts] #48406: Error spew when cancelling uninstallation that is blocked by another task

MacPorts noreply at macports.org
Sun Jul 19 17:14:08 PDT 2015


#48406: Error spew when cancelling uninstallation that is blocked by another task
--------------------------+--------------------------------
 Reporter:  ryandesign@…  |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  base          |    Version:  2.3.99
 Keywords:                |       Port:
--------------------------+--------------------------------
 I told MacPorts to uninstall inactive ports. This caused a "Waiting for
 lock" message, because I was also installing ports in another terminal
 window. So I cancelled the uninstall operation by pressing Control-C. The
 only output I expected to receive was the two characters "`^C`" but I got
 many lines of output in addition:

 {{{
 $ sudo port uninstall inactive
 Waiting for lock on /opt/local/var/macports/registry/.registry.lock
 ^CSIGINT signal received
     while executing
 "adv-flock $lockfd -exclusive"
     (procedure "registry::exclusive_lock" line 20)
     invoked from within
 "registry::exclusive_lock"
     (procedure "lock_reg_if_needed" line 11)
     invoked from within
 "lock_reg_if_needed $action"
     (procedure "process_cmd" line 25)
     invoked from within
 "process_cmd $remaining_args"
     invoked from within
 "if { [llength $remaining_args] > 0 } {

     # If there are remaining arguments, process those as a command
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 5576)
 $
 }}}

 This is using base version 2.3.99 at revision r138558.

-- 
Ticket URL: <https://trac.macports.org/ticket/48406>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list