Subject: pkg/28317: databases/openldap - BerkeleyDB version incompatible
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Simon Burge <simonb@wasabisystems.com>
List: pkgsrc-bugs
Date: 11/15/2004 00:00:01
>Number:         28317
>Category:       pkg
>Synopsis:       databases/openldap - BerkeleyDB version incompatible
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 15 00:00:00 +0000 2004
>Originator:     Simon Burge <simonb@wasabisystems.com>
>Release:        NetBSD 2.0_RC4, pkgsrc from 14 Nov 2004.
>Organization:
Wasabi Systems
>Environment:
System: NetBSD thoreau 2.0_RC4 NetBSD 2.0_RC4 (THOREAU)
	#11: Fri Oct 8 15:48:26 EST 2004
	simonb@thoreau:/usr/obj/sys/arch/i386/compile/THOREAU i386
Architecture: i386
Machine: i386
>Description:
	Trying to build openldap results in an

		configure: error: BDB: BerkeleyDB version incompatible

	error.  Rev 1.85 of the openldap Makefile makes the following
	change:

revision 1.85
date: 2004/11/08 18:42:08;  author: tv;  state: Exp;  lines: +3 -4
Allow bdb backend support to be optional via PKG_OPTIONS.openldap.  For now,
it is still on by default to preserve compatibility (use option "-bdb" to
disable).

	The work/.buildlink/include directory is empty after this
	change.  Revert that change and rebuild results in a
	work/.buildlink/include/db4 directory appearing and openldap is
	happy to build again.

>How-To-Repeat:
	cd /usr/pkgsrc/databases/openldap
	make configure

>Fix:
	No fix given.  Backing out rev 1.85 of databases/openldap/Makefile
	works around the problem.