Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 164626 - net-nds/openldap-2.3.30-r2 typo in preserve_old_lib_notify
Summary: net-nds/openldap-2.3.30-r2 typo in preserve_old_lib_notify
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 23:28 UTC by Daiajo Tibdixious
Modified: 2007-02-18 22:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daiajo Tibdixious 2007-01-30 23:28:54 UTC
With only net-nds/openldap-2.3.30-r2 installed, revdep-rebuild shows that libldap 2.2 requires liblber 2.2 which is not present in openldap 2.3.
Excerpt from revdep-rebuild:
  broken /usr/lib64/libldap-2.2.so.7 (requires  liblber-2.2.so.7)
  broken /usr/lib64/libldap.so.2.0.130 (requires  liblber.so.2)
  broken /usr/lib64/libldap_r-2.2.so.7 (requires  liblber-2.2.so.7)
  broken /usr/lib64/libldap_r.so.2.0.130 (requires  liblber.so.2)
# equery files net-nds/openldap|grep libldap
/usr/lib64/libldap-2.2.so.7
/usr/lib64/libldap-2.3.so.0
/usr/lib64/libldap-2.3.so.0.2.18
/usr/lib64/libldap.a
/usr/lib64/libldap.la
/usr/lib64/libldap.so
/usr/lib64/libldap.so.2.0.130
/usr/lib64/libldap_r-2.2.so.7
/usr/lib64/libldap_r-2.3.so.0
/usr/lib64/libldap_r-2.3.so.0.2.18
/usr/lib64/libldap_r.a
/usr/lib64/libldap_r.la
/usr/lib64/libldap_r.so
/usr/lib64/libldap_r.so.2.0.130
-- the above shows that both libldap 2.2 & 2.3 are present
# equery files net-nds/openldap|grep liblber
/usr/lib64/liblber-2.3.so.0
/usr/lib64/liblber-2.3.so.0.2.18
/usr/lib64/liblber.a
/usr/lib64/liblber.la
/usr/lib64/liblber.so
-- the above shows that only liblber 2.3 is present.

The lack of liblber 2.2 causes the revdep-rebuild error.

Reproducible: Always

Steps to Reproduce:
1. check that only net-nds/openldap-2.3.30-r2 is installed
2. # revdep-rebuild -i -p
3.

Actual Results:  
  broken /usr/lib/libldap-2.2.so.7 (requires  liblber-2.2.so.7)
  broken /usr/lib/libldap.so.2.0.130 (requires  liblber.so.2)
  broken /usr/lib/libldap_r-2.2.so.7 (requires  liblber-2.2.so.7)
  broken /usr/lib/libldap_r.so.2.0.130 (requires  liblber.so.2)
  broken /usr/lib64/libldap-2.2.so.7 (requires  liblber-2.2.so.7)
  broken /usr/lib64/libldap.so.2.0.130 (requires  liblber.so.2)
  broken /usr/lib64/libldap_r-2.2.so.7 (requires  liblber-2.2.so.7)
  broken /usr/lib64/libldap_r.so.2.0.130 (requires  liblber.so.2)


Expected Results:  
No 'broken' errors.

Either libldap 2.2 should not be in the 2.3 package (preferred)
or liblber 2.2 should be included in the 2.3 package.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-30 23:40:14 UTC
So let revdep-rebuild do its job as told by the ebuild when upgrading (and delete the libraries left there after old version when done). Anyway:


--- openldap-2.3.30-r2.ebuild	2007-01-17 01:06:46.000000000 +0100
+++ openldap-2.3.30-r2.ebuild	2007-01-31 00:38:26.000000000 +0100
@@ -485,7 +485,7 @@
 
 	LIBSUFFIXES=".so.2.0.130 -2.2.so.7"
 	for LIBSUFFIX in ${LIBSUFFIXES} ; do
-		for each in lber libldap libldap_r ; do
+		for each in liblber libldap libldap_r ; do
 			preserve_old_lib_notify "${ROOT}usr/$(get_libdir)/${each}${LIBSUFFIX}"
 		done
 	done
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-02-16 20:49:12 UTC
Fixed in CVS
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-02-18 22:12:43 UTC
*** Bug 167540 has been marked as a duplicate of this bug. ***