Bug#575195: opal should build-depend on libsrtp-dev, and libopal-dev should depend on libsrtp0-dev

Eugen Dedu Eugen.Dedu at pu-pm.univ-fcomte.fr
Sat May 15 20:32:38 UTC 2010


On 15/05/10 12:03, Mark Purcell wrote:
> On Saturday 15 May 2010 07:22:55 Eugen Dedu wrote:
>> I still do not understand, could you please elaborate?  On the system
>> where libopal is linked to srtp, libopal-dev too uses srtp.
> Opal .debs get built on a machine (user, binNMU, buildd) with srtp-dev
> installed.

Many people do this error, I do not understand why.  Only source 
packages must be uploaded, not binary ones!!  Moreover, the binary 
packages must be created in pbuilder, not in packager's or user's 
day-to-day partition!!  About one year ago there was a post on debian 
lists giving this as a recommandation, I do not know how this was continued.

This solves all the problems.

> These .debs then get installed on a machine without srtp-dev. You would be
> surprised how often this can occur. No deps automatically pull in srtp libs.
>
> User then builds an application with opal, however as srpt is missing build
> fails, both headers and libs...

Libraries are automatically added in build-depends.  Only the header 
might be missing.

> Options:
>
> 1. Make explicit Build-Depends: libsrtp-dev, then it is expected that all
> .debs will include depends, and when the package above are installed they srtp
> deps will be pulled in.  packages are working as expected...
>
> 2. Make explicit Build-Conflicts: libsrtp-dev, then it is expected that all
> .debs will not depend on srtp.  If a user wants to include srtp support, then
> they need to change the package configuration and we can claim it is
> unsupported.
>
>
> Thus the recommend that we go for option 1.
>
> Mark





More information about the Pkg-voip-maintainers mailing list