Trying to compile the latest stable cyrus imapd with Berkeley DB 4.5 backend fails, because some field in a struct does not exist anymore. Reproducible: Always Steps to Reproduce: 1.Install BDB 4.5.20 2.Install Cyrus IMAPd 3. Actual Results: cyrusdb_berkeley.c:162: error: 'DB_ENV' has no member named 'set_lk_max' make[1]: *** [cyrusdb_berkeley.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/net-mail/cyrus-imapd-2.2.12-r4/work/cyrus-imapd-2.2.12/lib' make: *** [all] Error 1 !!! ERROR: net-mail/cyrus-imapd-2.2.12-r4 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile cyrus-imapd-2.2.12-r4.ebuild, line 229: Called die Some patch seems to exist here: http://www.teddy.ch/patches/cyrus-imap-2.3.7-berlekey-db-4.5.20-1.patch Though, somewhere on the mailing list I read that Redhat had a better patch submitted upstream which maybe already is in upstream CVS.
*** This bug has been marked as a duplicate of bug 171081 ***