Build #15 for Chitra-0.2.2

[all reports]

Package Chitra-0.2.2
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-10-24 14:50:49.209247 UTC
Compiler ghc-8.0.1.20160701
OS linux
Arch x86_64
Dependencies base-4.9.0.0, binary-0.8.3.0, bytestring-0.10.8.1, mtl-2.2.1, network-2.6.3.1
Flags none

Build log

[view raw]

Resolving dependencies...
cabal: Entering directory '/tmp/cabal-tmp-8283/mtl-2.2.1'
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Preprocessing library mtl-2.2.1...
[ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o )
[ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o )
[ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o )
[ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o )
[ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o )
[ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o )
[ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o )
[ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o )
[ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o )
[10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o )
[11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o )
[12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o )
[13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o )
[14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o )
[15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o )
[16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o )
[17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o )
[18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o )
[19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o )
[20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o )
[21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o )
[22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o )
Running Haddock for mtl-2.2.1...
Running hscolour for mtl-2.2.1...
Preprocessing library mtl-2.2.1...
Preprocessing library mtl-2.2.1...
Haddock coverage:
  75% (  3 /  4) in 'Control.Monad.Writer.Class'
  Missing documentation for:
    MonadWriter (Control/Monad/Writer/Class.hs:62)
 100% (  5 /  5) in 'Control.Monad.State.Class'
 100% (  3 /  3) in 'Control.Monad.Reader.Class'
  80% (  4 /  5) in 'Control.Monad.RWS.Class'
  Missing documentation for:
    MonadRWS (Control/Monad/RWS/Class.hs:44)
 100% (  4 /  4) in 'Control.Monad.Identity'
 100% (  3 /  3) in 'Control.Monad.Error.Class'
  50% (  1 /  2) in 'Control.Monad.Cont.Class'
  Missing documentation for:
    MonadCont (Control/Monad/Cont/Class.hs:73)
 100% (  3 /  3) in 'Control.Monad.Trans'
  93% ( 14 / 15) in 'Control.Monad.Error'
  Missing documentation for:
    runErrorT
 100% ( 19 / 19) in 'Control.Monad.Except'
 100% (  5 /  5) in 'Control.Monad.List'
  95% ( 21 / 22) in 'Control.Monad.RWS.Lazy'
  Missing documentation for:
    runRWST
 100% (  2 /  2) in 'Control.Monad.RWS'
  96% ( 22 / 23) in 'Control.Monad.Reader'
  Missing documentation for:
    runReaderT
  95% ( 21 / 22) in 'Control.Monad.RWS.Strict'
  Missing documentation for:
    runRWST
  96% ( 24 / 25) in 'Control.Monad.State.Lazy'
  Missing documentation for:
    runStateT
 100% (  2 /  2) in 'Control.Monad.State'
  96% ( 24 / 25) in 'Control.Monad.State.Strict'
  Missing documentation for:
    runStateT
  89% ( 17 / 19) in 'Control.Monad.Writer.Lazy'
  Missing documentation for:
    MonadWriter (Control/Monad/Writer/Class.hs:62)
    runWriterT
 100% (  2 /  2) in 'Control.Monad.Writer'
  94% ( 17 / 18) in 'Control.Monad.Writer.Strict'
  Missing documentation for:
    MonadWriter (Control/Monad/Writer/Class.hs:62)
  91% ( 20 / 22) in 'Control.Monad.Cont'
  Missing documentation for:
    MonadCont (Control/Monad/Cont/Class.hs:73)
    runContT
Documentation created: dist/doc/html/mtl/index.html, dist/doc/html/mtl/mtl.txt
Creating package registration file: /tmp/pkgConf-mtl-2.22145174067468703135.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/mtl-2.2.1-6qsR1PHUy5lL47Hpoa4jCM
Registering mtl-2.2.1...
cabal: Leaving directory '/tmp/cabal-tmp-8283/mtl-2.2.1'
Installed mtl-2.2.1
cabal: Entering directory '/tmp/cabal-tmp-8283/network-2.6.3.1'
Configuring network-2.6.3.1...
configure: WARNING: unrecognized options: --with-compiler
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... /usr/bin/gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking linux/can.h usability... yes
checking linux/can.h presence... yes
checking for linux/can.h... yes
checking linux/tcp.h usability... yes
checking linux/tcp.h presence... yes
checking for linux/tcp.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking for readlink... yes
checking for symlink... yes
checking for if_nametoindex... yes
checking for struct msghdr.msg_control... yes
checking for struct msghdr.msg_accrights... no
checking for struct sockaddr.sa_len... no
checking for in_addr_t in netinet/in.h... yes
checking for SO_PEERCRED and struct ucred in sys/socket.h... yes
checking for getpeereid in unistd.h... checking for getpeereid... no
checking for _head_libws2_32_a in -lws2_32... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking whether AI_ADDRCONFIG is declared... yes
checking whether AI_ALL is declared... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether AI_V4MAPPED is declared... yes
checking whether IPV6_V6ONLY is declared... yes
checking whether IPPROTO_IP is declared... yes
checking whether IPPROTO_TCP is declared... yes
checking whether IPPROTO_IPV6 is declared... yes
checking for sendfile in sys/sendfile.h... yes
checking for sendfile in sys/socket.h... no
checking for gethostent... yes
checking for accept4... yes
configure: creating ./config.status
config.status: creating network.buildinfo
config.status: creating include/HsNetworkConfig.h
config.status: include/HsNetworkConfig.h is unchanged
configure: WARNING: unrecognized options: --with-compiler
Building network-2.6.3.1...
Preprocessing library network-2.6.3.1...
[ 1 of 11] Compiling Network.Socket.ByteString.IOVec ( dist/build/Network/Socket/ByteString/IOVec.hs, dist/build/Network/Socket/ByteString/IOVec.o )
[ 2 of 11] Compiling Network.Socket.Types ( dist/build/Network/Socket/Types.hs, dist/build/Network/Socket/Types.o )
[ 3 of 11] Compiling Network.Socket.Internal ( dist/build/Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o )
[ 4 of 11] Compiling Network.Socket   ( dist/build/Network/Socket.hs, dist/build/Network/Socket.o )
[ 5 of 11] Compiling Network.Socket.ByteString.MsgHdr ( dist/build/Network/Socket/ByteString/MsgHdr.hs, dist/build/Network/Socket/ByteString/MsgHdr.o )
[ 6 of 11] Compiling Network.Socket.ByteString.Internal ( Network/Socket/ByteString/Internal.hs, dist/build/Network/Socket/ByteString/Internal.o )
[ 7 of 11] Compiling Network.Socket.ByteString ( dist/build/Network/Socket/ByteString.hs, dist/build/Network/Socket/ByteString.o )
[ 8 of 11] Compiling Network.Socket.ByteString.Lazy.Posix ( Network/Socket/ByteString/Lazy/Posix.hs, dist/build/Network/Socket/ByteString/Lazy/Posix.o )
[ 9 of 11] Compiling Network.Socket.ByteString.Lazy ( Network/Socket/ByteString/Lazy.hs, dist/build/Network/Socket/ByteString/Lazy.o )
[10 of 11] Compiling Network.BSD      ( dist/build/Network/BSD.hs, dist/build/Network/BSD.o )
[11 of 11] Compiling Network          ( Network.hs, dist/build/Network.o )
Running Haddock for network-2.6.3.1...
Running hscolour for network-2.6.3.1...
Preprocessing library network-2.6.3.1...
Preprocessing library network-2.6.3.1...
Haddock coverage:
  50% (  1 /  2) in 'Network.Socket.ByteString.IOVec'
  Missing documentation for:
    IOVec (Network/Socket/ByteString/IOVec.hsc:15)
  66% ( 29 / 44) in 'Network.Socket.Types'
  Missing documentation for:
    Module header
    sockFd (Network/Socket/Types.hsc:95)
    sockFamily (Network/Socket/Types.hsc:98)
    sockType (Network/Socket/Types.hsc:101)
    sockProtocol (Network/Socket/Types.hsc:104)
    sockStatus (Network/Socket/Types.hsc:107)
    packSocketType (Network/Socket/Types.hsc:192)
    unpackSocketType (Network/Socket/Types.hsc:207)
    packFamily (Network/Socket/Types.hsc:311)
    unpackFamily (Network/Socket/Types.hsc:527)
    hostAddress6ToTuple (Network/Socket/Types.hsc:1028)
    tupleToHostAddress6 (Network/Socket/Types.hsc:1036)
    FlowInfo (Network/Socket/Types.hsc:815)
    ScopeID (Network/Socket/Types.hsc:816)
    ProtocolNumber (Network/Socket/Types.hsc:117)
  94% ( 30 / 32) in 'Network.Socket.Internal'
  Missing documentation for:
    FlowInfo (Network/Socket/Types.hsc:815)
    ScopeID (Network/Socket/Types.hsc:816)
  72% ( 76 /105) in 'Network.Socket'
  Missing documentation for:
    hostAddress6ToTuple (Network/Socket/Types.hsc:1028)
    tupleToHostAddress6 (Network/Socket/Types.hsc:1036)
    FlowInfo (Network/Socket/Types.hsc:815)
    ScopeID (Network/Socket/Types.hsc:816)
    ShutdownCmd (Network/Socket.hsc:1069)
    ProtocolNumber (Network/Socket/Types.hsc:117)
    ServiceName (Network/Socket.hsc:234)
    AddrInfo (Network/Socket.hsc:1280)
    getPeerName (Network/Socket.hsc:774)
    getSocketName (Network/Socket.hsc:782)
    socketPort (Network/Socket.hsc:751)
    recvLen (Network/Socket.hsc:704)
    inet_addr (Network/Socket.hsc:1151)
    inet_ntoa (Network/Socket.hsc:1159)
    isBound (Network/Socket.hsc:1118)
    isListening (Network/Socket.hsc:1123)
    isReadable (Network/Socket.hsc:1128)
    isWritable (Network/Socket.hsc:1133)
    sendFd (Network/Socket.hsc:1008)
    recvFd (Network/Socket.hsc:1016)
    aNY_PORT (Network/Socket.hsc:1030)
    sOMAXCONN (Network/Socket.hsc:1050)
    sOL_SOCKET (Network/Socket.hsc:1053)
    sCM_RIGHTS (Network/Socket.hsc:1057)
    fdSocket (Network/Socket.hsc:277)
    mkSocket (Network/Socket.hsc:265)
    packFamily (Network/Socket/Types.hsc:311)
    unpackFamily (Network/Socket/Types.hsc:527)
    packSocketType (Network/Socket/Types.hsc:192)
  50% (  1 /  2) in 'Network.Socket.ByteString.MsgHdr'
  Missing documentation for:
    MsgHdr (Network/Socket/ByteString/MsgHdr.hsc:22)
  25% (  1 /  4) in 'Network.Socket.ByteString.Internal'
  Missing documentation for:
    mkInvalidRecvArgError (Network/Socket/ByteString/Internal.hs:34)
    c_writev (Network/Socket/ByteString/Internal.hs:40)
    c_sendmsg (Network/Socket/ByteString/Internal.hs:43)
 100% ( 15 / 15) in 'Network.Socket.ByteString'
  25% (  1 /  4) in 'Network.Socket.ByteString.Lazy.Posix'
  Missing documentation for:
    Module header
    send (Network/Socket/ByteString/Lazy/Posix.hs:27)
    sendAll (Network/Socket/ByteString/Lazy/Posix.hs:50)
  71% (  5 /  7) in 'Network.Socket.ByteString.Lazy'
  Missing documentation for:
    send (Network/Socket/ByteString/Lazy/Posix.hs:27)
    sendAll (Network/Socket/ByteString/Lazy/Posix.hs:50)
  44% ( 23 / 52) in 'Network.BSD'
  Missing documentation for:
    HostEntry (Network/BSD.hsc:329)
    hostAddress (Network/BSD.hsc:366)
    getHostEntries (Network/BSD.hsc:419)
    setHostEntry (Network/BSD.hsc:409)
    getHostEntry (Network/BSD.hsc:401)
    endHostEntry (Network/BSD.hsc:414)
    ServiceEntry (Network/BSD.hsc:139)
    ServiceName (Network/Socket.hsc:234)
    getServiceEntries (Network/BSD.hsc:224)
    getServiceEntry (Network/BSD.hsc:206)
    setServiceEntry (Network/BSD.hsc:214)
    endServiceEntry (Network/BSD.hsc:219)
    ProtocolName (Network/BSD.hsc:123)
    ProtocolNumber (Network/Socket/Types.hsc:117)
    ProtocolEntry (Network/BSD.hsc:242)
    getProtocolByName (Network/BSD.hsc:275)
    getProtocolByNumber (Network/BSD.hsc:286)
    getProtocolNumber (Network/BSD.hsc:296)
    getProtocolEntries (Network/BSD.hsc:320)
    setProtocolEntry (Network/BSD.hsc:310)
    getProtocolEntry (Network/BSD.hsc:302)
    endProtocolEntry (Network/BSD.hsc:315)
    NetworkName (Network/BSD.hsc:434)
    NetworkAddr (Network/BSD.hsc:432)
    NetworkEntry (Network/BSD.hsc:436)
    getNetworkByName (Network/BSD.hsc:467)
    getNetworkByAddr (Network/BSD.hsc:477)
    getNetworkEntry (Network/BSD.hsc:486)
    ifNameToIndex (Network/BSD.hsc:521)
  88% ( 22 / 25) in 'Network'
  Missing documentation for:
    PortID (Network.hs:81)
    sendTo (Network.hs:338)
    recvFrom (Network.hs:347)
Warning: Network.Socket.ByteString: could not find link destinations for:
    IOVec
Documentation created: dist/doc/html/network/index.html,
dist/doc/html/network/network.txt
Creating package registration file:
/tmp/pkgConf-network-2.6.31253207672570073850.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160701/network-2.6.3.1-G4Up1CPKbp7DeFsnywOnGG
Registering network-2.6.3.1...
cabal: Leaving directory '/tmp/cabal-tmp-8283/network-2.6.3.1'
Installed network-2.6.3.1
cabal: Entering directory '/tmp/cabal-tmp-8283/Chitra-0.2.2'
Configuring Chitra-0.2.2...
Building Chitra-0.2.2...
Preprocessing executable 'Chitra' for Chitra-0.2.2...
[ 1 of 10] Compiling Utilities.ParseByteString ( Utilities/ParseByteString.hs, dist/build/Chitra/Chitra-tmp/Utilities/ParseByteString.o )

Utilities/ParseByteString.hs:35:60: error:
    • Could not deduce (Eq a) arising from an operator section
      from the context: Num a
        bound by the type signature for:
                   parseByteString :: Num a => [a] -> BS.ByteString -> [Int]
        at Utilities/ParseByteString.hs:32:1-59
      Possible fix:
        add (Eq a) to the context of
          the inferred type of cleanup :: [b] -> [b]
          or the type signature for:
               parseByteString :: Num a => [a] -> BS.ByteString -> [Int]
    • In the first argument of ‘(.)’, namely ‘(/= 0)’
      In the first argument of ‘filter’, namely ‘((/= 0) . fst)’
      In the second argument of ‘(.)’, namely ‘filter ((/= 0) . fst)’

Utilities/ParseByteString.hs:37:50: error:
    • Could not deduce (Eq a) arising from a use of ‘getActionList’
      from the context: Num a
        bound by the type signature for:
                   parseByteString :: Num a => [a] -> BS.ByteString -> [Int]
        at Utilities/ParseByteString.hs:32:1-59
      Possible fix:
        add (Eq a) to the context of
          the type signature for:
            parseByteString :: Num a => [a] -> BS.ByteString -> [Int]
    • In the first argument of ‘getActions’, namely
        ‘(getActionList list)’
      In the expression: getActions (getActionList list)
      In an equation for ‘actionList’:
          actionList = getActions (getActionList list)
cabal: Leaving directory '/tmp/cabal-tmp-8283/Chitra-0.2.2'
Failed to install Chitra-0.2.2
cabal: Error: some packages failed to install:
Chitra-0.2.2 failed during the building phase. The exception was:
ExitFailure 1