Bug#424679: libsvn-notify-mirror-perl: FTBFS ("Cannot find sendmail")

Niko Tyni ntyni at iki.fi
Wed May 16 18:21:44 UTC 2007


Package: libsvn-notify-mirror-perl
Version: 0.03602-2
Severity: serious
Tags: patch pending

This is already fixed in our SVN repository and waiting for an upload,
but I'm filing this to document the issue.

Building libsvn-notify-mirror-perl 0.03602-2 in a clean chroot fails with

 t/001_basic....ok 1/0Cannot find sendmail and no "smtp" parameter specified at /usr/share/perl5/SVN/Notify.pm line 644.

 #   Failed test 'Directories are consistent at rev: 2'

This is because SVN::Notify wants to find a sendmail in its
new() method, regardless of whether it's going to be used.
However, the libsvn-notify-perl package currently only 
Recommends: mail-transport-agent.

The libsvn-notify-mirror-perl tests don't really need a sendmail,
so invoking them as

 SENDMAIL=/dev/null $(PERL) Build test

works OK here.

Cheers,
-- 
Niko Tyni   ntyni at iki.fi




More information about the pkg-perl-maintainers mailing list