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.

Attachment: signature.asc
Description: Digital signature

Reply via email to