[MacPorts] #66485: While I am installing port 1 I cannot build port 2

MacPorts noreply at macports.org
Fri Dec 16 12:44:50 UTC 2022


#66485: While I am installing port 1 I cannot build port 2
--------------------------+--------------------
  Reporter:  ballapete    |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.8.0
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Comment (by jmroot):

 The diffutils port has a number of dependencies. Checking whether they are
 installed, installing them, and doing the build that uses them have to be
 done with the lock held, otherwise another port process could install or
 uninstall any of those dependencies after they are checked for, resulting
 in incorrect behaviour.

 If you want to be responsible for making sure this doesn't happen, you
 could edit `${prefix}/libexec/macports/lib/registry2.0/registry.tcl` and
 edit the `exclusive_lock` and `exclusive_unlock` procs to do nothing. But
 if it breaks, you get to keep the pieces.

-- 
Ticket URL: <https://trac.macports.org/ticket/66485#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list