Logic seems to be backwards in this eclass... I have SSL as a use flag, and am getting the IMAP+SSL error. The third line in this code block (if ! built_with...) should read (if built_with...) This is in $Header: /var/cvsroot/gentoo-x86/eclass/php5-sapi.eclass,v 1.37 2005/02/03 11:53:41 robbat2 Exp $ if useq ssl ; then #if [ -n "`strings ${ROOT}/usr/$(get_libdir)/c-client.* 2>/dev/null | grep ssl_onceonlyinit`" ]; then if ! built_with_use virtual/imap-c-client ssl ; then # the IMAP-SSL arg doesn't parse 'shared,/usr/lib' right enable_extension_with "imap-ssl" "ssl" 0 else msg="IMAP+SSL requested, but your IMAP libraries are built without SSL!" eerror "${msg}" die "${msg}" fi fi Reproducible: Always Steps to Reproduce: 1. USE="ssl" emerge c-client 2. USE="ssl imap" emerge php (version 5.0.3) 3. Actual Results: www root # USE="ssl imap" emerge php Calculating dependencies ...done! >>> emerge (1 of 1) dev-php/php-5.0.3 to / >>> md5 src_uri ;-) php-5.0.3.tar.bz2 * IMAP+SSL requested, but your IMAP libraries are built without SSL! !!! ERROR: dev-php/php-5.0.3 failed. !!! Function php5-sapi_check_awkward_uses, Line 205, Exitcode 0 !!! IMAP+SSL requested, but your IMAP libraries are built without SSL! !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Compiled with IMAP+SSL www root # emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Feb 2 2005, 20:06:20)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apache apache2 apm arts avi berkdb bitmap-fonts crypt cups encode f77 font-server foomaticdb fortran gd gif gnome gpm gtk2 imap imlib im p innodb jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png pop python qmail quicktime readl ine sdl spell ssl svga tcpd truetype truetype-fonts type1-fonts xml xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I came across this bug trying to get horde-imp to install on my mail server following the guide from http://www.gentoo.org/doc/en/qmail-howto.xml
oops. my bad. fixed now.