ABI change in libsensors1 (from lm-sensors)
It turns out that the ABI in libsensors1, from the lm-sensors
distribution, changed between lm-sensors 2.6.5 and 2.7.0, without a
corresponding change in the library's soname. (See bug #191572.) I
forwarded this to the upstream maintainers over a week ago and haven't
heard anything back yet. It's been suggested that I change the soname
of the library within Debian; this would result in
(a) Repackaging lm-sensors 2.6.5, which would just have libsensors1
1:2.6.5-1, which in turn would Conflict: with any packages that
have compiled against libsensors1 2.7.0 (AFAIK, just one).
(b) Changing the soname of libsensors.so to libsensors.so.1.debian.1
in lm-sensors 2.7.0, and changing the name of the library package
to libsensors-1debian1, and changing the shlibs file
appropriately.
(c) Checking that the user-kernel interface hasn't changed; that is,
that the 2.6.5 library works vs. 2.7.0 modules, and vice versa.
Is this a reasonable course of action? The soname feels a little ugly
to me, but otherwise, assuming (c), it does feel like about the right
thing to do.
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: