Tuomo Soini:
> On Wed, 1 Aug 2018 09:35:01 -0400 (EDT)
> Wietse Venema <wie...@porcupine.org> wrote:
> 
> > Someone messed up and built Postfix on a machine that does not have
> > the m4 preprocessor installed.
> 
> Thank you - adding m4 to build system fixed the issue.
> How about failing the build if m4 is not present?

That was added in the unstable release, and it will probably be
included with Postfix 3.3.2.

But seriously, if we go down that path, then I should prepend every
Postfix script with probes to ascertain that awk, grep, perl, sed
exist just in case they might appear somewhere in a pipeline (an
error in the middle of a pipeline is notoriously hard to detect).

Note, it would not be sufficient to have such checks on the build
system. Some Postfix scripts would still break if someone decides
it is a good idea to remove ls or grep from their production system.

        Wietse

Reply via email to