Bug#370387: building against libsoup might result in more gnutls libs being used

Loïc Minier lool at dooz.org
Mon Jun 5 08:59:34 UTC 2006


retitle 370387 Split libsoup-2.2.pc's with a Libs.private
stop

        Hi,

On Mon, Jun 05, 2006, Michal Cihar wrote:
> While preparing update of mpdscribble, I was notified that resulting
> binary is built against more libgnutls libraries. This is caused by two
> facts in libsoup2.2-dev package:

 Could you paste the exact warning that you got?

> 1. -lgnutls is listed in pkgconfig file, is it really needed there?

 It's needed for static linking; it could be moved to Libs.private
 instead, and that would prevent linking against gnutls in the dynamic
 linking case you're probably in.  I've retitled the bug report to that
 effect.

> 2. libsoup2.2-dev depends on libgnutls-dev, however it libgnutls-dev is
> also provided by libgnutls11-dev

 Yes, and this is IMO correct:
 bee% grep-dctrl -F Build-Depends -s Package libgnutls-dev <
 /var/lib/apt/lists/*Sources | wc -l
 93
 bee% grep-dctrl -F Build-Depends -s Package libgnutls11-dev <
 /var/lib/apt/lists/*Sources | wc -l
 20

 Please note that libgnutls-dev is a real package which Replaces
 libgnutls11-dev.

> For fixing this I suggest to make dependendy on libgnutls-dev stricter
> (libgnutls-dev > 1.3.0 or something like that).

 Hmm, I think this would be incorrect as libsoup is buildable with
 libgnutls11-dev as well.

 Let me know why you think this is the correct approach.

   Bye,
-- 
Loïc Minier <lool at dooz.org>





More information about the Pkg-gnome-maintainers mailing list