sys-libs/db-6.0.35-r1:6.0::installed neomutt: Checking for BerkeleyDB in /usr/include/...no (expecting 5.3, got 6.0) Checking for BerkeleyDB in /usr/include/db-5-3...no Checking for BerkeleyDB in /usr/include/db53...no Checking for BerkeleyDB in /usr/include/db5.3...no Checking for BerkeleyDB in /usr/include/db-5...no Checking for BerkeleyDB in /usr/include/db5...no Error: * In program /usr/bin/cave --colour yes perform install --hooks --managed-output --output-exclusivity with-others =mail-client/neomutt-20171215:0::gentoo --destination installed --replacing =mail-client/neomutt-20171215:0::installed --x-of-y 1 of 1: * When installing 'mail-client/neomutt-20171215:0::gentoo' replacing { 'mail-client/neomutt-20171215:0::installed' }: * When running an ebuild command on 'mail-client/neomutt-20171215:0::gentoo': * Install failed for 'mail-client/neomutt-20171215:0::gentoo' (paludis::ActionFailedError) Checking for BerkeleyDB in /usr/include/...no (expecting 6.2, got 6.0) Checking for BerkeleyDB in /usr/include/db-6-2...no Checking for BerkeleyDB in /usr/include/db62...no Checking for BerkeleyDB in /usr/include/db6.2...no Checking for BerkeleyDB in /usr/include/db-6...no Checking for BerkeleyDB in /usr/include/db6...no Checking for BerkeleyDB in /usr/include/...no (expecting 4.8, got 6.0) Checking for BerkeleyDB in /usr/include/db-4-8...no Checking for BerkeleyDB in /usr/include/db48...no Checking for BerkeleyDB in /usr/include/db4.8...no Checking for BerkeleyDB in /usr/include/db-4...no Checking for BerkeleyDB in /usr/include/db4...no Error: Unable to find BerkeleyDB Try: 'configure --help' for options !!! ERROR in mail-client/neomutt-20171215::gentoo: !!! In econf at line 1877 !!! econf failed
Please always attach the full build log. And I have no clue what's cave equivalent of 'emerge --info'.
(In reply to Sergey 'L29Ah' Alirzaev from comment #0) > Error: Unable to find BerkeleyDB > Try: 'configure --help' for options > > !!! ERROR in mail-client/neomutt-20171215::gentoo: > !!! In econf at line 1877 > !!! econf failed I can confirm that CDEPEND="berkdb? ( >=sys-libs/db-4:= )" is too unspecific when, e.g. sys-libs/db:6.0 is installed but one of sys-libs/db:{5.3,6.2,4.8} is expected to be found, see [1]. Therefore using a syntax as mentioned in [2], to met the best available version from alternative entries in list: berkdb? ( || ( sys-libs/db:6.2 sys-libs/db:5.3 sys-libs/db:4.8 ) <sys-libs/db-6.3:= ) works here with my overlay for mail-client/neomutt-20171215 and live ebuild. In my case (installed was only sys-libs/db:6.0), sys-libs/db:5.3 was pulled and that avoids configure failure: “Error: Unable to find BerkeleyDB” afterwards for me. References: - [1] <https://github.com/neomutt/neomutt/blob/ae61285/auto.def#L630> - [2] <https://bugs.gentoo.org/show_bug.cgi?id=605880>
Thanks Floyd!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b651e9cbd832a9ef990761e73e6c2cc0c990fcc commit 1b651e9cbd832a9ef990761e73e6c2cc0c990fcc Author: Nicolas Bock <nicolasbock@gentoo.org> AuthorDate: 2018-01-24 21:51:51 +0000 Commit: Nicolas Bock <nicolasbock@gentoo.org> CommitDate: 2018-01-24 21:52:55 +0000 mail-client/neomutt: Fix berkdb slots The generic DEPEND on berkdb can lead to build failures for `berkdb:6.0`. Upstream specifies specific versions [1] and this change translates these versions into a more specific DEPEND. [1] https://github.com/neomutt/neomutt/blob/ae61285/auto.def#L630 Co-Authored-By: Floyd Anderson <bts+gentoo@31c0.net> Closes: https://bugs.gentoo.org/642692 Package-Manager: Portage-2.3.19, Repoman-2.3.6 mail-client/neomutt/neomutt-20171215-r2.ebuild | 140 +++++++++++++++++++++++++ mail-client/neomutt/neomutt-9999.ebuild | 9 +- 2 files changed, 148 insertions(+), 1 deletion(-)