patch applied (cabal): "Fix the GHC HEAD build: Don't use deprecated catch function"

Tue Apr 26 16:20:15 PDT 2011 Ian Lynagh

On Tue, 2011-04-26 at 16:26 -0700, Ian Lynagh wrote:
Tue Apr 26 16:20:15 PDT 2011 Ian Lynagh
* Fix the GHC HEAD build: Don't use deprecated catch function We could make this conditional, to support old GHC versions, but I don't think it is worth the cost to support 6.8. By the time this Cabal is released, you will need at least 6.12 (if not higher) to build the GHC it comes with. M ./Distribution/Simple/Build/PathsModule.hs -2 +5
I just recently applied a patch here to support ghc-6.8, sent in by a contributor. There's two issues, one is building Cabal with ghc-6.8, and the other is using a recent Cabal version to work with ghc-6.8 at runtime. The generated paths module has to compile with the target compiler, including older ghc and hugs, nhc etc. Duncan

On Wed, Apr 27, 2011 at 01:16:12PM +0100, Duncan Coutts wrote:
The generated paths module has to compile with the target compiler, including older ghc
Why? People who really are stuck with GHC 6.8 already have a Cabal that works with it. They're going to be stuck if they want to use anything that requires base 4, or if they want to build a recent GHC, etc, though. Like I say, I don't think the cost of keeping it working is worth it, given the limited resources we have. Thanks Ian

On Wed, Apr 27, 2011 at 02:02:25PM +0100, Ian Lynagh wrote:
On Wed, Apr 27, 2011 at 01:16:12PM +0100, Duncan Coutts wrote:
The generated paths module has to compile with the target compiler, including older ghc
Why? People who really are stuck with GHC 6.8 already have a Cabal that works with it. They're going to be stuck if they want to use anything that requires base 4, or if they want to build a recent GHC, etc, though.
The version of GHC on abbot is 6.8.2, so this can't be used by the hackage scripts.

On Mon, May 23, 2011 at 03:54:24PM +0100, Ross Paterson wrote:
On Wed, Apr 27, 2011 at 02:02:25PM +0100, Ian Lynagh wrote:
On Wed, Apr 27, 2011 at 01:16:12PM +0100, Duncan Coutts wrote:
The generated paths module has to compile with the target compiler, including older ghc
Why? People who really are stuck with GHC 6.8 already have a Cabal that works with it. They're going to be stuck if they want to use anything that requires base 4, or if they want to build a recent GHC, etc, though.
The version of GHC on abbot is 6.8.2, so this can't be used by the hackage scripts.
We have /srv/local/ghc-6.12.3/bin/ghc on abbot, but really we should be upgrading to the new Debian stable release anyway. Thanks Ian
participants (3)
-
Duncan Coutts
-
Ian Lynagh
-
Ross Paterson