Resolving dependencies... Configuring regex-base-0.93.2... Building regex-base-0.93.2... Preprocessing library regex-base-0.93.2... [1 of 4] Compiling Text.Regex.Base.RegexLike ( Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o ) [2 of 4] Compiling Text.Regex.Base.Context ( Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o ) [3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs, dist/build/Text/Regex/Base.o ) [4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o ) In-place registering regex-base-0.93.2... Running Haddock for regex-base-0.93.2... Running hscolour for regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Haddock coverage: 94% ( 17 / 18) in 'Text.Regex.Base.RegexLike' 100% ( 1 / 1) in 'Text.Regex.Base.Context' 75% ( 3 / 4) in 'Text.Regex.Base' 33% ( 1 / 3) in 'Text.Regex.Base.Impl' Documentation created: dist/doc/html/regex-base/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/regex-base-0.93.2 Registering regex-base-0.93.2... Installed regex-base-0.93.2 Downloading regex-pcre-builtin-0.94.4.0.8.31... Configuring regex-pcre-builtin-0.94.4.0.8.31... Building regex-pcre-builtin-0.94.4.0.8.31... Preprocessing library regex-pcre-builtin-0.94.4.0.8.31... [1 of 6] Compiling Text.Regex.PCRE.Wrap ( dist/build/Text/Regex/PCRE/Wrap.hs, dist/build/Text/Regex/PCRE/Wrap.o ) Text/Regex/PCRE/Wrap.hsc:348:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_compile" c_pcre_compile :: CString -> CompOption -> Ptr CString -> Ptr CInt -> CString -> IO (Ptr PCRE) Text/Regex/PCRE/Wrap.hsc:352:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec :: Ptr PCRE -> Ptr PCRE_Extra -> CString -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode Text/Regex/PCRE/Wrap.hsc:352:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec :: Ptr PCRE -> Ptr PCRE_Extra -> CString -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode Text/Regex/PCRE/Wrap.hsc:352:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec :: Ptr PCRE -> Ptr PCRE_Extra -> CString -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode Text/Regex/PCRE/Wrap.hsc:352:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec :: Ptr PCRE -> Ptr PCRE_Extra -> CString -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode Text/Regex/PCRE/Wrap.hsc:352:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec :: Ptr PCRE -> Ptr PCRE_Extra -> CString -> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode Text/Regex/PCRE/Wrap.hsc:354:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_fullinfo" c_pcre_fullinfo :: Ptr PCRE -> Ptr PCRE_Extra -> InfoWhat -> Ptr a -> IO CInt Text/Regex/PCRE/Wrap.hsc:354:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_fullinfo" c_pcre_fullinfo :: Ptr PCRE -> Ptr PCRE_Extra -> InfoWhat -> Ptr a -> IO CInt Text/Regex/PCRE/Wrap.hsc:358:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_config" c_pcre_config :: ConfigWhat -> Ptr a -> IO CInt Text/Regex/PCRE/Wrap.hsc:358:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static pcre.h pcre_config" c_pcre_config :: ConfigWhat -> Ptr a -> IO CInt Failed to install regex-pcre-builtin-0.94.4.0.8.31 cabal: Error: some packages failed to install: regex-pcre-builtin-0.94.4.0.8.31 failed during the building phase. The exception was: ExitFailure 1