* Error: circular dependencies: ('ebuild', '/', 'dev-libs/cyrus-sasl-2.1.23-r1', 'merge') depends on ('ebuild', '/', 'net-nds/openldap-2.4.19-r1', 'merge') (buildtime) ('ebuild', '/', 'net-nds/openldap-2.4.19-r1', 'merge') depends on ('ebuild', '/', 'dev-libs/cyrus-sasl-2.1.23-r1', 'merge') (buildtime) Reproducible: Always Steps to Reproduce: 1.emerge apache 2. 3. Actual Results: krauserII ~ # emerge --pretend apache These are the packages that would be merged, in order: Calculating dependencies... done! [nomerge ] www-servers/apache-2.2.14-r1 USE="ldap ssl -debug -doc (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" [nomerge ] net-nds/openldap-2.4.19-r1 USE="berkdb crypt ipv6 perl samba sasl ssl tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal -odbc -overlays (-selinux) -slp -smbkrb5passwd -syslog" [ebuild N ] dev-libs/cyrus-sasl-2.1.23-r1 USE="berkdb crypt gdbm ldap mysql pam ssl -authdaemond -java -kerberos -ntlm_unsupported_patch -postgres -sample -sqlite -srp -urandom" [ebuild N ] net-nds/openldap-2.4.19-r1 USE="berkdb crypt ipv6 perl samba sasl ssl tcpd -cxx -debug -experimental -gnutls -icu -iodbc -kerberos -minimal -odbc -overlays (-selinux) -slp -smbkrb5passwd -syslog" * Error: circular dependencies: ('ebuild', '/', 'dev-libs/cyrus-sasl-2.1.23-r1', 'merge') depends on ('ebuild', '/', 'net-nds/openldap-2.4.19-r1', 'merge') (buildtime) ('ebuild', '/', 'net-nds/openldap-2.4.19-r1', 'merge') depends on ('ebuild', '/', 'dev-libs/cyrus-sasl-2.1.23-r1', 'merge') (buildtime) * Note that circular dependencies can often be avoided by temporarily * disabling USE flags that trigger optional dependencies.
USE="-ldap" emerge -1 cyrus-sasl && emerge -1 openldap && emerge -uND world then resume. Nothing we can change in the deps, but temporarily overriding them like this usually works.