Bug#882097: sbuild: --bd-uninstallable-explainer should default to apt

2018-07-01 Thread Johannes Schauer
Control: tag -1 + wontfix

Hi Mike,

On Sun, 19 Nov 2017 07:43:38 +0900 Mike Hommey  
wrote:
> sbuild's default resolver is apt, and its default
> bd-uninstallable-explainer is dose3.
> 
> As of writing, the apt resolver fails to install the build dependencies
> for firefox... and dose3 does find a solution. Which means, I'm in a
> situation where the default configuration gives me useless information
> about why the resolver failed to install the build dependencies because
> what it uses to explain is different, and doesn't fail to find a
> solution.
> Even if it did fail to find a solution, that would not necessarily be
> the reason apt failed in the first place.
> So I think the default explainer should be apt, at least when the
> resolver is apt.

I disagree and here is why.

That the apt resolver failed and the dose3 explainer succeeded is *not* useless
information. It tells you, that a solution exists but apt is able to find one.
This in turn tells you, that you might want to choose a different resolver. If
the apt explainer were the default, then you would not be able to figure out
that the problem is not a dependency problem but instead a problem with the apt
resolver.

To your second argument: indeed the reason why dose3 fails might be a different
one because of which apt fails. But that should not matter. Because (in theory)
as long as the dose3 explainer fails, you simply cannot get a solution from
apt. So even if the reason is different, you have to fix the reason given by
the dose3 explainer anyways, even if it's a different reason from the one that
apt had. So why is it then a problem that the reason given by the dose3
explainer might be a different one?

Thus, I'm tagging this wontfix. But if you think that my arguments are
unfounded, please tell me why. :)

Another reason why the dose3 explainer is the default is, that its output is
much more human readable than the output of the apt explainer. Do you disagree?

Thanks!

cheers, josch


signature.asc
Description: signature


Bug#882097: sbuild: --bd-uninstallable-explainer should default to apt

2017-11-18 Thread Mike Hommey
Source: sbuild
Version: 0.73.0-4
Severity: wishlist

Dear Maintainer,

sbuild's default resolver is apt, and its default
bd-uninstallable-explainer is dose3.

As of writing, the apt resolver fails to install the build dependencies
for firefox... and dose3 does find a solution. Which means, I'm in a
situation where the default configuration gives me useless information
about why the resolver failed to install the build dependencies because
what it uses to explain is different, and doesn't fail to find a
solution.
Even if it did fail to find a solution, that would not necessarily be
the reason apt failed in the first place.
So I think the default explainer should be apt, at least when the
resolver is apt.

Mike