From vt at altlinux.org Fri Apr 18 21:14:53 2025 From: vt at altlinux.org (Vitaly Chikunov) Date: Fri, 18 Apr 2025 23:14:53 +0300 Subject: Xapian 1.4.28 released (problem with SONAME) Message-ID: <20250418201453.vkwddzcoeyp7nmhk@altlinux.org> 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: From olly at survex.com Fri Apr 18 22:10:56 2025 From: olly at survex.com (Olly Betts) Date: Fri, 18 Apr 2025 22:10:56 +0100 Subject: Xapian 1.4.28 released (problem with SONAME) In-Reply-To: <20250418201453.vkwddzcoeyp7nmhk@altlinux.org> References: <20250418201453.vkwddzcoeyp7nmhk@altlinux.org> Message-ID: <20250418211056.GA29930@survex.com> On Fri, Apr 18, 2025 at 11:14:53PM +0300, Vitaly Chikunov wrote: > For 1.4.27 you have LIBRARY_VERSION_INFO=43:1:13 > For 1.4.28 you have LIBRARY_VERSION_INFO=43:0:14 Oops - I managed to update it correctly for the comment but not for the value actually used: dnl 44:0:14 1.4.28 dutch_porter alias in Xapian::Stem LIBRARY_VERSION_INFO=43:0:14 > Can you fix this? Sure - I'll make a new release ASAP. Thanks for reporting. I think this is the second instance of this problem, though the previous time was 1.2.12 in 2012 so it's infrequent, but it is a pain if it happens. It occurs to me that we could add a check to configure to catch this problem as it should only change at the start of a release series. Something like: expr `echo "$LIBRARY_VERSION_INFO"|sed 's/:.*:/ - /'` = 30 Cheers, Olly From vt at altlinux.org Fri Apr 18 22:47:33 2025 From: vt at altlinux.org (Vitaly Chikunov) Date: Sat, 19 Apr 2025 00:47:33 +0300 Subject: Xapian 1.4.28 released (problem with SONAME) In-Reply-To: <20250418211056.GA29930@survex.com> References: <20250418201453.vkwddzcoeyp7nmhk@altlinux.org> <20250418211056.GA29930@survex.com> Message-ID: <20250418214733.hcngvk4jjnws57me@altlinux.org> Olly, On Fri, Apr 18, 2025 at 10:10:56PM +0100, Olly Betts wrote: > On Fri, Apr 18, 2025 at 11:14:53PM +0300, Vitaly Chikunov wrote: > > For 1.4.27 you have LIBRARY_VERSION_INFO=43:1:13 > > For 1.4.28 you have LIBRARY_VERSION_INFO=43:0:14 > > Oops - I managed to update it correctly for the comment but not for the > value actually used: > > dnl 44:0:14 1.4.28 dutch_porter alias in Xapian::Stem > LIBRARY_VERSION_INFO=43:0:14 > > > Can you fix this? > > Sure - I'll make a new release ASAP. Thanks for reporting. Thanks. I thought this just a typo. > > I think this is the second instance of this problem, though the previous > time was 1.2.12 in 2012 so it's infrequent, but it is a pain if it > happens. It occurs to me that we could add a check to configure to > catch this problem as it should only change at the start of a release > series. Something like: > > expr `echo "$LIBRARY_VERSION_INFO"|sed 's/:.*:/ - /'` = 30 > > Cheers, > Olly