[MacPorts] #46733: Multiple definitons of flock TCL command cause problems, e.g., with restore_ports.tcl

MacPorts noreply at macports.org
Mon Feb 2 00:10:08 PST 2015


#46733: Multiple definitons of flock TCL command cause problems, e.g., with
restore_ports.tcl
---------------------+--------------------------------
  Reporter:  mta@…   |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  base    |    Version:  2.3.99
Resolution:          |   Keywords:
      Port:          |
---------------------+--------------------------------

Comment (by cal@…):

 The problem really is the order, in which we load the packages. I'm not
 sure why it differs randomly on some occasions.

 Instead of patching TclX, we should just rename our local copy of flock
 (that has different semantics from the TclX one). If you want to build a
 patch, it's in base/src/pextlib1.0/flock.c, I think.

 Alternatively, we could get rid of our own implementation and use TclX'
 flock instead, but that requires rewriting due to the different usage.

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


More information about the macports-tickets mailing list