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

Ansgar Burchardt ansgar at 2008.43-1.org
Fri Jun 18 02:50:04 UTC 2010


Package: sbuild
Version: 0.60.0-1
Severity: normal

Hi,

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.

sbuild fails to resolve this dependency:

  libversion-perl: non-matching version installed (~*=PROVIDED=*= ! >= 1:0.8200)
  Using default version 1:0.8200-1
  perl: non-matching version installed (5.10.1-13 ! >= 5.12)
  Default version of perl not sufficient, Package installation not possible
  Source-dependencies not satisfied; skipping libcpan-meta-perl

Somehow it looks like it wants to install both alternatives?

When the alternative on perl (>= 5.12) is removed, sbuild builds the
package just fine.

Regards,
Ansgar

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages sbuild depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libsbuild-perl                0.60.0-1   Tool for building Debian binary pa
ii  perl                          5.10.1-13  Larry Wall's Practical Extraction 
ii  perl-modules                  5.10.1-13  Core Perl modules

Versions of packages sbuild recommends:
ii  debootstrap                   1.0.23     Bootstrap a basic Debian system
ii  fakeroot                      1.14.4-1   Gives a fake root environment

Versions of packages sbuild suggests:
pn  deborphan                     <none>     (no description available)
ii  wget                          1.12-2     retrieves files from the web

-- Configuration Files:
/etc/sbuild/nssdatabases-defaults changed [not included]

-- no debconf information





More information about the Buildd-tools-devel mailing list