Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 59036 - dev-libs/cln-1.1.6 bumps libcln.so from libcln.so.2 to libcln.so.3
Summary: dev-libs/cln-1.1.6 bumps libcln.so from libcln.so.2 to libcln.so.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-31 18:31 UTC by Howard B. Golden
Modified: 2005-01-21 05:35 UTC (History)
0 users

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 Howard B. Golden 2004-07-31 18:31:08 UTC
dev-libs/cln-1.1.5 creates libcln.so.2.0.4. When upgrading to dev-libs/cln-1.1.6, it creates libcln.so.3.0.0, without preserving libcln.so.2.0.4.

It seems to me that either dev-libs/cln-1.1.6 should have a new slot, or it should preserve libcln.so.2 (if present).

See bug #32510 for a similar situation with libgdbm.

In the patch to bug #32510, the following code was used to protect libgdbm.so.2, since gdbm-1.8.3 created libgdbm.so.3:

	# temp backwards support #32510
	if [ -e ${ROOT}/usr/lib/libgdbm.so.2 ] ; then
		cp ${ROOT}/usr/lib/libgdbm.so.2 ${D}/usr/lib/
		touch ${D}/usr/lib/libgdbm.so.2

If this approach is the correct one, then the following patch should be applied to cln-1.1.6.ebuild:

	if [ -e ${ROOT}/usr/lib/libcln.so.2 ] ; then
		cp ${ROOT}/usr/lib/libcln.so.2 ${D}/usr/lib/
		touch ${D}/usr/lib/libcln.so.2

Reproducible: Always
Steps to Reproduce:
1. emerge =dev-libs/cln-1.1.5
2. emerge =dev-libs/cln-1.1.6
Actual Results:  
dev-libs/cln-1.1.6 deleted libcln.so.2 while creating libcln.so.3

Expected Results:  
dev-libs/cln-1.1.6 should have kept libcln.so.2 AND created libcln.so.3
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2005-01-21 05:35:58 UTC
There aren't many packages around using cln, and none of them are vital for system operation. Now we have to choose between using revdep-rebuild and re-emerging three packages or opening a can of worms (IMHO) by always preserving old libraries without having a way to clean them up if they are no longer needed.

I tend to prefer revdep-rebuild in this case.
Please re-open this bug if you strongly disagree.