Xapian 1.4.28 released (problem with SONAME)
Vitaly Chikunov
vt at altlinux.org
Fri Apr 18 21:14:53 BST 2025
Olly,
When building 1.4.28 for ALT, I noticed that SONAME of libxapian is changed
to a lower version number than previous release.
- 1.4.27 have SONAME libxapian.so.30
- 1.4.28 have SONAME libxapian.so.29
Perhaps, this is hapened because you are by not incrementing `current`
while incrementing `age`.
"If any interfaces have been added, removed, or changed since the last
update, increment current" .. "If any interfaces have been added since
the last public release, then increment age" [1]
Libtool calculates SONAME's version part for Linux with the formula:
major=(current-age)
where major goes into the SONAME.
So the idea is if the change only adding new interface SONAME is not
changed (balancing current with age), but if interfaces are changed or
deleted SONAME is incremented and the library becomes incompatible
requiring clients to rebuild.
For 1.4.27 you have LIBRARY_VERSION_INFO=43:1:13
For 1.4.28 you have LIBRARY_VERSION_INFO=43:0:14
Can you fix this?
Thanks,
[1] https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
On Fri, Apr 18, 2025 at 10:38:45AM +1200, Olly Betts wrote:
> Xapian 1.4.28 can now be downloaded from:
>
> https://xapian.org/download
>
> This release is mainly composed of minor bug fixes, portability
> improvements and optimisations.
>
> The wiki has the usual summary of the most notable changes:
>
> https://trac.xapian.org/wiki/ReleaseOverview/1.4.28
>
> A big thanks to Jean-Francois Dockes, uis, Adrian Bunk, awilfox and Ian
> Jackson for helping to make this release a reality.
>
> If I've missed anyone out, you can claim an extra big thankyou.
>
> As always, if you encounter problems, please report them here, or to
> the bug-tracker: https://xapian.org/bugs
>
> You can find detached GPG signatures for each of the release tarballs
> in a corresponding file with ".asc" appended.
>
> Here are the SHA256 checksums of the released files:
>
> 6340981c5b05cf8b4e1b2c0a117c83defbf1007577cf4d9c5ffcaa193255d761 xapian-bindings-1.4.28.tar.xz
> 3d0976e142217c1baba48bf89b405e674422e7e4448ae5016f67fe0dd49daa07 xapian-core-1.4.28.tar.xz
> 870d2f2d7f9f0bc67337aa505fdc13f67f84cce4d93b7e5c82c7310226f0d30a xapian-omega-1.4.28.tar.xz
>
> Cheers,
> Olly
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 833 bytes
> Desc: not available
> URL: <http://lists.xapian.org/pipermail/xapian-discuss/attachments/20250418/55943e06/attachment.sig>
More information about the Xapian-devel
mailing list