On 2013-12-03 Sergey Suslov <[email protected]> wrote:
> 2013/12/2 Andreas Metzler <[email protected]>:
>> please change boinctui's build-dependency from libgnutls-dev to
>> libgnutls-openssl-dev. The latter is a virtual package provided by
>> libgnutls-dev in sid and libgnutls28-dev in experimental. Having the
>> reverse dependencies change should allow us to transition to the newer
>> version. (See #726828.)

>> I have test-built the package against libgnutls28-dev/experimental.


> I tried to apply this patch and can't build package on my ubuntu
> 12.04LTS because "libgnutls-openssl-dev" not exist.

> I think will be better to use alternative "|" in "Build-Depends" like this:

> Build-Depends: autoconf, debhelper (>= 9), autotools-dev,
>  libncursesw5-dev, libncurses5-dev, libgnutls-openssl-dev |
> libgnutls-dev, libexpat1-dev

> In that case we keep ability to build package for old distributions.

Hello Sergey,

Sadly I do not think it is possible to have one set of dependencies that
works both for old and future new systems. Backports will need to use
a different set of deps.

Afaik "libgnutls-openssl-dev | libgnutls-dev" will not work for
autobuilders of distributions without libgnutls-openssl-dev package
because the build-dep resolver only tries the first alternative. Also
it could cause build-problems on non-minimal chroots in the
future. If the chroot already has libgnutls-dev installed (a
newer version, without openssl-wrapper support) it will not install
libgnutls-openssl-dev and the build will fail.

cu Andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to