Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 184673

Summary: net-mail/cyrus-imap-admin-2.2.12-r1 build fails: ‘DB_ENV’ has no member named ‘set_lk_max’
Product: Gentoo Linux Reporter: Florian Friesdorf <flo>
Component: Current packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: dertobi123
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 178750    
Attachments: cyrusdb_berkeley: set_lk_max for >=db-4*
corrected previous patch

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 :)