Resolving dependencies... cabal: Entering directory '/tmp/cabal-tmp-9047/network-2.6.2.1' Configuring network-2.6.2.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 configure: WARNING: unrecognized options: --with-compiler Building network-2.6.2.1... Preprocessing library network-2.6.2.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 ) Network/Socket/Types.hsc:837:3: warning: [-Woverlapping-patterns] Pattern match is redundant In a case alternative: _ -> ... Network/Socket/Types.hsc:869:1: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘sizeOfSockAddrByFamily’: Patterns not matched: AF_UNSPEC AF_IMPLINK AF_PUP AF_CHAOS ... Network/Socket/Types.hsc:951:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: p where p is not one of {29, 10, 2, 1} Network/Socket/Types.hsc:1012:1: warning: [-Worphans] Orphan instance: instance Storable HostAddress6 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. [ 3 of 11] Compiling Network.Socket.Internal ( dist/build/Network/Socket/Internal.hs, dist/build/Network/Socket/Internal.o ) Network/Socket/Internal.hsc:75:1: warning: [-Wunused-imports] The import of ‘Foreign.C.String’ is redundant except perhaps to import instances from ‘Foreign.C.String’ To import instances alone, use: import Foreign.C.String() Network/Socket/Internal.hsc:77:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() [ 4 of 11] Compiling Network.Socket ( dist/build/Network/Socket.hs, dist/build/Network/Socket.o ) Network/Socket.hsc:177:1: warning: [-Wunused-imports] The import of ‘delete’ from module ‘Data.List’ is redundant Network/Socket.hsc:193:1: warning: [-Wunused-imports] The qualified import of ‘Control.Exception’ is redundant except perhaps to import instances from ‘Control.Exception’ To import instances alone, use: import Control.Exception() Network/Socket.hsc:212:1: warning: [-Wunused-imports] The import of ‘GHC.IO.FD’ is redundant except perhaps to import instances from ‘GHC.IO.FD’ To import instances alone, use: import GHC.IO.FD() Network/Socket.hsc:276:3: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In an equation for ‘showsPrec’: Patterns not matched: _ (SockAddrCan _) Network/Socket.hsc:949:13: warning: [-Wtype-defaults] • Defaulting the following constraints to type ‘Integer’ (Integral a0) arising from a use of ‘fromIntegral’ at Network/Socket.hsc:949:13-29 (Num a0) arising from the literal ‘12’ at Network/Socket.hsc:949:27-28 • In the expression: (fromIntegral (12)) In an equation for ‘sz’: sz = (fromIntegral (12)) In the expression: do { let fd = fdSocket sock; let sz = (fromIntegral (12)); with sz $ \ ptr_cr -> alloca $ \ ptr_sz -> ... } Network/Socket.hsc:953:6: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘CInt’ Suppress this warning by saying ‘_ <- ($) throwSocketErrorIfMinus1Retry "getPeerCred" c_getsockopt fd (1) (17) ptr_cr ptr_sz’ Network/Socket.hsc:989:3: warning: [-Wunused-do-bind] A do-notation statement discarded a result of type ‘CInt’ Suppress this warning by saying ‘_ <- ($) throwSocketErrorWaitWrite sock "sendFd" c_sendFd (fdSocket sock) outfd’ Network/Socket.hsc:1571:1: warning: [-Wunused-top-binds] Defined but not used: ‘c_accept’ [ 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 ) Network/BSD.hsc:166:43: warning: [-Wdeprecations] In the use of data constructor ‘PortNum’ (imported from Network.Socket, but defined in Network.Socket.Types): Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release." Network/BSD.hsc:190:19: warning: [-Wdeprecations] In the use of data constructor ‘PortNum’ (imported from Network.Socket, but defined in Network.Socket.Types): Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release." [11 of 11] Compiling Network ( Network.hs, dist/build/Network.o ) Network.hs:292:16: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: (SockAddrCan _) Network.hs:401:5: warning: [-Wincomplete-patterns] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: (SockAddrCan _) Running Haddock for network-2.6.2.1... Running hscolour for network-2.6.2.1... Preprocessing library network-2.6.2.1... Preprocessing library network-2.6.2.1... Network/Socket/Types.hsc:1012:1: warning: [-Worphans] Orphan instance: instance Storable HostAddress6 To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. Network/Socket/Internal.hsc:75:1: warning: [-Wunused-imports] The import of ‘Foreign.C.String’ is redundant except perhaps to import instances from ‘Foreign.C.String’ To import instances alone, use: import Foreign.C.String() Network/Socket/Internal.hsc:77:1: warning: [-Wunused-imports] The import of ‘Foreign.Ptr’ is redundant except perhaps to import instances from ‘Foreign.Ptr’ To import instances alone, use: import Foreign.Ptr() Network/Socket.hsc:177:1: warning: [-Wunused-imports] The import of ‘delete’ from module ‘Data.List’ is redundant Network/Socket.hsc:193:1: warning: [-Wunused-imports] The qualified import of ‘Control.Exception’ is redundant except perhaps to import instances from ‘Control.Exception’ To import instances alone, use: import Control.Exception() Network/Socket.hsc:212:1: warning: [-Wunused-imports] The import of ‘GHC.IO.FD’ is redundant except perhaps to import instances from ‘GHC.IO.FD’ To import instances alone, use: import GHC.IO.FD() Network/Socket.hsc:949:13: warning: [-Wtype-defaults] • Defaulting the following constraints to type ‘Integer’ (Integral a0) arising from a use of ‘fromIntegral’ at Network/Socket.hsc:949:13-29 (Num a0) arising from the literal ‘12’ at Network/Socket.hsc:949:27-28 • In the expression: (fromIntegral (12)) In an equation for ‘sz’: sz = (fromIntegral (12)) In the expression: do { let fd = fdSocket sock; let sz = (fromIntegral (12)); with sz $ \ ptr_cr -> alloca $ \ ptr_sz -> ... } Network/Socket.hsc:1571:1: warning: [-Wunused-top-binds] Defined but not used: ‘c_accept’ Network/BSD.hsc:166:43: warning: [-Wdeprecations] In the use of data constructor ‘PortNum’ (imported from Network.Socket, but defined in Network.Socket.Types): Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release." Network/BSD.hsc:190:19: warning: [-Wdeprecations] In the use of data constructor ‘PortNum’ (imported from Network.Socket, but defined in Network.Socket.Types): Deprecated: "Do not use the PortNum constructor. Use the Num instance. PortNum will be removed in the next release." Haddock coverage: 50% ( 1 / 2) in 'Network.Socket.ByteString.IOVec' Missing documentation for: IOVec (Network/Socket/ByteString/IOVec.hsc:15) 68% ( 27 / 40) in 'Network.Socket.Types' Missing documentation for: Module header sockFd (Network/Socket/Types.hsc:90) sockFamily (Network/Socket/Types.hsc:93) sockType (Network/Socket/Types.hsc:96) sockProtocol (Network/Socket/Types.hsc:99) sockStatus (Network/Socket/Types.hsc:102) packSocketType (Network/Socket/Types.hsc:187) unpackSocketType (Network/Socket/Types.hsc:202) packFamily (Network/Socket/Types.hsc:306) unpackFamily (Network/Socket/Types.hsc:522) FlowInfo (Network/Socket/Types.hsc:801) ScopeID (Network/Socket/Types.hsc:802) ProtocolNumber (Network/Socket/Types.hsc:112) 94% ( 30 / 32) in 'Network.Socket.Internal' Missing documentation for: FlowInfo (Network/Socket/Types.hsc:801) ScopeID (Network/Socket/Types.hsc:802) 71% ( 68 / 96) in 'Network.Socket' Missing documentation for: FlowInfo (Network/Socket/Types.hsc:801) ScopeID (Network/Socket/Types.hsc:802) ShutdownCmd (Network/Socket.hsc:1045) ProtocolNumber (Network/Socket/Types.hsc:112) ServiceName (Network/Socket.hsc:221) AddrInfo (Network/Socket.hsc:1233) NameInfoFlag (Network/Socket.hsc:1286) getPeerName (Network/Socket.hsc:752) getSocketName (Network/Socket.hsc:760) socketPort (Network/Socket.hsc:729) recvLen (Network/Socket.hsc:670) inet_addr (Network/Socket.hsc:1128) inet_ntoa (Network/Socket.hsc:1136) isBound (Network/Socket.hsc:1095) isListening (Network/Socket.hsc:1100) isReadable (Network/Socket.hsc:1105) isWritable (Network/Socket.hsc:1110) sendFd (Network/Socket.hsc:987) recvFd (Network/Socket.hsc:995) aNY_PORT (Network/Socket.hsc:1009) sOMAXCONN (Network/Socket.hsc:1026) sOL_SOCKET (Network/Socket.hsc:1029) sCM_RIGHTS (Network/Socket.hsc:1033) fdSocket (Network/Socket.hsc:264) mkSocket (Network/Socket.hsc:252) packFamily (Network/Socket/Types.hsc:306) unpackFamily (Network/Socket/Types.hsc:522) packSocketType (Network/Socket/Types.hsc:187) 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:221) 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:112) 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) 89% ( 24 / 27) in 'Network' Missing documentation for: PortID (Network.hs:83) sendTo (Network.hs:333) recvFrom (Network.hs:342) 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.22145174067468703135.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160521/network-2.6.2.1-Li0aefQhyJzUSpQ0fLiXL Registering network-2.6.2.1... cabal: Leaving directory '/tmp/cabal-tmp-9047/network-2.6.2.1' Installed network-2.6.2.1 cabal: Entering directory '/tmp/cabal-tmp-9047/split-0.2.3.1' Configuring split-0.2.3.1... Building split-0.2.3.1... Preprocessing library split-0.2.3.1... [1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o ) [2 of 2] Compiling Data.List.Split ( src/Data/List/Split.hs, dist/build/Data/List/Split.o ) Running Haddock for split-0.2.3.1... Running hscolour for split-0.2.3.1... Preprocessing library split-0.2.3.1... Preprocessing library split-0.2.3.1... Haddock coverage: 91% ( 62 / 68) in 'Data.List.Split.Internals' 90% ( 45 / 50) in 'Data.List.Split' Documentation created: dist/doc/html/split/index.html, dist/doc/html/split/split.txt Creating package registration file: /tmp/pkgConf-split-0.2.310966897722086206725.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160521/split-0.2.3.1-IJKK4pOCYGKud0jZImZke Registering split-0.2.3.1... cabal: Leaving directory '/tmp/cabal-tmp-9047/split-0.2.3.1' Installed split-0.2.3.1 Downloading wol-0.2... cabal: Entering directory '/tmp/cabal-tmp-9047/wol-0.2' Configuring wol-0.2... Building wol-0.2... Preprocessing library wol-0.2... [1 of 2] Compiling Network.MacAddress ( src/Network/MacAddress.hs, dist/build/Network/MacAddress.o ) [2 of 2] Compiling Network.WoL ( src/Network/WoL.hs, dist/build/Network/WoL.o ) Preprocessing executable 'wol' for wol-0.2... [1 of 3] Compiling Network.MacAddress ( src/Network/MacAddress.hs, dist/build/wol/wol-tmp/Network/MacAddress.o ) [2 of 3] Compiling Network.WoL ( src/Network/WoL.hs, dist/build/wol/wol-tmp/Network/WoL.o ) [3 of 3] Compiling Main ( src/WoL.hs, dist/build/wol/wol-tmp/Main.o ) Linking dist/build/wol/wol ... Running Haddock for wol-0.2... Running hscolour for wol-0.2... Preprocessing library wol-0.2... Preprocessing executable 'wol' for wol-0.2... Preprocessing library wol-0.2... Haddock coverage: 75% ( 3 / 4) in 'Network.MacAddress' Missing documentation for: MacAddress (src/Network/MacAddress.hs:23) 100% ( 4 / 4) in 'Network.WoL' Documentation created: dist/doc/html/wol/index.html, dist/doc/html/wol/wol.txt Preprocessing executable 'wol' for wol-0.2... Creating package registration file: /tmp/pkgConf-wol-019534433761876855542.2 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160521/wol-0.2-HtGHgSoZMCr7JvLIk8SQp7 Installing executable(s) in /home/builder/hackage-server/build-cache/tmp-install/bin Warning: The directory /home/builder/hackage-server/build-cache/tmp-install/bin is not in the system search path. Registering wol-0.2... cabal: Leaving directory '/tmp/cabal-tmp-9047/wol-0.2' Installed wol-0.2