openldap and cyrus-sasl with USE=ldap fails to emerge. In any order. Reproducible: Always Steps to Reproduce: 1. USE="...ldap..." emerge -e system.... wait for openldap: net-nds/openldap-2.3.35-r2 USE="berkdb crypt gdbm ipv6 readline sasl ssl tcpd -debug -kerberos -minimal -odbc -overlays -perl -samba (-selinux) -slp -smbkrb5passwd" requires cyrus-sasl. Emerge failed due to missing cyrus-sasl. 2. emerge cyrus-sasl dev-libs/cyrus-sasl-2.1.22-r2 USE="berkdb crypt gdbm ldap mysql pam postgres ssl -authdaemond -java -kerberos -ntlm_unsupported_patch -sample -srp -urandom" Ok... now ldap is not here, so USE="...ldap..." fails cyrus as cyrus expects LDAPDB to be there :-( Actual Results: emerge failed both for openldap and for cyrus-sasl Expected Results: The workaround is like this: USE=-ldap emerge cyrus-sasl emerge openldap USE=+ldap emerge cyrus-sasl emerge openldap Portage 2.1.3_rc6 (default-linux/amd64/2006.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r6 x86_64) ================================================================= System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.10 Timestamp of tree: Mon, 02 Jul 2007 08:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6-r2, 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -march=athlon64 -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=athlon64 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://mirror.gentoo.no/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi afs amd64 apache2 apm audiofile avi bash-completion bcmath berkdb bitmap-fonts bzip2 caps cdb cli cracklib crypt cups curl curlwrappers dba dbm dbx dedicated dio doc dri exif expat fam fastcgi ftp gd gdbm gif gnutls gpm hal hardened iconv imlib innodb ipv6 isdnlog jabber ldap libg++ libwww m17n-lib mad maildir mhash midi mmap msession mudflap mysql ncurses nis nls nptl nptlonly ogg openmp oss pam pcntl pcre pdflib php png posix postgres ppds pppd python readline reflection sasl session snmp sockets socks5 spl ssl svg sysvipc tcpd threads tiff truetype-fonts type1-fonts unicode usb vhosts xml xml2 xorg zlib zliob" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vga" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** This bug has been marked as a duplicate of bug 32394 ***