#5610: zlib fails to build due to Safe Haskell on GHC master
-------------------------------+--------------------------------------------
Reporter: bgamari | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries (other)
Version: 7.3 | Keywords: zlib
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86_64 (amd64) | Failure: None/Unknown
-------------------------------+--------------------------------------------
Comment(by bgamari):
According to Johan Tibell on haskell-cafe,
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.
I
have patched a few of them and I've sent a patch to the zlib maintainer.
-- Johan
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5610#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs