Build #1 for bert-1.0

[all reports]

Package bert-1.0
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, parsec-3.1.3, network-bytestring-0.1.1.2, network-2.4.1.2, mtl-2.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 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:
bert-1.0 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.