Subject: Re: Extreme lethargy when dependencies are missing (part 2)
To: None <mcmahill@mtl.mit.edu>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 10/08/2001 13:00:06
On Mon, 8 Oct 2001 mcmahill@mtl.mit.edu wrote:

> > > Uh, no. You figure the depends once, before you do anything in the
> > > DEPEND's directories, and then you do just the thing you need to do in
> > > each DEPEND's directory (in reverse order). No need to recurse for
> > > every target.
>
> I guess I don't quite understand how the implementation would work.  My
> understanding is that the problem is, when a package like gnome has
> several depends which each in turn depend on, for example gtk+, then when
> we descend into each of those we in turn descent into gtk+ thus visiting
> gtk+ multiple times.  What we want to do is avoid visiting any particular
> package more than once.  What I don't quite understand is how/where the
> list of visited packages is stored for access by various make processes.
> I thought you were suggesting keeping this information in a file in the
> top packages' WRKDIR

Yes.

> which is why I asked if this WRKDIR would be passed
> down.  So I'm missing something here (probably just me).

There's nothing to pass down. For each (package,directory) in the
top-level list, you'd change to it and run "make checksum" or "make
no-recurse-check-install" or "make no-recurse-package", as applies.

Frederick