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

Re: libphobos-dev build-dep



On Sun, Mar 23, 2014 at 01:50:16AM +0100, Samuel Thibault wrote:
> Russ Allbery, le Sat 22 Mar 2014 17:12:49 -0700, a écrit :
> > Samuel Thibault <sthibault@debian.org> writes:
> > > Steve Langasek, le Sat 22 Mar 2014 12:43:56 -0700, a écrit :

> > >> Um, no, build-depending on virtual packages is absolutely allowed.

> > > Yes, but something has to make the buildd pick up one package which
> > > provides it.  It won't decide by itself which one to choose.

> > Only if there is more than one package providing the same virtual package.
> > If there is only one, the buildds will pick that one.

> I don't think so.

> If it was true, then we'd have non-deterministic builds depending one
> what package happens to be available.

It *is* possible to have non-deterministic builds if you build-depend on a
virtual package provided by more than one real package; this is why, if a
virtual package is provided by more than one real package at a time, you are
expected to indicate the preferred behavior by listing the real package
first before the virtual package in the build-deps.  But this is a matter of
policy, and is not enforced by the buildds.

For the case where there is only one real package providing the virtual
package at any one time (the common case for build-dependencies), this is
unnecessary - and actively counterproductive, since the reason for
build-depending on a virtual package is to avoid forcing a sourceful
transition.

But your case is neither the "more than one provider" case nor the "one
provider" case.  You have zero providers of libphobos-dev on these archs.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: