net-mail/dbmail-2.2.7_rc2 is missing the dependency on net-nds/openldap when building with the 'ldap' use flag. Configure exits with the following message: checking for LDAP headers... configure: error: Could not find LDAP headers. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/net-mail/dbmail-2.2.7_rc2/work/dbmail-2.2.7-rc2/config.log * * ERROR: net-mail/dbmail-2.2.7_rc2 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * dbmail-2.2.7_rc2.ebuild, line 41: Called econf '--sysconfdir=/etc/dbmail' '--with-auth-ldap' '--disable-static' '--without-sieve' '--with-ssl' '--without-pgsql' '--with-mysql' * ebuild.sh, line 591: Called die * * econf failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-mail/dbmail-2.2.7_rc2/temp/build.log'. * * Messages for package net-mail/dbmail-2.2.7_rc2: * * ERROR: net-mail/dbmail-2.2.7_rc2 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_compile * ebuild.sh, line 990: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * dbmail-2.2.7_rc2.ebuild, line 41: Called econf '--sysconfdir=/etc/dbmail' '--with-auth-ldap' '--disable-static' '--without-sieve' '--with-ssl' '--without-pgsql' '--with-mysql' * ebuild.sh, line 591: Called die * * econf failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/net-mail/dbmail-2.2.7_rc2/temp/build.log'. Reproducible: Always Steps to Reproduce: 1. echo "net-mail/dbmail ~x86" >> /etc/portage/package.keywords 2. echo "net-mail/dbmail ldap mysql ssl" >> /etc/portage/package.use 3. emerge dbmail Actual Results: Configure exits when building net-mail/dbmail. Expected Results: Build OpenLDAP as a dependency of DBMail.
dep added and in portage. can you test if it actually works please as i don't have a running ldap server nor do i have the required ldap - knowledge (unfortunately)