Package: sbuild
Version: 0.85.7

On a fresh installation, setting up sbuild prompts with a default
configuration file where it says:

> # Mail address where logs are sent to (mandatory, no default!)

If you then try running sbuild, it refuses to run unless
/usr/sbin/sendmail exists.

This is a problem for onboarding new developers. Most people don't have
an MTA set up nowadays - either because they're using webmail or some
external server that isn't integrated locally, or because they're doing
the build in a VM or container that isn't their main system. It's also
not necessary for sbuild's primary function. Emailing the log should be
optional, and the initial configuration process should not require or
imply that is required. Otherwise, this is yet another hurdle just to
get started.

I suggest the default behaviour should be changed to simply leaving the
log in the current directory, just like any other command might do.

(In my case, I do use a local MTA, but I also do much work in VMs where
I don't want to have to set this up every time or automate doing so).

As it happens, if you install postfix with "No local configuration" then
the email attempt fails but sbuild otherwise succeeds. So it isn't that
much of a hurdle, but it is still suboptimal that this appears required.

Thanks,

Robie

Reply via email to