[Haskell-cafe] zlib build failure on recent GHC

2011-11-07 Thread Ben Gamari
With GHC 1ece7b27a11c6947f0ae3a11703e22b7065a6b6c zlib fails to build, apparently due to Safe Haskell (bug 5610 [1]). The error is specifically, $ cabal install zlib Resolving dependencies... Configuring zlib-0.5.3.1... Preprocessing library zlib-0.5.3.1... Building zlib-0.5.3.1... [1 of 5]

Re: [Haskell-cafe] zlib build failure on recent GHC

2011-11-07 Thread Johan Tibell
On Mon, Nov 7, 2011 at 7:53 AM, Ben Gamari bgamari.f...@gmail.com wrote: With GHC 1ece7b27a11c6947f0ae3a11703e22b7065a6b6c zlib fails to build, apparently due to Safe Haskell (bug 5610 [1]). The error is specifically, $ cabal install zlib Resolving dependencies... Configuring

Re: [Haskell-cafe] zlib build failure on recent GHC

2011-11-07 Thread Jason Dagit
On Mon, Nov 7, 2011 at 8:17 AM, Johan Tibell johan.tib...@gmail.com wrote: On Mon, Nov 7, 2011 at 7:53 AM, Ben Gamari bgamari.f...@gmail.com wrote: With GHC 1ece7b27a11c6947f0ae3a11703e22b7065a6b6c zlib fails to build, apparently due to Safe Haskell (bug 5610 [1]). The error is specifically,

Re: [Haskell-cafe] zlib build failure on recent GHC

2011-11-07 Thread Johan Tibell
On Mon, Nov 7, 2011 at 12:06 PM, Jason Dagit dag...@gmail.com wrote: This is due to a change in how FFI imports and newtypes work. GHC was recently changed to not allow you to use newtypes in FFI imports unless the constructor of the newtype is in scope. This broke quite a few libraries.

Re: [Haskell-cafe] zlib build failure on recent GHC

2011-11-07 Thread Daniel Fischer
On Monday 07 November 2011, 21:06:17, Jason Dagit wrote: On Mon, Nov 7, 2011 at 8:17 AM, Johan Tibell johan.tib...@gmail.com wrote: This is due to a change in how FFI imports and newtypes work. GHC was recently changed to not allow you to use newtypes in FFI imports unless the constructor