Re: A tool to help making (build) dependencies right.
On Wed, 13 Jun 2001, Julian Gilbey wrote:
> On Wed, Jun 13, 2001 at 10:37:30AM +0200, Wouter Verhelst wrote:
> > This thing is just plain *great* !
> >
> > However, I see one drawback: right now, you have to build twice; once to
> > find out build-dependencies, and once to get a controlfile with correct
> > build-dependencies...
> >
> > It would be even more great if you could let this behave the way
> > dpkg-shlibdeps does, i.e. let it write information to a file that can be
> > merged with the controlfile at buildtime.
>
> You have to be careful: the list produced should not be used
> automatically for two reasons:
>
> (1) Some packages will be brought in as implied dependencies of other
> packages. You should only list the packages that the build
> *explicitly* requires. That's actually a bit subtle.
>
> (2) You may need versioned dependencies; the automated process will
> not be able to decide that.
Yes, you're right. I didn't think about that.
--
wouter dot verhelst at advalvas in belgium
Try does not exist. Believe that you will do it, else you will fail.
-- Luke Skywalker,
in the trilogy "The Jedi Academy", Kevin J. Anderson
Reply to: