[Pkg-haskell-maintainers] Bug#541203: Bug#541203: haskell-edison-api: Fails to install due to broken dependencies

Joachim Breitner nomeata at debian.org
Wed Aug 12 21:28:24 UTC 2009


Hi Iain,

Am Mittwoch, den 12.08.2009, 14:01 +0100 schrieb Iain Lane:
> I don't quite know what's wrong with this package, hence filing a bug
> instead of just fixing it myself...
> 
> I've rebuilt it on Karmic and noticed that the dependencies aren't
> autogenerated correctly for -dev; namely there should be a dep on
> libghc6-mtl-dev that isn't there.
> 
> libghc6-edison-api-dev
>   Depends: ghc6
>   Depends: ghc6
>   Depends: libc6
>   Depends: libffi5
>   Depends: libgmp3c2
>   Suggests: <libghc6-edison-api-doc>
>   Suggests: libghc6-edison-api-prof
>   Recommends: libghc6-edison-core-dev
> 
> This means that the package fails to install at the postinst (ghc-pkg register) stage.
> 
> I've hardcoded the dependency in Ubuntu for now, but obviously the
> correct solution should be found of possible.

I can not reproduce it on Debian unstable:

haskell-edison-api-1.2.1 $ debc|grep libghc6-mtl-dev
 Depends: ghc6 (>= 6.10.4-1), ghc6 (<< 6.10.4+), libghc6-mtl-dev (>= 1.1.0.2-7+b1), libghc6-mtl-dev (<< 1.1.0.2+), libc6 (>= 2.3.3), libffi5 (>= 3.0.4), libgmp3c2

It rather looks like something goes wrong in dh_haskell_depends on
Ubuntu, and you’ll need to have a closer look at that. Maybe add some
debugging output to functions like providing_package_for_ghc6()
in /usr/share/haskell-devscripts/Dh_Haskell.sh and see if it works as
expected.

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: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20090812/000ac124/attachment.pgp>


More information about the Pkg-haskell-maintainers mailing list