i had a setup with nbsmtp and tried (unsuccessfully, repeatedly) to emerge php-4.4.0. the latter exited w/o error; while running in strace it complained lacking sendmail. sendmail was indeed not on my system, reemerging nbsmtp did not help. replacing it with the nullmailer fixed the problem for me. to see what happened so far, see Bug 101981. I did not reemerge nbsmtp and php to verify so far, but i'll be happy to provide any help needed. robbat2@gentoo.org helping me coming to this conclusion so far suggested i open this bug for the !! nbsmtp maintainers !! . Reproducible: Always Steps to Reproduce: 1.emerge nbsmtp 2.emerge php 3. Actual Results: emerge php exited w/o error after unpacking the source; running in strace made it give an error that it lacked /usr/sbin/sendmail. cf Bug 101981 for details Expected Results: install php-4.4.0 this is my emerge info: Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11.11 i686) ================================================================= System uname: 2.6.11.11 i686 Intel(R) Celeron(R) M processor 1300MHz Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium2 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium2 -fomit-frame-pointer" DISTDIR="/usr/src/packages" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzlib calendar cdr crypt ctype cups curl curlwrappers directfb divx4linux dvd dvdr dvdread eds emacs emboss encode esd expat fam fbcon ffmpeg fftw flac foomaticdb fortran ftp gd gdbm gif glut gpm gstreamer gtk gtk2 imagemagick imlib ipv6 jack java javascript jpeg kde lesstif libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl php png pnp posix python qt quicktime readline recode ruby sdl sndfile sockets source spell spl ssl svga tcltk tcpd tetex tiff truetype truetype-fonts trusted type1-fonts usb v4l vcd vorbis win32codecs xml2 xmms xosd xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I just tried emerge --pretend nbsmtp, which seems to be allowed even though the nullmailer is there, while the other way round nbsmtp blocked both the nullmailer and sendmail (which were the only mailer packages I tried). So It probably boils down to a dependency problem.
nbsmtp-1.00-r2 is in the tree with a sendmail wrapper. Thanks for reporting Cheers, Ferdy