[Buildd-tools-devel] Bug#395271: sbuild: incorrectly handles versioned provides
Niko Tyni
ntyni at debian.org
Wed Feb 27 15:16:57 UTC 2008
On Tue, Feb 26, 2008 at 11:27:13PM +0000, Roger Leigh wrote:
> Thanks. I tried out the patch, but it fails to build the packages
> mentioned earlier in the bug report:
>
> sbuild -s -A -d sid libmail-box-perl_2.080-1
> sbuild -s -A -d sid svk_2.0.1-1
> libscalar-list-utils-perl: non-matching version installed (~*=PROVIDED=*= ! >= 1
> .13)
> Default version of libscalar-list-utils-perl not sufficient, no suitable alterna
> tive found. I probably should dep-wait this one.
> Package installation not possible
> Source-dependencies not satisfied; skipping libmail-box-perl
>
> I think a special case needs adding in either version_compare() or
> prior to each version_compare call.
The libmail-box-perl case hits another issue, filed as #403246 ("sbuild
dependancy resolution fails when b-dep on A | B ; A uninstallable").
See also the discussion in #422879: "As I understand it, that's the
intended upstream behaviour."
libmail-box-perl build-depends on
libscalar-list-utils-perl (>= 1.13) | perl (>= 5.8.2-2)
but libscalar-list-utils-perl is only available in sid as a provided
package, so the versioned dependency cannot be satisfied at all and
sbuild gives up without considering the other option.
As for svk, I'm able to build 2.0.1-1 with current sid and a patched
sbuild. What's the error message you're getting?
Cheers,
--
Niko Tyni ntyni at debian.org
More information about the Buildd-tools-devel
mailing list