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

Bug#186809: dpkg-dev: dpkg-buildpackage should minimize build dependencies



Jean-Michel Kelbert wrote:
> To my mind dpkg-buildpackage should try to minimize build dependancies
> when it is possible.
IMHO dpkg-buildpackage is not the right place to do things like that at all.
lintian or linda would be much more suited to do this and, in fact, are doing it
at least for dependencies (cf. how the bug #178203 came about).

> 2) dpkg-buildpackage should warn the user if a dependency is a
> dependancy from an other package listed in Build-Depends.
This is fundamentally wrong. If a package links directly to a library it should
well depend on the -dev package. (For example, the build dependencies of
libraries build depended on might change.) Also, searching for random additions
of unneccesary build-dependencies hardly feasible.

Now if there was a way of reliably matching -dev packages to library packages
and if libtool would link to less libraries (cf. bug #180496 and the recent (mid
march) "libtool crap" subthread on debian-devel) one might be tempted to compare
the shlib dependencies to the -dev dependencies in a lintian/linda check.

Cheers

T.

Attachment: pgpcBpbtwi92C.pgp
Description: PGP signature


Reply to: