Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184673 - net-mail/cyrus-imap-admin-2.2.12-r1 build fails: ‘DB_ENV’ has no member named ‘set_lk_max’
Summary: net-mail/cyrus-imap-admin-2.2.12-r1 build fails: ‘DB_ENV’ has no member named...
Status: VERIFIED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 178750
  Show dependency tree
 
Reported: 2007-07-09 01:11 UTC by Florian Friesdorf
Modified: 2007-09-08 15:50 UTC (History)
1 user (show)

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


Attachments
cyrusdb_berkeley: set_lk_max for >=db-4* (cyrus-imap-admin-set_lk_max.patch,634 bytes, patch)
2007-07-09 01:16 UTC, Florian Friesdorf
Details | Diff
corrected previous patch (cyrus-imap-admin-set_lk_max.patch,630 bytes, patch)
2007-07-09 01:39 UTC, Florian Friesdorf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Friesdorf 2007-07-09 01:11:15 UTC
cyrus-imap-admin-2.2.12-r1 fails to build:

cyrusdb_berkeley.c: In function ‘init’:
cyrusdb_berkeley.c:152: warning: passing argument 2 of ‘dbenv->set_errcall’ from incompatible pointer type
cyrusdb_berkeley.c:162: error: ‘DB_ENV’ has no member named ‘set_lk_max’
make: *** [cyrusdb_berkeley.o] Error 1

I have the following sys-libs/db installed:
4.2.52_p4-r2
4.3.29-r2
4.5.20_p2

For more information see:
http://www.mail-archive.com/info-cyrus%40lists.andrew.cmu.edu/msg31184.html

The patch given there solves the problem.

Reproducible: Always
Comment 1 Florian Friesdorf 2007-07-09 01:16:52 UTC
Created attachment 124289 [details, diff]
cyrusdb_berkeley: set_lk_max for >=db-4*
Comment 2 Florian Friesdorf 2007-07-09 01:39:47 UTC
Created attachment 124291 [details, diff]
corrected previous patch
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2007-09-07 18:17:13 UTC
Please test 2.2.13 which is about to be stabled for all architectures soon (already stable for x86,ppc and hppa). If it's still a problem with 2.2.13 please reopen this bug and attach the output of 'emerge --info'. 
Comment 4 Florian Friesdorf 2007-09-08 15:40:28 UTC
(In reply to comment #3)
> Please test 2.2.13 which is about to be stabled for all architectures soon
> (already stable for x86,ppc and hppa). If it's still a problem with 2.2.13
> please reopen this bug and attach the output of 'emerge --info'. 

compiles fine
Comment 5 Tobias Scherbaum (RETIRED) gentoo-dev 2007-09-08 15:50:42 UTC
Great :)