Subject: Re: pkg/21097: runtime dependencies should not be recursively
To: Hubert Feyrer <email@example.com>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 05/08/2003 12:51:00
On Thu, 8 May 2003, Hubert Feyrer wrote:
> On Thu, 8 May 2003, Thomas Klausner wrote:
> > I plan to rip out the parts in bsd.pkg.mk as proposed in PR 21097.
> > Any objections (with arguments)?
> Well, do you know in what places we depend on that behaviour?
> I'm far from it, but a few things I remember:
> - pkg size calculation (for pkg_info -sS) depends on it
"pkg_info -S", as is it is now, isn't all that useful. It's wrong in
detail, because the calculation is made at build time without regard
for the sizes of the dependencies that the user will actually need.
Furthermore, when you talk about packages that top a pyramid of
dependencies, it's not even clear what the value means. Certainly,
the user might like to know how much space he needs to install a given
package with its dependencies, but "pkg_info -S" doesn't give you a
clue in that regard. See PR 11433.
> - pkg_add has a quick check if all depends are non-conflicting,
> withouth possibly downloading things unnecessarily first
What scenario is this defending against? In any case, with
fewer dependencies, there would be both fewer conflicts, and
less opportunites for something not needed to be downloaded.