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

Bug#141307: PROPOSAL] Finish the build-{arch,indep} stuff



On Sat, Apr 06, 2002 at 12:00:26AM +1000, Anthony Towns wrote:
> On Fri, Apr 05, 2002 at 11:30:12AM +0100, Julian Gilbey wrote:
> > >       `Build-Depends', `Build-Conflicts'
> > >            The `Build-Depends' and `Build-Conflicts' fields must be
> > >            satisfied when any of the following targets is invoked: `build',
> > > -          `binary', `binary-arch' and `binary-indep'.
> > > +          `build-arch', `build-indep', `binary', `binary-arch' and
> > > +          `binary-indep'.
> > Actually, it turns out that bug #72335 (accepted) already contained
> > this, but that I didn't actually implement it in policy.  So I'm going
> > to add it after woody is released ('cos policy is frozen).  But in the
> > meantime, autobuilders would do well to use Build-Depends-Indep fields
> > as well when running the build target (which is the main significant
> > change here).
> 
> Uh, surely it'd need to be:
> 
>   If you make "binary-arch" you need Build-Depends and Build-Depends-Arch
>   If you make "binary-indep" you need Build-Depends and Build-Depends-Indep
>   If you make "binary" you need all three
> 
> Which means autobuilders would need to use Build-Depends-Arch not
> Build-Depends-Indep.

Not quite:

If you make "build-arch" or "binary-arch", you need Build-Depends.
If you make "build-indep" or "binary-indep", you need Build-Depends
  and Build-Depends-Indep.
If you make "build" or "binary", you need both.

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-indep/binary-indep targets is
basically assumed to be building the whole package and so installs all
build dependencies.

The purpose of the original split, I recall, was so that the
autobuilders wouldn't need to install extra packages needed only for
the binary-indep targets.  But without a build-arch/build-indep split,
this didn't work, since most of the work is done in the build target,
not in the binary target.

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

      Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
              website: http://www.maths.qmul.ac.uk/~jdg/
   Debian GNU/Linux Developer, see: http://people.debian.org/~jdg/
     Visit http://www.thehungersite.com/ to help feed the hungry


-- 
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: