[Pkg-haskell-maintainers] Bug#639015: dh_haskell_shlibdeps adds not needed libffi5 and libgmp10 dependencies

Joachim Breitner nomeata at debian.org
Tue Aug 23 18:51:27 UTC 2011


Hi Matthias,

Am Dienstag, den 23.08.2011, 19:36 +0200 schrieb Matthias Klose:
> Package: haskell-devscripts
> Version: 0.8.8
> Severity: important
> 
> $ apt-cache rdepends libffi5 | grep ghc|wc -l
> 283
> $ apt-cache rdepends libgmp10 | grep ghc|wc -l
> 283
> 
> it looks like these dependencies are introduced by the script, and are only
> needed for the haskell runtime. so these dependencies should be filtered out, at
> least for packages like haskell-url.

thanks for the report. What dh_haskell_shlibdeps does is: It builds a
Haskell binary using the library in question (e.g. haskell-url) and
checks which libraries it links against. So if the user wants to use
haskell-url, he needs to have these libraries installed. In that sense,
the dependencies are not wrong.

But I guess you are arguing that they are inappropriate, as it is not
haskell-url that pulls them in, and redundant, because ghc already
depends on these libraries.

What if dh_haskell_shlibdeps compares the libraries required to build a
program with haskell-url with the list when building without, and only
adds these?

But is there really a problem you are trying to solve, or is it more or
less just cosmetics?

Greetings,
Joachim

-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20110823/9d015df2/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list