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

Matthias Klose doko at debian.org
Tue Aug 23 19:41:43 UTC 2011


On 08/23/2011 08:51 PM, Joachim Breitner wrote:
> 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?

yes, I think this approach will work.


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

I wouldn't call 283 binNMUs cosmetic ;)


  Matthias





More information about the Pkg-haskell-maintainers mailing list