Bug#1007178: Incorrect dependency from libghc-curl-dev?

Keith A. Bare II keithbare2 at gmail.com
Sat Mar 12 19:55:27 GMT 2022


Package: libghc-curl-dev
Version: 1.3.8-12+b1

I'm attempting to build a system for CMU Computer Club users that will
provide development environments and some common libraries for several
programming languages.  This ran into problems due to conflicts between
libcurl4-gnutls-dev and libcurl4-openssl-dev.

Haskell seemed to be the only language with curl bindings depending on the
OpenSSL variant, so I figured I might need to drop it.

But when I looked at the dependencies more carefully, I noticed:

(bullseye)kbare at builds:~$ apt-cache show libghc-curl-dev
Package: libghc-curl-dev
Source: haskell-curl (1.3.8-12)
Version: 1.3.8-12+b1
Installed-Size: 3035
Maintainer: Debian Haskell Group <
pkg-haskell-maintainers at lists.alioth.debian.org>
Architecture: amd64
Provides: libghc-curl-dev-1.3.8-5dcc8
Depends: libcurl4-openssl-dev, libghc-base-dev-4.13.0.0-2f220,
libghc-bytestring-dev-0.10.10.1-c40ee, libghc-containers-dev-0.6.2.1-ab1cf,
libc6 (>= 2.2.5), libcurl3-gnutls (>= 7.16.2), libgmp10

So libghc-curl-dev says it depends on the curl OpenSSL development package
but the curl GNUTLS runtime shared library.  Looking closer at the source
package, I see the Build-Dependency is actually against the GNUTLS flavor
of libcurl, so it seems like the dependency on libcurl4-openssl-dev may be
in error.

Found this working with Debian 11/bullseye.

--Keith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20220312/f6d6e048/attachment.htm>


More information about the Pkg-haskell-maintainers mailing list