[buildd-tools-devel] Bug#586275: Bug#586275: sbuild: alternative build-deps and Provides do not work correctly

Roger Leigh rleigh at codelibre.net
Fri Jun 18 14:20:07 UTC 2010


On Fri, Jun 18, 2010 at 11:50:04AM +0900, Ansgar Burchardt wrote:
> sbuild does not handle alternative dependencies that are also Provided
> by another package correctly:
> 
> libcpan-meta-perl_2.101670-1 has a build-dependency on
> libversion-perl (>= 1:0.8200) | perl (>= 5.12).  libversion-perl is also
> provided by perl-modules.

I'm afraid this is a long-standing issue with sbuild.  Alternative
build-dependencies are just not supported.  You'll see there are
a number of existing bug reports regarding this issue.

Note that one disadvantage of them is that it can potentially make
builds non-deterministic, which is probably why not much effort
went in to making them work.

However, the sbuild dependency resolver is now modular, so you can
use an aptitude-based resolver in place of the older internal
resolver, which /may/ work better (but isn't in use on the normal
buildds yet).

Just set $build_dep_resolver="internal|aptitude" in sbuild.conf.


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: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100618/a521563e/attachment.pgp>


More information about the Buildd-tools-devel mailing list