libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs:2646:26: error: Couldn't match kind ?*? with ?#? When matching types t1 :: * Addr# :: # In the expression: x In the expression: let x = x in x libraries/ghc-prim/dist-install/build/autogen/GHC/Prim.hs:3170:1: error: Top-level bindings for unlifted types aren't allowed: proxy# = let x = x in x prefetchValue2# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1201) prefetchByteArray1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1204) prefetchMutableByteArray1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1207) prefetchAddr1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1210) prefetchValue1# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1213) prefetchByteArray0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1216) prefetchMutableByteArray0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1219) prefetchAddr0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1222) prefetchValue0# (libraries/ghc-prim/dist-install/build/GHC/PrimopWrappers.hs:1225) 100% ( 4 / 4) in 'GHC.Magic' 86% ( 12 / 14) in 'GHC.Types' Missing documentation for: Bool (libraries/ghc-prim/./GHC/Types.hs:43) Ordering (libraries/ghc-prim/./GHC/Types.hs:76) gmake[1]: *** [libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock] Error 1 libraries/ghc-prim/ghc.mk:4: recipe for target 'libraries/ghc-prim/dist-install/doc/html/ghc-prim/ghc-prim.haddock' failed Makefile:72: recipe for target 'all' failed gmake: *** [all] Error 2