[MacPorts] #59445: restore_ports.tcl script fails with the error "infinite loop" (deps cycle)
MacPorts
noreply at macports.org
Wed Oct 23 11:49:12 UTC 2019
#59445: restore_ports.tcl script fails with the error "infinite loop" (deps cycle)
---------------------+--------------------
Reporter: JDLH | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.6.2
Resolution: | Keywords:
Port: |
---------------------+--------------------
Comment (by JDLH):
Sure enough, once I got past the problem of the `./restore_ports.tcl`
script failing with an infinite loop, I discovered that `port install` got
stuck trying to install ports `librsvg +viewer` and `adwaita-icon-theme`.
I believe this is due to a dependency cycle between those ports.
#59454 tracks the problem of a dependency cycle between `librsvg +viewer`
and `adwaita-icon-theme`. Fixing that bug will resolve this ticket.
It would be nice if the `restore_ports.tcl` script would give better
information than merely "infinite loop", in the presence of a dependency
cycle. It could print an additional message, "This may be due to a
dependency cycle in the ports list.", after the "infinite loop" message.
It could print a list of ports in $newList and their dependencies, to help
the user determine which ports formed the cycle. It could even add code to
detect a cycle (though really, the base would be a better place to detect
and report cyles, as mentioned in #59289).
--
Ticket URL: <https://trac.macports.org/ticket/59445#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list