Build #2 for Scurry-0.0.1

[all reports]

Package Scurry-0.0.1
Install DependencyFailed network-bytestring-0.1.1.2
Docs NotTried
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies unix-2.6.0.1, time-1.4.0.1, stm-2.4.2, random-1.0.1.1, parsec-3.1.3, network-bytestring-0.1.1.2, network-2.4.1.2, containers-0.5.0.0, bytestring-0.10.0.2, binary-0.5.1.1, base-4.6.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring HUnit-1.2.5.2...
Building HUnit-1.2.5.2...
Preprocessing library HUnit-1.2.5.2...
[1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o )
[2 of 5] Compiling Test.HUnit.Lang  ( Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o )
[3 of 5] Compiling Test.HUnit.Base  ( Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o )
[4 of 5] Compiling Test.HUnit.Text  ( Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o )
[5 of 5] Compiling Test.HUnit       ( Test/HUnit.hs, dist/build/Test/HUnit.o )
In-place registering HUnit-1.2.5.2...
Running Haddock for HUnit-1.2.5.2...
Running hscolour for HUnit-1.2.5.2...
Preprocessing library HUnit-1.2.5.2...
Preprocessing library HUnit-1.2.5.2...
Haddock coverage:
 100% (  2 /  2) in 'Test.HUnit.Terminal'
  86% (  6 /  7) in 'Test.HUnit.Lang'
 100% ( 33 / 33) in 'Test.HUnit.Base'
 100% (  8 /  8) in 'Test.HUnit.Text'
 100% (  3 /  3) in 'Test.HUnit'
Documentation created: dist/doc/html/HUnit/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/HUnit-1.2.5.2
Registering HUnit-1.2.5.2...
Installed HUnit-1.2.5.2
Configuring stm-2.4.2...
Building stm-2.4.2...
Preprocessing library stm-2.4.2...
[ 1 of 10] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs, dist/build/Control/Sequential/STM.o )
[ 2 of 10] Compiling Control.Concurrent.STM.TBQueue ( Control/Concurrent/STM/TBQueue.hs, dist/build/Control/Concurrent/STM/TBQueue.o )
[ 3 of 10] Compiling Control.Concurrent.STM.TQueue ( Control/Concurrent/STM/TQueue.hs, dist/build/Control/Concurrent/STM/TQueue.o )
[ 4 of 10] Compiling Control.Concurrent.STM.TChan ( Control/Concurrent/STM/TChan.hs, dist/build/Control/Concurrent/STM/TChan.o )
[ 5 of 10] Compiling Control.Concurrent.STM.TMVar ( Control/Concurrent/STM/TMVar.hs, dist/build/Control/Concurrent/STM/TMVar.o )
[ 6 of 10] Compiling Control.Concurrent.STM.TVar ( Control/Concurrent/STM/TVar.hs, dist/build/Control/Concurrent/STM/TVar.o )
[ 7 of 10] Compiling Control.Concurrent.STM.TArray ( Control/Concurrent/STM/TArray.hs, dist/build/Control/Concurrent/STM/TArray.o )
[ 8 of 10] Compiling Control.Monad.STM ( Control/Monad/STM.hs, dist/build/Control/Monad/STM.o )
[ 9 of 10] Compiling Control.Concurrent.STM ( Control/Concurrent/STM.hs, dist/build/Control/Concurrent/STM.o )
[10 of 10] Compiling Control.Concurrent.STM.TSem ( Control/Concurrent/STM/TSem.hs, dist/build/Control/Concurrent/STM/TSem.o )
In-place registering stm-2.4.2...
Running Haddock for stm-2.4.2...
Running hscolour for stm-2.4.2...
Preprocessing library stm-2.4.2...
Preprocessing library stm-2.4.2...
Haddock coverage:
   0% (  0 / 11) in 'Control.Sequential.STM'
 100% ( 12 / 12) in 'Control.Concurrent.STM.TBQueue'
 100% ( 12 / 12) in 'Control.Concurrent.STM.TQueue'
 100% ( 18 / 18) in 'Control.Concurrent.STM.TChan'
 100% ( 15 / 15) in 'Control.Concurrent.STM.TMVar'
 100% ( 12 / 12) in 'Control.Concurrent.STM.TVar'
 100% (  2 /  2) in 'Control.Concurrent.STM.TArray'
  90% (  9 / 10) in 'Control.Monad.STM'
 100% (  8 /  8) in 'Control.Concurrent.STM'
  40% (  2 /  5) in 'Control.Concurrent.STM.TSem'
Documentation created: dist/doc/html/stm/index.html
Installing library in
/srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/stm-2.4.2
Registering stm-2.4.2...
Installed stm-2.4.2
Configuring network-bytestring-0.1.1.2...
Building network-bytestring-0.1.1.2...
Preprocessing library network-bytestring-0.1.1.2...
[1 of 1] Compiling Network.Socket.ByteString ( dist/build/Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.o )

Network/Socket/ByteString.cpphs:66:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
      foreign import ccall unsafe "static send" c_send
        :: CInt -> Ptr a -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:66:1:
    Unacceptable argument type in foreign declaration: CSize
    When checking declaration:
      foreign import ccall unsafe "static send" c_send
        :: CInt -> Ptr a -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:66:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
      foreign import ccall unsafe "static send" c_send
        :: CInt -> Ptr a -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:66:1:
    Unacceptable result type in foreign declaration: IO CInt
    When checking declaration:
      foreign import ccall unsafe "static send" c_send
        :: CInt -> Ptr a -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:68:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
      foreign import ccall unsafe "static recv" c_recv
        :: CInt -> Ptr CChar -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:68:1:
    Unacceptable argument type in foreign declaration: CSize
    When checking declaration:
      foreign import ccall unsafe "static recv" c_recv
        :: CInt -> Ptr CChar -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:68:1:
    Unacceptable argument type in foreign declaration: CInt
    When checking declaration:
      foreign import ccall unsafe "static recv" c_recv
        :: CInt -> Ptr CChar -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:68:1:
    Unacceptable result type in foreign declaration: IO CInt
    When checking declaration:
      foreign import ccall unsafe "static recv" c_recv
        :: CInt -> Ptr CChar -> CSize -> CInt -> IO CInt

Network/Socket/ByteString.cpphs:154:29:
    Couldn't match type `Maybe FilePath -> IOException'
                  with `IOException'
    Expected type: IOError
      Actual type: Maybe FilePath -> IOException
    In the return type of a call of `IOError'
    Probable cause: `IOError' is applied to too few arguments
    In the expression:
      IOError Nothing InvalidArgument loc "non-positive length" Nothing
    In an equation for `mkInvalidRecvArgError':
        mkInvalidRecvArgError loc
          = IOError Nothing InvalidArgument loc "non-positive length" Nothing

Network/Socket/ByteString.cpphs:163:18:
    Couldn't match type `Maybe FilePath -> IOException'
                  with `IOException'
    Expected type: IOError
      Actual type: Maybe FilePath -> IOException
    In the return type of a call of `IOError'
    Probable cause: `IOError' is applied to too few arguments
    In the expression: IOError Nothing EOF loc "end of file" Nothing
    In an equation for `mkEOFError':
        mkEOFError loc = IOError Nothing EOF loc "end of file" Nothing

Network/Socket/ByteString.cpphs:175:12:
    Could not deduce (Eq a) arising from a use of `=='
    from the context (Num a)
      bound by the type signature for
                 throwErrnoIfMinus1Retry_mayBlock :: Num a =>
                                                     String -> IO a -> IO a -> IO a
      at Network/Socket/ByteString.cpphs:172:37-75
    Possible fix:
      add (Eq a) to the context of
        the type signature for
          throwErrnoIfMinus1Retry_mayBlock :: Num a =>
                                              String -> IO a -> IO a -> IO a
    In the expression: res == - 1
    In a stmt of a 'do' block:
      if res == - 1 then
          do { err <- getErrno;
               if err == eINTR then
                   throwErrnoIfMinus1Retry_mayBlock name on_block act
               else
                   if err == eWOULDBLOCK || err == eAGAIN then
                       on_block
                   else
                       throwErrno name }
      else
          return res
    In the expression:
      do { res <- act;
           if res == - 1 then
               do { err <- getErrno;
                    .... }
           else
               return res }
Failed to install network-bytestring-0.1.1.2
cabal: Error: some packages failed to install:
Scurry-0.0.1 depends on network-bytestring-0.1.1.2 which failed to install.
network-bytestring-0.1.1.2 failed during the building phase. The exception
was:
ExitFailure 1

Test log

No test log was submitted for this report.