[Pkg-zfsonlinux-devel] Bug#880709: Library versions

Fabian Grünbichler f.gruenbichler at proxmox.com
Mon Nov 20 08:53:20 UTC 2017


On Sun, Nov 19, 2017 at 11:23:30PM -0500, Antonio Russo wrote:
> All upstream testing and development is done with matching library and utility versions.
> I really don't see any advantage to making fine-grained dependencies that expose Debian
> users to unconventional configurations with some possibly non-matching library versions.
> Just my 2 cents.

After a bit more experiments, I tend to agree with you (especially given
the huge number of symbols exported by libzpool!). Attached is a patch
that simply emulates upstreams "break with every release" (tested with
sid and stretch-backport builds). I prefer this approach to hard-coding
the exact versions in d/control, as it also works for other packages
linking with ZFS libraries using the shlibs mechanism.

I think I will start a discussion with upstream regarding their plans
for future ABI guarantees and proper exporting and versioning of public
library symbols. Switching to proper symbols based versioned
dependencies in Debian should be possible without much pain anyway, if
and when upstream decides to declare the library interface (somewhat)
stable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-build-add-implicit-version-to-dh_makeshlibs.patch
Type: text/x-diff
Size: 1534 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-zfsonlinux-devel/attachments/20171120/c91b4ef0/attachment.patch>


More information about the Pkg-zfsonlinux-devel mailing list