On 2015-06-16 15:34:10 +0200, Noël Köthe wrote:
> I will upload wget with the versioned dependency but this does not
> solve the problem in the future because the last wget upload was in
> March were everything worked and in the last weeks gnutls and libnettle
> changed without changed soname of the lib.

The libnettle soname changed:

/usr/lib/x86_64-linux-gnu/libnettle.so.4 for libnettle4.
/usr/lib/x86_64-linux-gnu/libnettle.so.6 for libnettle6.

AFAIK, what happened is that without the gnutls upgrade, wget
1.16.3-2+b2 was linked against both libnettle4 (via gnutls) and
libnettle6 (directly). Unfortunately, without symbol versioning
(which Nettle doesn't support), this does not work and this is not
a soname problem here. There are two ways to avoid this problem:

1. Use symbol versioning in the libraries (currently not done).

2. Add a manual dependency to make sure that the same libnettle is
   used on both sides. Since wget has been rebuilt against libnettle6,
   the solution is to force a gnutls version built against libnettle6
   too, i.e. add a versioned dependency on gnutls.

In the future, if symbol versioning is used in Nettle, everything
should be fine. Otherwise, if you rebuild wget against, say,
libnettle7, then you need to make sure to depend on a gnutls version
that is built against this version.

-- 
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)


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to