[buildd-tools-devel] Make alternative build-depends work on backports buildds (was: Give back ktorrent in squeeze-backports)

Roger Leigh rleigh at codelibre.net
Tue Jul 26 20:46:02 UTC 2011


On Tue, Jul 26, 2011 at 11:18:42PM +0300, Modestas Vainius wrote:
> Hello,
> 
> On antradienis 26 Liepa 2011 22:16:17 Kurt Roeckx wrote:
> > If you want to make the buildds use 0.62, someone is going to need
> > to put time in it to test that it actually works on the buildds.
> > 
> > I'm also not sure we want to use the aptitude resolver in that
> > case.
> 
> At the moment, no other resolver can reasonably pull off "install from non-
> default repository only and only if dependency is not satisfiable in the 
> default repository", which is essential for both experimental and backports. 
> You don't expect me to sign off the plan which you would bring experimental 
> and backports autobuilding to the stone age it was before, do you?
> 
> I guess sbuild maintainers should know that smarter aptitude "A | B" 
> resolution is not appropriate for Debian buildds and might be a showstopper 
> for upgrading buildds to >= 0.62 ...

This is disabled by default.  It's only intended for
backports/experimental use.  But it's there as a configurable option
for that type of situation.

The $resolve_alternatives option filters the dependencies before
creating the dependency package, so that apt/aptitude don't see
the alternatives at all.  They just get the first alternative.

(Note: does not include alternatives for the same package, e.g.
for different versions, which are explicitly allowed since 0.62.3.
It also doesn't include arch-specific alternatives; the set is reduced
to only the host arch in all cases.)


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110726/58c667e8/attachment.pgp>


More information about the Buildd-tools-devel mailing list