[Pkg-haskell-maintainers] Bug#778987: Bug#778987: mismatched versions of cabal-install and Cabal result in build failures

Sven Bartscher sven.bartscher at weltraumschlangen.de
Mon Feb 23 06:49:18 UTC 2015


> Am 22.02.2015 um 21:20 schrieb Joachim Breitner <nomeata at debian.org>:
> 
> Hi,
> 
> Am Sonntag, den 22.02.2015, 12:35 -0400 schrieb Joey Hess:
>> Package: cabal-install
>> Version: 1.20.0.3-1
>> Severity: normal
>> 
>> Since Cabal is back at version 1.16.0, a package with a custom Setup.hs
>> will be built linked against that. However, cabal-install 1.20 puts
>> things in the default ~/.cabal/config that cause such a Setup to crash.
> 
> uh, annoying. It seems that cabal-install needs to depend on (at least)
> the version of libghc-cabal-dev it was built with, which hopefully means
> that Setup will be built against that latest version.
> 
> This looks similar to #774802. Sven, since you investigated that issue,
> what do you think is the best solution for this one?

Making cabal-install depend on the newer version of libghc-cabal-dev,
should fix this. It would also spare us from finding errors like this
in other packages. If we decide to do this, we should probably
transition to stop shipping cabal together with GHC, since no one will
have cabal-install and thus libghc-cabal-dev installed, which defies
the reason to have the GHC version of cabal installed.

Regards
Sven



More information about the Pkg-haskell-maintainers mailing list