FS#8380 - OpenLDAP 2.3.X not compatible with BDB > 4.6.3

Attached to Project: Arch Linux
Opened by Arnaud MAZIN (arnaudmz) - Tuesday, 23 October 2007, 10:00 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 28 October 2007, 13:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: OpenLDAP version 2.3 doesn't work with any Berkeley DB version > 2.6.3
The extra package successfully compiles but segfaults.

Additional info:
* package openldap-2.3.28, db 4.6.21
* OpenLDAP's ITS : http://www.openldap.org/its/index.cgi/Incoming?id=5148


Steps to reproduce:
start slapd,
make a single ldapsearch
=> slapd segfaults
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 28 October 2007, 13:50 GMT
Reason for closing:  Fixed
Comment by Arnaud MAZIN (arnaudmz) - Tuesday, 23 October 2007, 10:03 GMT
sorry, please read:
Description: OpenLDAP version 2.3 doesn't work with any Berkeley DB version > 4.6.3
Comment by Arnaud MAZIN (arnaudmz) - Tuesday, 23 October 2007, 14:12 GMT
Use of openldap 2.4.5beta solves the problem, but:
* need to recompile lots of stuff (libldap, openldap, courier-authlib, php, openldap-clients…) as the libldap and liblber library interface seems to have changed
* that's a beta version of openldap, he!

downgrading db to 4.5.X also works.
Comment by Jan de Groot (JGC) - Tuesday, 23 October 2007, 14:18 GMT
We'll come up with a db4.x package just like we did with Evolution-data-server. I think we'll choose the last 4.5.x version, as the on-disk table format should be the same as the one in 4.6 (4.6 mainly has a new memorymanager and a new lockmanager that is incompatible with openldap 2.3).

IMHO we should make choices for packages to depend on one specific version of DB. DB is one of the things that shouldn't always be the latest.
Comment by Arnaud MAZIN (arnaudmz) - Tuesday, 23 October 2007, 19:38 GMT
Here are two PKGBUILDS : for a new db4.5 package and an update for openldap which forces the use of db4.5

Loading...