need per-port locking, not just per-target
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.
Change History (4)
Keywords: |
lock added
|
Milestone: |
→ MacPorts Future
|
Summary: |
incorrect locking policy with deactivate →
need per-port locking, not just per-target
|
Milestone: |
MacPorts Future →
MacPorts 1.9.2
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Has duplicate #24858.