[Buildd-tools-devel] Bug#395271: sbuild: doesn't handle dependancies resolution correctly for libmail-box-perl
Guillem Jover
guillem at debian.org
Sat May 26 05:58:47 UTC 2007
reassign 395271 sbuild
retitle 395271 sbuild: incorrectly handles versioned provides
thanks
On Fri, 2006-10-27 at 23:15:29 +0100, Roger Leigh wrote:
> Lucas Nussbaum <lucas at lucas-nussbaum.net> writes:
> > While trying to build libmail-box-perl using sbuild, I ran into a
> > problem: it seems that sbuild doesn't resolve the build-deps
> > correctly when it involves dealing with Provides. Here is the log:
>
> > libscalar-list-utils-perl: already installed (=*=PROVIDED=*= >= 1.13 is
> > satisfied)
> > dpkg-source: warning: could not verify signature on
> > /tmp/build/libmail-box-perl_2.068-1.dsc since gpg isn't installed
> > dpkg-source: extracting libmail-box-perl in libmail-box-perl-2.068
> > dpkg-source: unpacking libmail-box-perl_2.068.orig.tar.gz
> > dpkg-source: applying /tmp/build/libmail-box-perl_2.068-1.diff.gz
> > dpkg-buildpackage: source package is libmail-box-perl
> > dpkg-buildpackage: source version is 2.068-1
> > dpkg-buildpackage: host architecture i386
> > dpkg-buildpackage: source version without epoch 2.068-1
> > dpkg-checkbuilddeps: Unmet build dependencies: libtest-harness-perl (>=
> > 2.62)
> > dpkg-buildpackage: Build dependencies/conflicts unsatisfied; aborting.
> > dpkg-buildpackage: (Use -d flag to override.)
>
> > It would be great if either:
> > - sbuild could say which package provides a specific dependancy, to help
> > debugging this
> > - this was handled correctly (but I'm not sure of what "correctly" means
> > here)
>
> It's dpkg-checkbuilddeps (part of dpkg-dev) that's failing, rather
> than sbuild. I'm reassigning to dpkg-dev.
dpkg-checkbuilddeps supports Provides correctly, the problem here is
that it does not support versioned Provides (as is the case for the
whole package managment stack). So I suppose sbuild should fail
sooner, and all those perl packages should be fixed to update their
Build-Dependencies (given that perl-modules is Build-Essential, just
removing the offending packages which are provided by it should be
enough).
regards,
guillem
More information about the Buildd-tools-devel
mailing list