Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180172 - net-mail/cyrus-imapd-2.2.12-r4 does not compile with BDB 4.5
Summary: net-mail/cyrus-imapd-2.2.12-r4 does not compile with BDB 4.5
Status: RESOLVED DUPLICATE of bug 171081
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://www.mail-archive.com/info-cyru...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-29 02:30 UTC by Oliver Albers
Modified: 2007-05-29 05:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Albers 2007-05-29 02:30:34 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-29 05:48:41 UTC

*** This bug has been marked as a duplicate of bug 171081 ***