Resolving dependencies... Configuring base-orphans-0.5.4... Configuring cabal-doctest-1... Building base-orphans-0.5.4... Building cabal-doctest-1... Installed base-orphans-0.5.4 Configuring cereal-0.5.4.0... Building cereal-0.5.4.0... Configuring data-default-class-0.1.2.0... Installed cabal-doctest-1 Building data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Installed data-default-class-0.1.2.0 Building dlist-0.8.0.2... Configuring fail-4.9.0.0... Installed cereal-0.5.4.0 Configuring entropy-0.3.7... Installed dlist-0.8.0.2 Building fail-4.9.0.0... Configuring mtl-2.2.1... Installed fail-4.9.0.0 Building mtl-2.2.1... Building entropy-0.3.7... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building old-locale-1.0.0.7... Configuring fficxx-runtime-0.3... Installed entropy-0.3.7 Building fficxx-runtime-0.3... Configuring parallel-3.2.1.0... Installed old-locale-1.0.0.7 Building parallel-3.2.1.0... Configuring prelude-extras-0.4.0.3... Installed fficxx-runtime-0.3 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.2.0... Installed parallel-3.2.1.0 Building primitive-0.6.2.0... Configuring reflection-2.1.2... Installed prelude-extras-0.4.0.3 Building reflection-2.1.2... Configuring random-1.1... Installed primitive-0.6.2.0 Building random-1.1... Configuring safe-0.3.11... Installed reflection-2.1.2 Building safe-0.3.11... Configuring split-0.2.3.1... Installed random-1.1 Building split-0.2.3.1... Configuring semigroups-0.18.2... Installed safe-0.3.11 Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed split-0.2.3.1 Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed semigroups-0.18.2 Building transformers-compat-0.5.1.4... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Configuring unexceptionalio-0.3.0... Installed stm-2.4.4.1 Building text-1.2.2.1... Building unexceptionalio-0.3.0... Installed unexceptionalio-0.3.0 Configuring data-default-instances-containers-0.0.1... Building data-default-instances-containers-0.0.1... Configuring data-default-instances-old-locale-0.0.1... Installed data-default-instances-containers-0.0.1 Building data-default-instances-old-locale-0.0.1... Configuring data-default-instances-dlist-0.0.1... Installed data-default-instances-old-locale-0.0.1 Building data-default-instances-dlist-0.0.1... Configuring old-time-1.1.0.3... Installed data-default-instances-dlist-0.0.1 Building old-time-1.1.0.3... Configuring MonadRandom-0.5... Installed old-time-1.1.0.3 Building MonadRandom-0.5... Configuring mmorph-1.0.9... Installed text-1.2.2.1 Building mmorph-1.0.9... Configuring vector-0.12.0.0... Installed MonadRandom-0.5 Building vector-0.12.0.0... Configuring StateVar-1.1.0.4... Installed mmorph-1.0.9 Building StateVar-1.1.0.4... Configuring tagged-0.8.5... Installed StateVar-1.1.0.4 Building tagged-0.8.5... Configuring transformers-base-0.4.4... Installed tagged-0.8.5 Building transformers-base-0.4.4... Configuring exceptions-0.8.3... Installed transformers-base-0.4.4 Building exceptions-0.8.3... Configuring errors-2.1.3... Installed exceptions-0.8.3 Building errors-2.1.3... Installed errors-2.1.3 Configuring data-default-0.7.1.1... Building data-default-0.7.1.1... Configuring polyparse-1.12... Installed data-default-0.7.1.1 Building polyparse-1.12... Configuring hashable-1.2.5.0... Installed vector-0.12.0.0 Building hashable-1.2.5.0... Configuring template-0.2.0.10... Installed polyparse-1.12 Building template-0.2.0.10... Configuring crypto-api-0.13.2... Installed hashable-1.2.5.0 Building crypto-api-0.13.2... Configuring monad-control-1.0.1.0... Installed template-0.2.0.10 Building monad-control-1.0.1.0... Configuring distributive-0.5.2... Installed monad-control-1.0.1.0 Building distributive-0.5.2... Installed crypto-api-0.13.2 Configuring cpphs-1.20.2... Building cpphs-1.20.2... Configuring unordered-containers-0.2.7.2... Installed distributive-0.5.2 Building unordered-containers-0.2.7.2... Configuring void-0.7.1... Installed cpphs-1.20.2 Building void-0.7.1... Configuring pureMD5-2.1.3... Installed void-0.7.1 Installed unordered-containers-0.2.7.2 Building pureMD5-2.1.3... Configuring haskell-src-exts-1.19.1... Building haskell-src-exts-1.19.1... Configuring contravariant-1.4... Installed pureMD5-2.1.3 Building contravariant-1.4... Installed contravariant-1.4 Configuring comonad-5... Building comonad-5... Installed comonad-5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring semigroupoids-5.1... Building semigroupoids-5.1... Configuring profunctors-5.2... Installed semigroupoids-5.1 Building profunctors-5.2... Installed profunctors-5.2 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring either-4.4.1.1... Building either-4.4.1.1... Configuring adjunctions-4.3... Installed either-4.4.1.1 Building adjunctions-4.3... Installed adjunctions-4.3 Configuring kan-extensions-5.0.1... Building kan-extensions-5.0.1... Installed kan-extensions-5.0.1 Configuring lens-4.15.1... Building lens-4.15.1... Installed haskell-src-exts-1.19.1 Installed lens-4.15.1 Configuring fficxx-0.3... Building fficxx-0.3... Failed to install fficxx-0.3 Build log ( /home/builder/.cabal/logs/fficxx-0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-20156/fficxx-0.3' Configuring fficxx-0.3... Building fficxx-0.3... Preprocessing library fficxx-0.3... [ 1 of 16] Compiling FFICXX.Generate.Util.HaskellSrcExts ( lib/FFICXX/Generate/Util/HaskellSrcExts.hs, dist/build/FFICXX/Generate/Util/HaskellSrcExts.o ) lib/FFICXX/Generate/Util/HaskellSrcExts.hs:19:22: error: • Expecting one more argument to ‘QName’ Expected a type, but ‘QName’ has kind ‘* -> *’ • In the type signature: unqual :: String -> QName lib/FFICXX/Generate/Util/HaskellSrcExts.hs:22:20: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: tycon :: String -> Type lib/FFICXX/Generate/Util/HaskellSrcExts.hs:25:23: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: conDecl :: String -> [Type] -> ConDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:25:32: error: • Expecting one more argument to ‘ConDecl’ Expected a type, but ‘ConDecl’ has kind ‘* -> *’ • In the type signature: conDecl :: String -> [Type] -> ConDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:28:25: error: • Expecting one more argument to ‘Name’ Expected a type, but ‘Name’ has kind ‘* -> *’ • In the type signature: recDecl :: String -> [([Name], Type)] -> ConDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:28:31: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: recDecl :: String -> [([Name], Type)] -> ConDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:28:41: error: • Expecting one more argument to ‘ConDecl’ Expected a type, but ‘ConDecl’ has kind ‘* -> *’ • In the type signature: recDecl :: String -> [([Name], Type)] -> ConDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:31:28: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: FFICXX.Generate.Util.HaskellSrcExts.app :: String -> String -> Exp lib/FFICXX/Generate/Util/HaskellSrcExts.hs:34:20: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: mkVar :: String -> Exp lib/FFICXX/Generate/Util/HaskellSrcExts.hs:37:18: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: con :: String -> Exp lib/FFICXX/Generate/Util/HaskellSrcExts.hs:40:21: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: mkTVar :: String -> Type lib/FFICXX/Generate/Util/HaskellSrcExts.hs:43:21: error: • Expecting one more argument to ‘Pat’ Expected a type, but ‘Pat’ has kind ‘* -> *’ • In the type signature: mkPVar :: String -> Pat lib/FFICXX/Generate/Util/HaskellSrcExts.hs:46:24: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: mkPVarSig :: String -> Type -> Pat lib/FFICXX/Generate/Util/HaskellSrcExts.hs:46:32: error: • Expecting one more argument to ‘Pat’ Expected a type, but ‘Pat’ has kind ‘* -> *’ • In the type signature: mkPVarSig :: String -> Type -> Pat lib/FFICXX/Generate/Util/HaskellSrcExts.hs:49:10: error: • Expecting one more argument to ‘Pat’ Expected a type, but ‘Pat’ has kind ‘* -> *’ • In the type signature: pbind :: Pat -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:49:17: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: pbind :: Pat -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:49:30: error: • Expecting one more argument to ‘Binds’ Expected a type, but ‘Binds’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Binds’ In the type signature: pbind :: Pat -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:49:39: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: pbind :: Pat -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:52:22: error: • Expecting one more argument to ‘TyVarBind’ Expected a type, but ‘TyVarBind’ has kind ‘* -> *’ • In the type signature: mkTBind :: String -> TyVarBind lib/FFICXX/Generate/Util/HaskellSrcExts.hs:55:23: error: • Expecting one more argument to ‘Pat’ Expected a type, but ‘Pat’ has kind ‘* -> *’ • In the type signature: mkBind1 :: String -> [Pat] -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:55:31: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: mkBind1 :: String -> [Pat] -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:55:44: error: • Expecting one more argument to ‘Binds’ Expected a type, but ‘Binds’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Binds’ In the type signature: mkBind1 :: String -> [Pat] -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:55:53: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkBind1 :: String -> [Pat] -> Exp -> Maybe Binds -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:59:20: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: mkFun :: String -> Type -> [Pat] -> Exp -> Maybe Binds -> [Decl] lib/FFICXX/Generate/Util/HaskellSrcExts.hs:59:29: error: • Expecting one more argument to ‘Pat’ Expected a type, but ‘Pat’ has kind ‘* -> *’ • In the type signature: mkFun :: String -> Type -> [Pat] -> Exp -> Maybe Binds -> [Decl] lib/FFICXX/Generate/Util/HaskellSrcExts.hs:59:37: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: mkFun :: String -> Type -> [Pat] -> Exp -> Maybe Binds -> [Decl] lib/FFICXX/Generate/Util/HaskellSrcExts.hs:59:50: error: • Expecting one more argument to ‘Binds’ Expected a type, but ‘Binds’ has kind ‘* -> *’ • In the first argument of ‘Maybe’, namely ‘Binds’ In the type signature: mkFun :: String -> Type -> [Pat] -> Exp -> Maybe Binds -> [Decl] lib/FFICXX/Generate/Util/HaskellSrcExts.hs:59:60: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkFun :: String -> Type -> [Pat] -> Exp -> Maybe Binds -> [Decl] lib/FFICXX/Generate/Util/HaskellSrcExts.hs:62:23: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: mkFunSig :: String -> Type -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:62:31: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkFunSig :: String -> Type -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:65:12: error: • Expecting one more argument to ‘Context’ Expected a type, but ‘Context’ has kind ‘* -> *’ • In the type signature: mkClass :: Context -> String -> [TyVarBind] -> [ClassDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:65:34: error: • Expecting one more argument to ‘TyVarBind’ Expected a type, but ‘TyVarBind’ has kind ‘* -> *’ • In the type signature: mkClass :: Context -> String -> [TyVarBind] -> [ClassDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:65:49: error: • Expecting one more argument to ‘ClassDecl’ Expected a type, but ‘ClassDecl’ has kind ‘* -> *’ • In the type signature: mkClass :: Context -> String -> [TyVarBind] -> [ClassDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:65:63: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkClass :: Context -> String -> [TyVarBind] -> [ClassDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:68:15: error: • Expecting one more argument to ‘Context’ Expected a type, but ‘Context’ has kind ‘* -> *’ • In the type signature: mkInstance :: Context -> String -> [Type] -> [InstDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:68:37: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: mkInstance :: Context -> String -> [Type] -> [InstDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:68:47: error: • Expecting one more argument to ‘InstDecl’ Expected a type, but ‘InstDecl’ has kind ‘* -> *’ • In the type signature: mkInstance :: Context -> String -> [Type] -> [InstDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:68:60: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkInstance :: Context -> String -> [Type] -> [InstDecl] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:71:22: error: • Expecting one more argument to ‘TyVarBind’ Expected a type, but ‘TyVarBind’ has kind ‘* -> *’ • In the type signature: mkData :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:71:37: error: • Expecting one more argument to ‘QualConDecl’ Expected a type, but ‘QualConDecl’ has kind ‘* -> *’ • In the type signature: mkData :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:71:54: error: • Expecting one more argument to ‘Deriving’ Expected a type, but ‘Deriving’ has kind ‘* -> *’ • In the type signature: mkData :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:71:67: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkData :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:74:25: error: • Expecting one more argument to ‘TyVarBind’ Expected a type, but ‘TyVarBind’ has kind ‘* -> *’ • In the type signature: mkNewtype :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:74:40: error: • Expecting one more argument to ‘QualConDecl’ Expected a type, but ‘QualConDecl’ has kind ‘* -> *’ • In the type signature: mkNewtype :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:74:57: error: • Expecting one more argument to ‘Deriving’ Expected a type, but ‘Deriving’ has kind ‘* -> *’ • In the type signature: mkNewtype :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:74:70: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkNewtype :: String -> [TyVarBind] -> [QualConDecl] -> [Deriving] -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:77:38: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: mkForImpCcall :: String -> String -> Type -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:77:46: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkForImpCcall :: String -> String -> Type -> Decl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:80:24: error: • Expecting one more argument to ‘ModulePragma’ Expected a type, but ‘ModulePragma’ has kind ‘* -> *’ • In the type signature: mkModule :: String -> [ModulePragma] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:80:42: error: • Expecting one more argument to ‘ImportDecl’ Expected a type, but ‘ImportDecl’ has kind ‘* -> *’ • In the type signature: mkModule :: String -> [ModulePragma] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:80:58: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkModule :: String -> [ModulePragma] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:80:67: error: • Expecting one more argument to ‘Module’ Expected a type, but ‘Module’ has kind ‘* -> *’ • In the type signature: mkModule :: String -> [ModulePragma] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:83:25: error: • Expecting one more argument to ‘ModulePragma’ Expected a type, but ‘ModulePragma’ has kind ‘* -> *’ • In the type signature: mkModuleE :: String -> [ModulePragma] -> [ExportSpec] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:83:43: error: • Expecting one more argument to ‘ExportSpec’ Expected a type, but ‘ExportSpec’ has kind ‘* -> *’ • In the type signature: mkModuleE :: String -> [ModulePragma] -> [ExportSpec] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:83:59: error: • Expecting one more argument to ‘ImportDecl’ Expected a type, but ‘ImportDecl’ has kind ‘* -> *’ • In the type signature: mkModuleE :: String -> [ModulePragma] -> [ExportSpec] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:83:75: error: • Expecting one more argument to ‘Decl’ Expected a type, but ‘Decl’ has kind ‘* -> *’ • In the type signature: mkModuleE :: String -> [ModulePragma] -> [ExportSpec] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:83:84: error: • Expecting one more argument to ‘Module’ Expected a type, but ‘Module’ has kind ‘* -> *’ • In the type signature: mkModuleE :: String -> [ModulePragma] -> [ExportSpec] -> [ImportDecl] -> [Decl] -> Module lib/FFICXX/Generate/Util/HaskellSrcExts.hs:86:23: error: • Expecting one more argument to ‘ImportDecl’ Expected a type, but ‘ImportDecl’ has kind ‘* -> *’ • In the type signature: mkImport :: String -> ImportDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:89:38: error: • Expecting one more argument to ‘ImportDecl’ Expected a type, but ‘ImportDecl’ has kind ‘* -> *’ • In the type signature: mkImportExp :: String -> [String] -> ImportDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:93:26: error: • Expecting one more argument to ‘ImportDecl’ Expected a type, but ‘ImportDecl’ has kind ‘* -> *’ • In the type signature: mkImportSrc :: String -> ImportDecl lib/FFICXX/Generate/Util/HaskellSrcExts.hs:96:21: error: • Expecting one more argument to ‘ModulePragma’ Expected a type, but ‘ModulePragma’ has kind ‘* -> *’ • In the type signature: lang :: [String] -> ModulePragma lib/FFICXX/Generate/Util/HaskellSrcExts.hs:99:8: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: dot :: Exp -> Exp -> Exp lib/FFICXX/Generate/Util/HaskellSrcExts.hs:99:15: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: dot :: Exp -> Exp -> Exp lib/FFICXX/Generate/Util/HaskellSrcExts.hs:99:22: error: • Expecting one more argument to ‘Exp’ Expected a type, but ‘Exp’ has kind ‘* -> *’ • In the type signature: dot :: Exp -> Exp -> Exp lib/FFICXX/Generate/Util/HaskellSrcExts.hs:102:10: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: tyPtr :: Type lib/FFICXX/Generate/Util/HaskellSrcExts.hs:105:17: error: • Expecting one more argument to ‘Type’ Expected a type, but ‘Type’ has kind ‘* -> *’ • In the type signature: tyForeignPtr :: Type cabal: Leaving directory '/tmp/cabal-tmp-20156/fficxx-0.3' cabal: Error: some packages failed to install: HROOT-core-0.9.0.1 depends on fficxx-0.3 which failed to install. HROOT-graf-0.9.0.1 depends on fficxx-0.3 which failed to install. HROOT-hist-0.9.0.1 depends on fficxx-0.3 which failed to install. fficxx-0.3 failed during the building phase. The exception was: ExitFailure 1