[Cc Sebastian Ramacher]

On 2021-11-25 21:42:48 +1100, Hugh McMaster wrote:
> On Thu, 25 Nov 2021 at 03:39, Vincent Lefevre wrote:
> >
> > On 2021-11-24 16:31:08 +0100, Guillem Jover wrote:
> > > The symlinks must be kept for backwards compat. Please see #998169 for
> > > the context of this packaging cleanup.
> >
> > OK, thanks. #998169 gives the explanation.
> >
> > Note that I was also wondering whether these symblinks are still
> > actually used. For instance, libgdal29 3.3.3+dfsg-2 depends on
> > libodbc1 (>= 2.3.1), but
> >
> > $ ldd /usr/lib/libgdal.so.29 | grep libodbc
> >         libodbc.so.2 => /usr/lib/x86_64-linux-gnu/libodbc.so.2 
> > (0x00007fb732d54000)
> >         libodbcinst.so.2 => /usr/lib/x86_64-linux-gnu/libodbcinst.so.2 
> > (0x00007fb732d3c000)
> >
> > So the .so.2 names are already used, and the symlinks are not needed
> > for libgdal29. Now, what about the other packages? Since these .so.2
> > sonames were added in 2013 (8 years ago!), I suppose that the old
> > .so.1 sonames are no longer used at all, so that no backward compat
> > symlinks are needed.
> 
> I've inspected a quarter of unixodbc's reverse dependencies so far and
> found all were using soversion 2.
> 
> As indicated in #998169, I had removed the symlinks but was advised to
> reinstate them.

If you mean Sebastian Ramacher's message

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=998169#39

saying "libodbc1 and odbcinst1debian2 could then be transitional
packages with the compat symlinks that stay around at least for
bookworm." I suppose that Sebastian did not know that the .so.2
sonames were already used for some time (I recall that the change
in unixodbc was done in 2013). Was anything particular said on
#debian-release?

So I assume that only a transitional dummy package (without the
symlinks) is needed.

> I highly doubt that any package is linking via hard-coding to the
> old soname version.

Well, I think that the only potential issue is for old packages that
were built before the soname change in 2013 and were removed from
Debian at that time (thus are no longer rebuilt). But in practice,
compat symlinks are not kept that long, are they?

Note that given the fact that libodbc1 depends on libltdl7 (>= 2.4.6),
which appeared in 2016, such packages from 2013 or earlier should
already be broken.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

Reply via email to