cabal-install-1.18 on GHC-6.12

I am trying to compile cabal-install-1.18.0.2 on GHC-6.12.1. It aborts with: ... [12 of 73] Compiling Distribution.Client.Compat.Semaphore ( Distribution/Client/Compat/Semaphore.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/Semaphore.o ) Distribution/Client/Compat/Semaphore.hs:12:26: Module `Control.Exception' does not export `mask_' That is, you must either narrow the dependency on 'base' or avoid 'mask_'.

Hi,
On Sun, Oct 27, 2013 at 9:50 PM, Henning Thielemann
I am trying to compile cabal-install-1.18.0.2 on GHC-6.12.1. It aborts with:
... [12 of 73] Compiling Distribution.Client.Compat.Semaphore ( Distribution/Client/Compat/Semaphore.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/Semaphore.o )
Distribution/Client/Compat/Semaphore.hs:12:26: Module `Control.Exception' does not export `mask_'
That is, you must either narrow the dependency on 'base' or avoid 'mask_'.
Looks like this commit is the problem: https://github.com/haskell/cabal/commit/877ef34712255d7c99b36eea4b9c3adfaada... Johan, was it you who cherry-picked it from master? Wasn't 1.18 supposed to still support 6.12? I've bumped the dependency on base to 4.3 in master. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

On Sun, Oct 27, 2013 at 4:58 PM, Mikhail Glushenkov < the.dead.shall.rise@gmail.com> wrote:
Hi,
On Sun, Oct 27, 2013 at 9:50 PM, Henning Thielemann
wrote: I am trying to compile cabal-install-1.18.0.2 on GHC-6.12.1. It aborts with:
... [12 of 73] Compiling Distribution.Client.Compat.Semaphore ( Distribution/Client/Compat/Semaphore.hs, dist/build/cabal/cabal-tmp/Distribution/Client/Compat/Semaphore.o )
Distribution/Client/Compat/Semaphore.hs:12:26: Module `Control.Exception' does not export `mask_'
That is, you must either narrow the dependency on 'base' or avoid
'mask_'.
Looks like this commit is the problem:
https://github.com/haskell/cabal/commit/877ef34712255d7c99b36eea4b9c3adfaada...
Johan, was it you who cherry-picked it from master? Wasn't 1.18 supposed to still support 6.12?
This is my fault. I don't know if it's worth another Cabal release to fix it though. 6.12 is more than 3 years old now.

On Mon, 28 Oct 2013, Johan Tibell wrote:
This is my fault. I don't know if it's worth another Cabal release to fix it though. 6.12 is more than 3 years old now.
I have three (remote) machines where I could compile and run my stuff, all of them have GHC-6.12.1 (Ubuntu 10.04 LTS). If mask_ can be easily replaced by something different, this would be nice.

Hi,
On Mon, Oct 28, 2013 at 9:52 AM, Henning Thielemann
On Mon, 28 Oct 2013, Johan Tibell wrote:
This is my fault. I don't know if it's worth another Cabal release to fix it though. 6.12 is more than 3 years old now.
I have three (remote) machines where I could compile and run my stuff, all of them have GHC-6.12.1 (Ubuntu 10.04 LTS). If mask_ can be easily replaced by something different, this would be nice.
You can check out the 1.18 branch from Git and revert that commit manually. -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments

On 2013-10-28 at 09:31:49 +0100, Johan Tibell wrote: [...]
Johan, was it you who cherry-picked it from master? Wasn't 1.18 supposed to still support 6.12?
This is my fault. I don't know if it's worth another Cabal release to fix it though. 6.12 is more than 3 years old now.
Fwiw, GHC 6.12.x was the last major GHC release *not* to support 'default-language: Haskell2010' out-of-the-box. Btw, are there any Linux distribution release out there which have not reached end-of-life and yet provide GHC 6.12.x as their default GHC? Or put differently, how many active GHC <=6.12.x users are there, which haven't upgraded GHC but still want to upgrade Cabal & cabal-install? Cheers, hvr

On 28 October 2013 18:39, Herbert Valerio Riedel
Btw, are there any Linux distribution release out there which have not reached end-of-life and yet provide GHC 6.12.x as their default GHC?
(The EPEL 5 repo for RHEL5 and derivatives still has ghc-6.12.3 but RHEL5 is also getting old...: https://apps.fedoraproject.org/packages/ghc I guess Debian squeeze (oldstable) also has it... shrug)
Or put differently, how many active GHC <=6.12.x users are there, which haven't upgraded GHC but still want to upgrade Cabal & cabal-install?
Yeah that is probably the right question... My guess would be a small fraction.
participants (5)
-
Henning Thielemann
-
Herbert Valerio Riedel
-
Jens Petersen
-
Johan Tibell
-
Mikhail Glushenkov