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

Bug#191411: [proposal] build-depends-indep should not be satisfied during clean target



On Mon, Jun 09, 2003 at 10:59:18AM +0100, Julian Gilbey wrote:
> On Fri, Jun 06, 2003 at 06:31:31PM +0200, Bill Allombert wrote:
> > > > I therefore propose the following change to section 7.6, which is a
> > > > partial rollback from #164035:
> > > > 
> > > >       `Build-Depends-Indep', `Build-Conflicts-Indep'   
> > > >            The `Build-Depends-Indep' and `Build-Conflicts-Indep' fields must
> > > >            be satisfied when any of the following targets is invoked:
> > > > +          `build', `build-indep', `binary' and `binary-indep'.
> > > > -          `build', `build-indep', `clean', `binary' and `binary-indep'.
> > > 
> > > Seconded.
> > Note that this policy change make a difference for
> > arch: all source packages. For them, it is currently equivalent
> > to use 'Build-Depends-Indep' and 'Build-Depends'
> > 
> > With this change, it will no more be the case. Build-Depends will
> > be safer since it cover clean (this trigger a lintian warning
> > currently).

Oh, bloody hell, lintian prods people into doing this? That's a bug.

> > It can be worthwhile to state explicitly what happen for source
> > arch:all packages in the policy.
> 
> He's right.  Lots of Arch: all packages (correctly) use
> Build-Depends-Indep and not Build-Depends at all.  With this change to
> policy, almost all of them will immediately cease being policy
> compliant.  (Most have debhelper as a dependency in the clean target.)

Datum: they were never policy compliant until my earlier (botched)
proposal.

> So what should this policy be?  I understand the desire not to require
> Build-Depends-Indep to clean, but this isn't quite the way to do it
> properly.

I say rip it out and return them to their buggy state. Since they've
all had this bug for years, it's pretty clear that it's not all *that*
important.

However, regardless of what policy says, those packages are broken
anyway. If you don't have debhelper installed, and you run
"dpkg-buildpackage -rfakeroot -us -uc -b", it'll fail. This bug is not
important because there's no real reason to run that command on an
arch-indep package.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  http://www.debian.org/ | Dept. of Computing,
 `. `'                          | Imperial College,
   `-             -><-          | London, UK

Attachment: pgppGO8zKNak2.pgp
Description: PGP signature


Reply to: