Having set the use flags "ldap" and "sasl" causes a circular dependency between openldap-2.3.24-r1 and cyrus-sasl-2.1.21-r2 (both stable). This bug has been observed on a fresh system, where no previous versions of these packages were installed before. Emerging openldap results in this output: [...] checking DIGEST-MD5... enabled checking OTP... disabled checking SRP... disabled checking KERBEROS_V4... disabled checking for crypt... no checking for crypt in -lcrypt... yes checking GSSAPI... disabled checking PLAIN... enabled checking ANONYMOUS... enabled checking LOGIN... enabled checking NTLM... enabled checking PASSDSS... disabled checking SQL... disabled checking LDAPDB... enabled checking ldap.h usability... no checking ldap.h presence... no checking for ldap.h... no checking lber.h usability... no checking lber.h presence... no checking for lber.h... no ./configure: line 13180: test: too many arguments checking OpenLDAP version... no configure: error: Cannot enable LDAPDB plugin: OpenLDAP library located but incompatible !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/config.log !!! ERROR: dev-libs/cyrus-sasl-2.1.21-r2 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile cyrus-sasl-2.1.21-r2.ebuild, line 164: Called econf '--with-saslauthd=/var/lib/sasl2' '--with-pwcheck=/var/lib/sasl2' '--with-configdir=/etc/sasl2' '--with-plugindir=/usr/lib/sasl2' '--with-dbpath=/etc/sasl2/sasldb2' '--enable-login' '--enable-ntlm' '--disable-krb4' '--disable-otp' '--with-openssl' '--with-pam' '--with-ldap' '--enable-ldapdb' '--disable-sample' '--disable-gssapi' '--without-mysql' '--disable-mysql' '--without-pgsql' '--disable-postgres' '--disable-srp' '--disable-java' '--without-javahome' '--without-authdaemond' '--disable-sql' '--with-dblib=gdbm' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 i686) ================================================================= System uname: 2.6.16-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-kl.de/pub/linux/gentoo" LANG="en_US.utf8" LINGUAS="en de" MAKEOPTS="-j3" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/" USE="x86 7zip X a52 aalib acc alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cli crypt cups curl dri dv dvd dvdread emboss encode exif expad faac faad fame ffmpeg flac foomaticdb gd gdbm gif gnutls gpm graphviz gs gtk2 icq icu idn imap imlib isdnlog jabber jbig jpeg jpeg2k kde latex lcms ldap libcaca libg++ libwww live lzo mad matroska mbox md5sum mikmod mjpeg mmx mng mp3 mpeg mplayer musicbrainz ncurses network nls nntp nptl nvidia ogg opengl oss pam pcre pdflib perl pic plotutils png ppds pppd python qicktime qt quicktime readline real reflection rtc samba sasl sdl session slang speex spell spl sse sse2 ssl subtitles subversion svg tcpd tetex tga theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vorbis w32codecs win32code wmf xml xorg xscreensaver xv xvid zlib elibc_glibc kernel_linux linguas_en linguas_de userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 32394 ***
Created attachment 90000 [details] Configure log from cyrus-sasl /var/tmp/portage/cyrus-sasl-2.1.21-r2/work/cyrus-sasl-2.1.21/config.log (maybe not clear in my original post: emerge openldap tries to emerge cryus-sasl first, which fails due to missing openldap)