procmail-3.22-r7 waits for input during build when no recognised mailer is installed. It tries to autodetect the mailer, but if it cannot, rather than using a default value, it asks the user. Reproducible: Always Steps to Reproduce: 1. emerge -C virtual/mta 2. emerge mail-mta/nbsmtp 3. emerge mail-filter/procmail Actual Results: % sudo emerge procmail Calculating dependencies ...done! [...] Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync, ftruncate, strtod, strncasecmp, strerror, strlcat, memset, bzero, and _exit Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Could not find any mailer. It should be a mailer accepting at least one plain destination address as its only argument (any sendmail compatible mailer will do), and the mail-to-be-sent on stdin. What is your mailer called? (You can override this in config.h) <wait for input> Expected Results: Install without any prompts From src/autoconf: if _autotst 2 3 >>$ACONF test $? != 0 || lookfor sendmail || lookfor smail || lookfor mail #|| lookfor rmail then : else echo 'Could not find any mailer. It should be a mailer accepting at least' echo 'one plain destination address as its only argument (any sendmail' echo 'compatible mailer will do), and the mail-to-be-sent on stdin.' echo 'What is your mailer called? (You can override this in config.h)' read a echo "#define SENDMAIL \"$a\"" >>$ACONF fi nbsmtp satisfies procmail's virtual/mta dep, but does not provide a send-/s-/mail script. Simply hitting <Return> makes the build continue. % emerge -pv procmail virtual/mta These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] mail-filter/procmail-3.22-r7 +mbox (-selinux) [ebuild R ] mail-mta/nbsmtp-1.00 -debug +ipv6 +ssl Total size of downloads: 0 kB
Oh, I'd almost forget: Gentoo Base System version 1.12.0_pre6 Portage 1.589-cvs (default-linux/x86/2005.0, gcc-4.0.2-beta20050811, glibc-2.3.5.20050421-r0, 2.6.13-rc6 i686) ================================================================= System uname: 2.6.13-rc6 i686 AMD Duron(tm) Processor Python: dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 21 2005, 15:10:54)] distcc: No such file or directory [disabled] ccache: No such file or directory [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.9.6, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -Os -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -Os -fomit-frame-pointer -pipe -fvisibility-inlines-hidden" DISTDIR="/var/dist" FEATURES="autoconfig autopatch collision-protect cvs distlocks noauto notitles sandbox sfperms strict" GENTOO_MIRRORS=" http://ftp.easynet.nl/mirror/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo " LANG="en_GB.UTF-8" LINGUAS="en en_GB ja nl" MAKEOPTS="-j1" PKGDIR="/var/pkg" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/etc/portage/cross /etc/portage/overlay /etc/portage/overlay/e17 /etc/portage/overlay/gtk-webcore /var/cvs/gentoo-x86" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac acl alsa berkdb bidi bitmap-fonts bzip2 cdparanoia cjk crypt dlloader dri dvd dvdread encode erandom fbcon firefox flac gdbm gif glx gtk gtk2 imlib imlib2 ipv6 ithreads jpeg linuxthreads-tls lua lynxkeymap mad mbox mmx mmxext mozdevelop mozsvg mp3 mpeg ncurses nls nntp nocxx nptl offensive ogg oggvorbis oss pcre pic png postgres quicktime readline reiserfs rtc slang ssl svg tcpd threads truetype-fonts type1-fonts unicode userlocales vim-pager vorbis win32codecs wmf xface xml2 xvid zlib linguas_en linguas_en_GB linguas_ja linguas_nl userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS Config files: /etc/make.conf, /etc/portage/bashrc, /etc/portage/package.mask, /etc/portage/package.keywords, /etc/portage/profile/packages, /etc/portage/profile/use.mask
Ok, this is similar to bug #102098. I committed nbsmtp-1.00-r2 to the tree providing a real sendmail script and blocking virtual/mta. (This was a nbsmtp issue rather than a procmail one) Cheers, Ferdy