From dgilbert@daveg.ca  Sat Feb 14 19:09:23 2004
Return-Path: <dgilbert@daveg.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C93B516A4CE
	for <freebsd-gnats-submit@freebsd.org>; Sat, 14 Feb 2004 19:09:23 -0800 (PST)
Received: from sizone.org (mortar.sizone.org [65.126.154.242])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AB7FA43D1D
	for <freebsd-gnats-submit@freebsd.org>; Sat, 14 Feb 2004 19:09:23 -0800 (PST)
	(envelope-from dgilbert@daveg.ca)
Received: by sizone.org (Postfix, from userid 66)
	id 02E303093F; Sat, 14 Feb 2004 22:09:23 -0500 (EST)
Received: by canoe.dclg.ca (Postfix, from userid 101)
	id 8F5A31D1C1A; Sat, 14 Feb 2004 22:09:20 -0500 (EST)
Message-Id: <20040215030920.8F5A31D1C1A@canoe.dclg.ca>
Date: Sat, 14 Feb 2004 22:09:20 -0500 (EST)
From: David Gilbert <dgilbert@daveg.ca>
Reply-To: David Gilbert <dgilbert@daveg.ca>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: USE_OPEN_LDAP breaks somewhere.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         62861
>Category:       ports
>Synopsis:       USE_OPEN_LDAP breaks somewhere.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    eik
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 14 19:10:15 PST 2004
>Closed-Date:    Sun Feb 15 09:28:45 PST 2004
>Last-Modified:  Sun Feb 15 09:28:45 PST 2004
>Originator:     David Gilbert
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
DaveG.ca
>Environment:
System: FreeBSD canoe.dclg.ca 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Sat Feb 14 09:52:08 EST 2004 dgilbert@canoe.dclg.ca:/usr/obj/usr/src/sys/CANOE i386


as above
>Description:
Some fair number of packages seem to like openldap-2.2.5.  It seems to
install libldap.so.202 (what right has a library version got to be that
big?  Geez.)

Anyways... kdelibs3 definately want libldap.so.2 and to install
openldap-2.1.x ... which conflicts with the other.  This seems to be
triggered by the USE_OPEN_LDAP Makefile knob.

But something has thoughtfully left libldap.so.2 in 
/usr/local/lib/compat/pkg.  No matter, the Makefile knob doesn't
accept this and fails to install things.
>How-To-Repeat:
Try to install kdelibs with openldap-2.2.5 already installed.
>Fix:

Some combination of fixing the Makefile knob and/or fixing the
multiple versions of ldap need be done.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->kde  
Responsible-Changed-By: krion 
Responsible-Changed-When: Sat Feb 14 23:22:29 PST 2004 
Responsible-Changed-Why:  
It seems it could be interesting for kde maintainers. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62861 
Responsible-Changed-From-To: kde->eik 
Responsible-Changed-By: lofi 
Responsible-Changed-When: Sun Feb 15 07:14:07 PST 2004 
Responsible-Changed-Why:  
Not a kde issue, eik is the openldap maintainer. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=62861 

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org, dgilbert@daveg.ca
Cc: eik@FreeBSD.org
Subject: Re: ports/62861: USE_OPEN_LDAP breaks somewhere.
Date: Sun, 15 Feb 2004 16:13:36 +0100

 Conflicts are not a bug. Over to eik@ who can probably better explain this.
 
 
 

From: Oliver Eikemeier <eikemeier@fillmore-labs.com>
To: David Gilbert <dgilbert@daveg.ca>
Cc: freebsd-gnats-submit@FreeBSD.org,
	Michael Nottebrock <michaelnottebrock@gmx.net>
Subject: Re: ports/62861: USE_OPEN_LDAP breaks somewhere.
Date: Sun, 15 Feb 2004 18:19:12 +0100

 Guess there is not much I can do:
 
 - OpenLDAP changed the soname between 2.2.3beta and 2.2.4:
   <http://www.openldap.org/devel/cvsweb.cgi/build/version.var.diff?r1=1.1.4.9&r2=1.1.4.10>
 
   I just followed their decision, I guess most programs will expect libldap.so.202 soon. On
   the other hand, nothing should change if you just link -lldap.
 
 - In theory it should be possible to make the libraries of OpenLDAP 2.1 und 2.2 non-conflicting,
   but I'm not sure it would be worth the resulting confusion. In general it should be sufficient
   to have only one version of OpenLDAP on your system.
 
 - If you want to use OpenLDAP 2.2 system-wide you should set WANT_OPENLDAP_VER=22 on the
   command line, in /usr/local/etc/pkgtools.conf or /etc/make.conf. Ports are expected to
   respect that or bail out if they can't use that version.
 
   If you have OpenLDAP 2.2 installed and don't use WANT_OPENLDAP_VER=22, the port respects the
   (current) default of OpenLDAP 2.1, which conflicts with the installed OpenLDAP 2.2.
   This is A Good Thing, protecting your system from corruption by overwritten files.
 
 - The compat mechanism is used by portupgrade to keep applications that use an older version of
   an upgraded library running.
 
 I'm not sure if I understand your problem fully, but you may try to:
 
 - build kdelibs3 with WANT_OPENLDAP_VER=22 and file a bug against kdelibs3 if they don't build
   with OpenLDAP 2.2
 
 - clean out /usr/local/lib/compat/pkg manually, see portsclean(1) and libchk(1)
 
 - complain to openldap-software@OpenLDAP.org that the soname has changed
 
 I guess I just close this PR, please send a followup if this doesn't solve your problems and we need
 to reopen it.
 
 Regards
     Oliver
State-Changed-From-To: open->closed 
State-Changed-By: eik 
State-Changed-When: Sun Feb 15 18:28:10 CET 2004 
State-Changed-Why:  
Closed, as explained in follow-up 

http://www.freebsd.org/cgi/query-pr.cgi?pr=62861 
>Unformatted:
