Subject: pkg/32739: cyrus-imapd 2.2.12nb3 needs fix for berkeley db error report
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: pkgsrc-bugs
Date: 02/05/2006 04:10:01
>Number:         32739
>Category:       pkg
>Synopsis:       cyrus-imapd 2.2.12nb3 needs fix for berkeley db error report
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 05 04:10:01 +0000 2006
>Originator:     John Kohl
>Release:        NetBSD 3.0
>Organization:
NetBSD Kernel Hackers `R` Us
>Environment:
cyrus-imapd version 2.2.12nb3

System: NetBSD desktop.john.kohl.name 3.0 NetBSD 3.0 (KOLVIR-$Revision: 1.64 $) #7: Sat Jan 21 15:58:30 EST 2006 jtk@desktop.john.kohl.name:/u4/sandbox/src/sys/arch/i386/compile/KOLVIR i386
Architecture: i386
Machine: i386
>Description:
in work/cyrus-imapd/2.2.12/lib/cyrusdb_berkeley.c, the db_err function
doesn't have the same signature as is documented in Berkeley DB 4.
>How-To-Repeat:
	Upgrade DB from 4.3 to 4.4, get gibberish in your log file
>Fix:
	patch the db_err routine signature to match the API.  See
	http://www.sleepycat.com/docs/api_c/env_set_errcall.html

	A proper fix might have to be conditional on the berkeley DB
	revision, cyrus maintainers might know the right stuff.  But for
	the pkg system, since it probably depends on db >= 4.3, just jam
	in the current API.