On Mon, Jun 19, 2006 at 09:15:42AM -0700, Russ Allbery wrote:
> Simon Josefsson <[EMAIL PROTECTED]> writes:
> > Elrond <[EMAIL PROTECTED]> writes:

> >> Can we make that
> >> 
> >>    libtasn1-3-dev | libtasn1-2-dev
> >> 
> >> to get a slight chance for backporting?

> > I've installed this.  I assume that libtasn1-3-dev will be the first
> > choice when Debian's build robots build the package?

> > Objections to do this from anyone else?

> Unfortunately, I believe the buildds are allowed to basically pick a
> random choice among a string of alternatives.  (I think the logic goes
> that the buildd may already have one of the packages installed, and hence
> the dependency may be satisfied before something like apt gets at it.)

> It's probably a bit safer to use just the dependency for unstable and ask
> people doing backports to locally modify the build dependency.

The implementation on the buildds is:

- if one of the branches of the dependency is already satisfied, the
  dependency is satisfied and nothing is done.
- otherwise, install the first package in the list.

So listing older compatible packages as alternative build-deps should be ok,
because they should never be present on the buildds.  Listing alternatives
that are still present in unstable (as libtasn1-2-dev) is less ok, since
such a package may be pre-installed in the buildd chroot for whatever reason
and cause a misbuild.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to