Hey, ghc-mod depends on the ghc, ghc-7.8 depends on Cabal-1.18, yet in the typescript I see: Dependency Cabal >=1.18: using Cabal-1.20.0.2 which is probably the issue. >From the errors you're getting it looks like somehow ghc is getting `-package-id` flags for multiple versions of Cabal, though I'm not sure how this could actually get past cabal's configure stage since that usually requires linking against only one version of each package AFAIK. Unless debuild doesn't acutally use `cabal configure`? --Daniel From: Dmitry Bogatov <KAction@gnu.org> Subject: Failed to build ghc-mod at experimental Date: Sun, 18 Jan 2015 06:52:48 +0300 > Hello! In course of my building packages for `git-vogue`, I need > to build ghc-mod library. > > I download sources, but, strangely, `debuild -us -uc` fails with > compains about two different cabal versions. > > Moreover, just `cabal configure && cabal build` success. I live on > experimental (ghc-7.8.4). Any tips how debug it, please? > > Typescript attached. > > -- > Best regards, Dmitry Bogatov <KAction@gnu.org>, > Free Software supporter, esperantisto and netiquette guardian. > GPG: 54B7F00D
Attachment:
pgpiqj3ghJ0gb.pgp
Description: PGP signature