[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A tool to help making (build) dependencies right.

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.



         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/

Reply to: