Dear Chris, fastcgi-3001.0.2.3 fails to build with GHC 7.6, which is out for quite a while now: Preprocessing library fastcgi-3001.0.2.3... [1 of 1] Compiling Network.FastCGI ( dist-ghc/build/Network/FastCGI.hs, dist-ghc/build/Network/FastCGI.o ) Network/FastCGI.hsc:69:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_IsCGI" fcgx_isCGI :: IO CInt Network/FastCGI.hsc:72:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_GetStr" fcgx_getStr :: CString -> CInt -> StreamPtr -> IO CInt Network/FastCGI.hsc:72:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_GetStr" fcgx_getStr :: CString -> CInt -> StreamPtr -> IO CInt Network/FastCGI.hsc:75:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_PutStr" fcgx_putStr :: CString -> CInt -> StreamPtr -> IO CInt Network/FastCGI.hsc:75:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_PutStr" fcgx_putStr :: CString -> CInt -> StreamPtr -> IO CInt Network/FastCGI.hsc:78:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall safe "static fcgiapp.h FCGX_Accept" fcgx_accept :: Ptr StreamPtr -> Ptr StreamPtr -> Ptr StreamPtr -> Ptr Environ -> IO CInt Network/FastCGI.hsc:152:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_Init" fcgx_init :: IO CInt Network/FastCGI.hsc:155:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_InitRequest" fcgx_initrequest :: Ptr FCGX_Request -> CInt -> CInt -> IO CInt Network/FastCGI.hsc:155:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_InitRequest" fcgx_initrequest :: Ptr FCGX_Request -> CInt -> CInt -> IO CInt Network/FastCGI.hsc:155:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static fcgiapp.h FCGX_InitRequest" fcgx_initrequest :: Ptr FCGX_Request -> CInt -> CInt -> IO CInt Network/FastCGI.hsc:158:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall safe "static fcgiapp.h FCGX_Accept_r" fcgx_accept_r :: Ptr FCGX_Request -> IO CInt would it be possible for you to upload a compatible version to hackage? Thanks, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
Attachment:
signature.asc
Description: This is a digitally signed message part