Re: Correct dependencies on libgnutls-dev? (#370387)
Loïc Minier <lool+debian@via.ecp.fr> writes:
> Hi,
>
> On Mon, Jun 19, 2006, Goswin von Brederlow wrote:
>> > I received #370387 claiming that I should version my libgnutls-dev dep
>> > because libgnutls11-dev provides libgnutls-dev and this can cause
>> > multiple versions of libgnutls to be linked to a binary (e.g. the
>> > version pulled by libsoup, and the version pulled by -lgnutls when the
>> > binary is built).
>> Provided package can never be versioned since dpkg does not support
>> that. Also, if 2 or more packages provide a virtual package then you
>> may not Build-Depend on that virtual package but must use "real |
>> virt". But I don't think this is the case for libgnutls-dev.
>
> (Please note there is a real libgnutls-dev package, only
> libgnutls11-dev Provides libgnutls-dev, there's no libgnutls12- or
> 13-dev packages; that's why I don't need "real | virt", I use "real".)
>
> Thanks for your comments, I'll close this bug as I think this is
> regular practice.
Ahh, sorry, I missed that libgnutls-dev itself exists too. If you use
a versioned Build-Depends on it that will prevent libgnutls11-dev to
be taken instead accidentaly. So I guess that is a good idea.
MfG
Goswin
Reply to: