Bug 45062 - spice-gtk 0.8 breaks soname version numbering by using lower version number
Summary: spice-gtk 0.8 breaks soname version numbering by using lower version number
Status: RESOLVED WORKSFORME
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium critical
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-21 16:22 UTC by Jeremy Bicha
Modified: 2012-01-25 02:57 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jeremy Bicha 2012-01-21 16:22:43 UTC
spice-gtk 0.7 had this soname
libspice-client-glib-2.0.so.4.0.3

spice-gtk 0.8 has this one
libspice-client-glib-2.0.so.1.4.0

Please use higher numbers when changing sonames, not lower ones.

I believe this was a result of this commit:
http://cgit.freedesktop.org/spice/spice-gtk/commit/gtk/Makefile.am?id=d5a83e57aedd09241f8c09895df69206ceb782c3
Comment 1 Marc-Andre Lureau 2012-01-21 16:43:06 UTC
Indeed, that was a mistake that we corrected, and we knew that would break soname. You'll have to change your package name/version and your depedencies. Sorry about that, it won't happen again, hopefully.
Comment 2 Jeremy Bicha 2012-01-21 16:51:01 UTC
I don't believe that's the right way to handle it. I believe this can be fixed simply by keeping the soname at 4.0.* Otherwise, you're breaking the way libraries work which makes it difficult/impossible to package spice-gtk sanely.
Comment 3 Marc-Andre Lureau 2012-01-22 03:11:46 UTC
(In reply to comment #2)
> I don't believe that's the right way to handle it. I believe this can be fixed
> simply by keeping the soname at 4.0.* Otherwise, you're breaking the way
> libraries work which makes it difficult/impossible to package spice-gtk sanely.

why can't you change your package name or version scheme? In fedora, we didn't have problems doing so.
Comment 4 Jeremy Bicha 2012-01-23 08:18:30 UTC
OK, I'll go ahead and close this because I guess it's not too big of a deal. I prefer version numbers to go up but whatever.

Thanks.
Comment 5 Christophe Fergeau 2012-01-25 02:57:37 UTC
Using -version-info 5:0:1 for libspice-client-glib would have produced sane sonames I think and would have avoided a needless ABI break...


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.