Slow dependency computation
Dan Ports
dports at macports.org
Thu Nov 4 18:51:17 PDT 2010
Today I tried doing a `port install texlive +full` on a system with no
ports installed -- and came to regret this, as it spent the better part
of an hour computing dependencies.
I looked through the 140M debug log, and it looks like _mportispresent
is being called over a million times. That's pretty close to the number
of dependencies reported by port rdeps --full.
I see that mportdepends stops searching recursively when it hits a port
that's already installed. Any reason it can't do the same when it hits
an uninstalled dependency it's already seen?
Dan
--
Dan R. K. Ports MIT CSAIL http://drkp.net/
More information about the macports-dev
mailing list