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

Bug#545381: edos-builddebcheck: Always consider built-essential packages installable



On Thu, Nov 26, 2009 at 11:56:15AM +0100, Joachim Breitner wrote:
> I don’t think that this patch was related only to arch-all package: I
> think what can happen is that source package S build-depends on P, P has
> different versions in the two packages files. The newer version has an
> unsatisfiable dependency, but the older version does not. Apt would not
> install P, as it only considers the newer version, but edos-depcheck
> would assume that S is bd-installable, as it does consider the old
> version of P.
> 
> Maybe it would be convenient to tell be able to tell edos-debcheck to
> only consider the newest version found for a package, instead of all
> versions, so this merger can be removed.

I confess I don't understand this hack/problem. apt-get by default
considers all versions of any package he finds in a Packages as valid
candidates to satisfy a dependency (up to pinning of course).

So, AFAICT, the only way to fulfill your commit log which stated that
the older package would not be considered anyhow by apt during build, is
actually to have patch apt (or pinned it in some way) to have that
behavior. Is this is the case?

If this is not the case (i.e. apt will consider both arch:all versions
as valid candidates to satisfy a dependency), then no extra feature is
needed on the side of edos-debcheck: it would be enough to pass to it
the exact Packages file which is known to apt at build time.

If this is still the case, then we can either:

a) ignore the problem (at worst edos-builddebcheck will return a false
   positive, the build will be attempted and will fail); this is
   probably the best approach if the statical impact of this corner case
   is low

b) have edos-debcheck implements the same dependency ignore logics
   implemented by buildds

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

Attachment: signature.asc
Description: Digital signature


Reply to: