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

Bug#328951: Clarification for difference between Build-Depends and Build-Depends-Indep (Section 7.6)



Re: Bill Allombert in <20050919085445.GE21331@seventeen>
> > > -	      There is no Build-Depends-Arch; the autobuilders will
> > > -	      only need the Build-Depends if they know how to build
> > > -	      only build-arch and binary-arch.  Anyone building the
> > > +	      Build-Depends is essentially "Build-Depends-Arch";
> > > +	      the autobuilders will only need the Build-Depends since they
> > > +	      only use build-arch and binary-arch.  Anyone building the
> > >  	      build-indep/binary-indep targets is basically assumed to
> > >  	      be building the whole package and so installs all build
> > >  	      dependencies.
> > 
> > That substitutes one confusion for another (since it no longer
> > disclaims the existence of Build-Depends-Arch). I'd suggest this:
> > 
> >     There is no Build-Depends-Arch; this role is essentially met with
> >     Build-Depends, since the autobuilders only use build-arch and
> >     binary-arch. Anyone building the [...]
> 
> But it is not the case either, autobuilders use dpkg-buildpackage -B,
> which call 'build' and 'binary-arch', and do not use 'build-arch'
> because it does not know if it is available.  This is a bug I try to fix
> for several years, and I have a faint hope to achieve this in 2006.

Sorry for the late follow-up.

Here's my suggestion which should be the best of the above three
paragraphs:

 There is no Build-Depends-Arch; this role is essentially met with
 Build-Depends.  Anyone building the build-indep and binary-indep
 targets is basically assumed to be building the whole package anyway
 and so installs all build dependencies.  The autobuilders use
 'dpkg-buildpackage -B', which calls 'build' (not 'build-arch', since
 it does not yet know how to check for its existence) and
 'binary-arch'.

It would be nice if that could be added now even if dpkg-buildpackage
is to be fixed at some point, because that paragraph causes confusion
for every new maintainer. (And I'm sure even most DDs don't know that
dpkg-buildpackage -B doesn't use build-arch.)

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


Reply to: