[buildd-tools-devel] Bug#766939: wanna-build: Wanna-build considers alternatives, but buildds don't, causing futile builds

Johannes Schauer j.schauer at email.de
Mon Oct 27 06:04:19 UTC 2014


Hi,

On Mon, 27 Oct 2014 02:27:01 +0000 Wookey <wookey at wookware.org> wrote:
> Is this a wanna-build bug?

you could also see this as a dose3 bug.

dose-builddebcheck does not eliminate all but the first build dependency as
sbuild does it. Maybe even worse, for it the order of a disjunction does not
matter at all. I see two solutions.  Either wanna-build modifies the build
dependencies before passing them to dose-builddebcheck or I add an option to
dose-builddebcheck to remove build dependencies in disjunctions just as sbuild
does. Doing the latter is probably the right way to do it in the long term but
this will come too late for Jessie.  Thus, you probably have to do the former
anyways until Jessie+1.

In fact, botch already has a utility solving this (because I also stumbled over
this problem a while ago) called botch-remove-virtual-disjunctions. It's a
short Python script which, in case of source packages, modifies
build-dependencies just as sbuild would so that they can then be handled by
dose3.

If you nevertheless think that adding such a feature to dose-builddebcheck
would be a good idea, please file a wishlist bug against dose-builddebcheck so
that the issue does not get lost. I'll see if I can take care of the problem
after the Jessie release.

cheers, josch



More information about the Buildd-tools-devel mailing list