Build #1 for HsOpenSSL-0.4.1

[all reports]

Package HsOpenSSL-0.4.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted unknown
Compiler ghc-7.6.3
OS linux
Arch x86_64
Dependencies time-1.4.0.1, old-locale-1.0.0.5, network-2.4.1.2, bytestring-0.10.0.2, base-4.6.0.1
Flags splitbase

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading HsOpenSSL-0.4.1...
Configuring HsOpenSSL-0.4.1...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENSSL... yes
configure: creating ./config.status
config.status: creating HsOpenSSL.buildinfo
Building HsOpenSSL-0.4.1...
Preprocessing library HsOpenSSL-0.4.1...

on the commandline: Warning:
    -fglasgow-exts is deprecated: Use individual extensions instead

OpenSSL.hs:2:12: Warning:
    -#include and INCLUDE pragmas are deprecated: They no longer have any effect
[ 1 of 29] Compiling OpenSSL.ERR      ( dist/build/OpenSSL/ERR.hs, dist/build/OpenSSL/ERR.o )
[ 2 of 29] Compiling OpenSSL.Stack    ( dist/build/OpenSSL/Stack.hs, dist/build/OpenSSL/Stack.o )
[ 3 of 29] Compiling OpenSSL.Objects  ( dist/build/OpenSSL/Objects.hs, dist/build/OpenSSL/Objects.o )
[ 4 of 29] Compiling OpenSSL.EVP.Base64 ( dist/build/OpenSSL/EVP/Base64.hs, dist/build/OpenSSL/EVP/Base64.o )

OpenSSL/EVP/Base64.hsc:52:7: Warning:
    In the use of `unsafePerformIO' (imported from Foreign):
    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"

OpenSSL/EVP/Base64.hsc:105:7: Warning:
    In the use of `unsafePerformIO' (imported from Foreign):
    Deprecated: "Use System.IO.Unsafe.unsafePerformIO instead; This function will be removed in the next release"
[ 5 of 29] Compiling OpenSSL.Utils    ( OpenSSL/Utils.hs, dist/build/OpenSSL/Utils.o )

OpenSSL/Utils.hs:34:23:
    Could not deduce (Num i) arising from a use of `hexByte'
    from the context (Bits i)
      bound by the type signature for toHex :: Bits i => i -> String
      at OpenSSL/Utils.hs:33:10-32
    Possible fix:
      add (Num i) to the context of
        the type signature for toHex :: Bits i => i -> String
    In the first argument of `map', namely `hexByte'
    In the first argument of `(.)', namely `map hexByte'
    In the second argument of `(.)', namely
      `map hexByte . unfoldr step'

OpenSSL/Utils.hs:58:17:
    Could not deduce (Num i) arising from a use of `step'
    from the context (Bits i)
      bound by the type signature for fromHex :: Bits i => String -> i
      at OpenSSL/Utils.hs:57:12-34
    Possible fix:
      add (Num i) to the context of
        the type signature for fromHex :: Bits i => String -> i
    In the first argument of `foldl', namely `step'
    In the expression: foldl step 0
    In an equation for `fromHex':
        fromHex
          = foldl step 0
          where
              step acc hexchar = (acc `shiftL` 4) .|. (byteHex hexchar)
              byteHex '0' = 0
              byteHex '1' = 1
              byteHex '2' = 2
              byteHex '3' = 3
              byteHex '4' = 4
              byteHex '5' = 5
              byteHex '6' = 6
              byteHex '7' = 7
              byteHex '8' = 8
              byteHex '9' = 9
              byteHex 'a' = 10
              byteHex 'b' = 11
              byteHex 'c' = 12
              byteHex 'd' = 13
              byteHex 'e' = 14
              byteHex 'f' = 15
              byteHex 'A' = 10
              byteHex 'B' = 11
              byteHex 'C' = 12
              byteHex 'D' = 13
              byteHex 'E' = 14
              byteHex 'F' = 15
              byteHex _ = undefined
Failed to install HsOpenSSL-0.4.1
cabal: Error: some packages failed to install:
HsOpenSSL-0.4.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.