[buildd-tools-devel] Bug#683287: sbuild: will not install a missing build-dep in some cases
Michael Terry
michael.terry at canonical.com
Mon Jul 30 14:50:35 UTC 2012
Package: sbuild
Version: 0.63.1-1ubuntu1
Severity: normal
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu quantal
Dear Maintainer,
Consider the case of libio-socket-ip-perl in quantal as of this writing. It has a dependency like "libsocket-perl (>= 1.97) | perl (>= 5.15.6)". libsocket-perl's current version is 2.002-1 (which is fine). Perl's current version is 5.14.2-12 (which does not satisfy the check).
So sbuild correctly reports:
libsocket-perl: missing
perl: non-matching version installed (5.14.2-12 ! >= 5.15.6)
And then does not try to install libsocket-perl. Which I think is a clear bug? The build fails because it is dep waiting on libsocket-perl, despite it actually being available.
It seems that sbuild's dependency checker stops if part of an or-clause is already installed, regardless of whether it actually satisfies the requirements. I'd argue it should take that into account and attempt to install another part of the or-clause.
-- System Information:
Debian Release: wheezy/sid
APT prefers quantal-updates
APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 'quantal')
Architecture: i386 (i686)
Kernel: Linux 3.5.0-6-generic (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sbuild depends on:
ii adduser 3.113+nmu1ubuntu1
ii apt-utils 0.9.7.1ubuntu1
ii libsbuild-perl 0.63.1-1ubuntu1
ii perl 5.14.2-12
ii perl-modules 5.14.2-12
Versions of packages sbuild recommends:
ii debootstrap 1.0.41ubuntu1
ii fakeroot 1.18.4-2
Versions of packages sbuild suggests:
pn deborphan <none>
ii wget 1.13.4-3ubuntu1
-- no debconf information
More information about the Buildd-tools-devel
mailing list