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

Re: Package checking



On Sun, Feb 25, 2001 at 12:32:06AM +0000, Julian Gilbey wrote:
> On Fri, Feb 23, 2001 at 11:16:16PM -0600, Sam TH wrote:
> > > $ lintian --version
> > > Lintian v1.20.6
> > > $ lintian uf-view_1.2-2_i386.changes
> > > E: uf-view source: package-uses-debhelper-but-lacks-build-depends
> > 
> > Fixed, I think.  I removed every possibly related package I could find
> > from my chroot, and then tried to build uf-view.  I had to ask apt-get
> > to install only: libgnome-dev, libghttp-dev and debhelper, but those
> > brought in close to 50 other packages (all of X and GNOME, for
> > example).  Are those three all that is needed for Build-Depends?
> 
> >From current policy:
> 
>      When specifying the set of build-time dependencies, one should list
>      only those packages explicitly required by the build.  It is not
>      necessary to list packages which are required merely because some
>      other package in the list of build-time dependencies depends on them.
>      The reason is that dependencies change, and you should list only those
>      _you_ need.  What others need is their business.
> 
> Hopefully this will answer your question.

Well, sort of.  For the packe in question, it does.  But say there was
a package that depended on both GLib and GNOME (say, by including
gnome.h and glib.h).  If, at some later point, GNOME no longer
depended on GLib, then just having Build-Depends: libgnome-dev would
no longer be correct.  But currently it is.  What should one do in
this situation?
           
	sam th		     
	sam@uchicago.edu
	http://www.abisource.com/~sam/
	GnuPG Key:  
	http://www.abisource.com/~sam/key

Attachment: pgps1KE6VuDdp.pgp
Description: PGP signature


Reply to: