Subject: Re: Extreme lethargy when dependencies are missing (part 2)
To: Urban Boquist <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 10/07/2001 16:55:23
On Sun, 7 Oct 2001, Urban Boquist wrote:

> Charles> While I appreciate Todd's intent here, there *has* to be a
> Charles> way to do this without making pkgsrc ungodly slow.
> I think the basic problem that has to be attacked is that each
> dependency is visited over and over again. This quickly leads to
> combinatorial explosion, and not just in theory, as x11/gnome clearly
> shows.

> But the patch below is not a nice and general solution, and it also
> uses a temporary file, which I don't think is "allowed" in pkgsrc (or
> is it)?

There are temporary files all over the place in pkgsrc. The only
problem I see, is I seem to remember that some systems don't have
"grep -q", so it should probably be "grep 2>/dev/null" instead.

> I would like to see some more general solution, something along the
> lines of a "visit all dependencies and do XYZ"-target.

"me too"