[Bug 1859010] [NEW] MAILPROG binary '/usr/sbin/sendmail' does not exist or is not executable

Leonidas S. Barbosa 1859010 at bugs.launchpad.net
Thu Jan 9 11:51:33 UTC 2020


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
Foundations Bugs, which is subscribed to sbuild in Ubuntu.
https://bugs.launchpad.net/bugs/1859010

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

Status in sbuild package in Ubuntu:
  New
Status in sbuild source package in Focal:
  New

Bug description:
  [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?

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



More information about the foundations-bugs mailing list