Public bug reported:

[Release info]
sb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu Focal Fossa (development branch)
Release:        20.04
Codename:       focal

[Issue/BUG?]
While build anything in a schroot, sbuild fails because sendmail is not 
installed

[Scenario]
I'm having this issue in Focal when trying to build anything in a schroot env. 
Even if I try to see sbuild version the error happens:

sbuild --version
Error reading configuration: MAILPROG binary '/usr/sbin/sendmail' does not 
exist or is not executable at /usr/share/perl5/Sbuild/ConfBase.pm line 59.

Here is while trying to build pkg:

sbuild command is: /usr/bin/sbuild --chroot-setup-commands /tmp/umt-gcedvijf 
--no-apt-update --no-apt-upgrade --no-apt-distupgrade -d precise-esm-amd64 -A 
--build-dep-resolver=aptitude php5_5.3.10-1ubuntu3.41.dsc
Error reading configuration: MAILPROG binary '/usr/sbin/sendmail' does not 
exist or is not executable at /usr/share/perl5/Sbuild/ConfBase.pm line 59.

[Fix/Workround]
Problem can be fixed/workrounded installing sendmail in the host machine, but 
it's weirdo that sbuild needs sendmail, and if so, why?

** Affects: sbuild (Ubuntu)
     Importance: Medium
         Status: New

** Affects: sbuild (Ubuntu Focal)
     Importance: Medium
         Status: New

** Also affects: sbuild (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: sbuild (Ubuntu Focal)
    Milestone: ubuntu-20.04 => None

** Changed in: sbuild (Ubuntu Focal)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1859010

Title:
  MAILPROG binary '/usr/sbin/sendmail' does not exist or is not
  executable

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sbuild/+bug/1859010/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to