Opened 6 years ago
Last modified 6 years ago
#56730 closed defect
port reclaim fails with circular dependencies — at Initial Version
Reported by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | MacPorts 2.5.3 |
Component: | base | Version: | |
Keywords: | Cc: | ||
Port: |
Description
Recently, port reclaim
added the ability to removed unrequested port.
The procedure loops over every port and decides if it or one of its dependents is requested.
To facilitate this procedure, the ports are put in sorted order.
This works fine if the procedure sort_portlist_by_dependendents
works as advertised.
If there is a circular dependency, then this is not possible.
Some circular dependencies are requested by the user.
For example:
- install
librsvg
- install
adwaita-icon-theme
(depends onlibrsvg
) - install
librsvg +viewer
(depends onadwaita-icon-theme
)
This results in Error: reclaim failed: can't read "isrequested(librsvg)": no such element in array
.
This issue was recently discussed on the mailing list.
Note: See
TracTickets for help on using
tickets.