Build #2 for hsns-0.5

[all reports]

Package hsns-0.5
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2015-06-01 05:46:07.453216 UTC
Compiler ghc-7.8.3
OS linux
Arch x86_64
Dependencies pcap-0.4.5.2, network-2.6.2.0, base-4.7.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring network-2.6.2.0...
configure: WARNING: unrecognized options: --with-compiler, --with-gcc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... 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 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, --with-gcc
Building network-2.6.2.0...
Preprocessing library network-2.6.2.0...
[ 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:826:28: Warning:
    Pattern match(es) are overlapped
    In a case alternative: _ -> ...

Network/Socket/Types.hsc:869:1: Warning:
    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:
    Pattern match(es) are non-exhaustive
    In a case alternative:
        Patterns not matched: #x with #x `notElem` [1#, 2#, 10#, 29#]

Network/Socket/Types.hsc:1012:10: Warning:
    Orphan instance: instance Storable HostAddress6
[ 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:
    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:
    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:
    The import of ‘delete’ from module ‘Data.List’ is redundant

Network/Socket.hsc:193:1: Warning:
    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:
    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:27: Warning:
    Defaulting the following constraint(s) to type ‘Integer’
      (Num a0)
        arising from the literal ‘12’ at Network/Socket.hsc:949:27-28
      (Integral a0)
        arising from a use of ‘fromIntegral’
        at Network/Socket.hsc:949:13-24
    In the first argument of ‘fromIntegral’, namely ‘(12)’
    In the expression: (fromIntegral (12))
    In an equation for ‘sz’: sz = (fromIntegral (12))

Network/Socket.hsc:1571:1: Warning:
    Defined but not used: ‘c_accept’

Network/Socket.hsc:276:3: Warning:
    Pattern match(es) are non-exhaustive
    In an equation for ‘showsPrec’:
        Patterns not matched: _ (SockAddrCan _)

Network/Socket.hsc:953:6: Warning:
    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’
    or by using the flag -fno-warn-unused-do-bind

Network/Socket.hsc:989:3: Warning:
    A do-notation statement discarded a result of type ‘CInt’
    Suppress this warning by saying
      ‘_ <- ($)
              throwSocketErrorWaitWrite sock "sendFd"
              c_sendFd (fdSocket sock) outfd’
    or by using the flag -fno-warn-unused-do-bind
[ 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 )

Network/Socket/ByteString.hsc:54:1: Warning:
    The import of ‘SockAddr, Socket’
    from module ‘Network.Socket’ is redundant
[ 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:
    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:
    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:
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: SockAddrCan _

Network.hs:401:5: Warning:
    Pattern match(es) are non-exhaustive
    In a case alternative: Patterns not matched: SockAddrCan _
In-place registering network-2.6.2.0...
Running Haddock for network-2.6.2.0...
Running hscolour for network-2.6.2.0...
Preprocessing library network-2.6.2.0...
Preprocessing library network-2.6.2.0...

Network/Socket/Types.hsc:1012:10: Warning:
    Orphan instance: instance Storable HostAddress6

Network/Socket/Internal.hsc:75:1: Warning:
    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:
    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:
    The import of ‘delete’ from module ‘Data.List’ is redundant

Network/Socket.hsc:193:1: Warning:
    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:
    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:27: Warning:
    Defaulting the following constraint(s) to type ‘Integer’
      (Num a0)
        arising from the literal ‘12’ at Network/Socket.hsc:949:27-28
      (Integral a0)
        arising from a use of ‘fromIntegral’
        at Network/Socket.hsc:949:13-24
    In the first argument of ‘fromIntegral’, namely ‘(12)’
    In the expression: (fromIntegral (12))
    In an equation for ‘sz’: sz = (fromIntegral (12))

Network/Socket.hsc:1571:1: Warning:
    Defined but not used: ‘c_accept’

Network/Socket/ByteString.hsc:54:1: Warning:
    The import of ‘SockAddr, Socket’
    from module ‘Network.Socket’ is redundant

Network/BSD.hsc:166:43: Warning:
    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:
    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'
  68% ( 27 / 40) in 'Network.Socket.Types'
  94% ( 30 / 32) in 'Network.Socket.Internal'
  71% ( 68 / 96) in 'Network.Socket'
  50% (  1 /  2) in 'Network.Socket.ByteString.MsgHdr'
  25% (  1 /  4) in 'Network.Socket.ByteString.Internal'
 100% ( 15 / 15) in 'Network.Socket.ByteString'
  25% (  1 /  4) in 'Network.Socket.ByteString.Lazy.Posix'
  71% (  5 /  7) in 'Network.Socket.ByteString.Lazy'
  44% ( 23 / 52) in 'Network.BSD'
  89% ( 24 / 27) in 'Network'
Warning: Network.Socket.ByteString: could not find link destinations for:
    Network.Socket.ByteString.IOVec.IOVec
Documentation created: dist/doc/html/network/index.html,
dist/doc/html/network/network.txt
Creating package registration file: /tmp/pkgConf-network-2.6.214571.0
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/network-2.6.2.0
Registering network-2.6.2.0...
Installed network-2.6.2.0
Configuring pcap-0.4.5.2...
configure: WARNING: unrecognized options: --with-gcc
checking for gcc... 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 gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... 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 for struct sockaddr.sa_len... no
configure: creating ./config.status
config.status: creating pcap.buildinfo
config.status: creating include/pcapconfig.h
config.status: include/pcapconfig.h is unchanged
configure: WARNING: unrecognized options: --with-gcc
Building pcap-0.4.5.2...
Preprocessing library pcap-0.4.5.2...
[1 of 2] Compiling Network.Pcap.Base ( dist/build/Network/Pcap/Base.hs, dist/build/Network/Pcap/Base.o )
[2 of 2] Compiling Network.Pcap     ( Network/Pcap.hs, dist/build/Network/Pcap.o )
In-place registering pcap-0.4.5.2...
Running Haddock for pcap-0.4.5.2...
Running hscolour for pcap-0.4.5.2...
Preprocessing library pcap-0.4.5.2...
Preprocessing library pcap-0.4.5.2...
Haddock coverage:
  90% ( 45 / 50) in 'Network.Pcap.Base'
  93% ( 53 / 57) in 'Network.Pcap'
Documentation created: dist/doc/html/pcap/index.html,
dist/doc/html/pcap/pcap.txt
Creating package registration file: /tmp/pkgConf-pcap-0.4.514571.2
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/pcap-0.4.5.2
Registering pcap-0.4.5.2...
Installed pcap-0.4.5.2
Downloading hsns-0.5...
[1 of 1] Compiling Main             ( /tmp/hsns-0.5-14571/hsns-0.5/dist/setup/setup.hs, /tmp/hsns-0.5-14571/hsns-0.5/dist/setup/Main.o )
Linking /tmp/hsns-0.5-14571/hsns-0.5/dist/setup/setup ...
Configuring hsns-0.5...
Warning: No 'build-type' specified. If you do not need a custom Setup.hs or
./configure script then use 'build-type: Simple'.
Warning: Instead of 'ghc-options: -lpcap' use 'extra-libraries: pcap'
Building hsns-0.5...
Preprocessing executable 'hsns' for hsns-0.5...

Hsns.hs:5:8:
    Could not find module ‘System.Process’
    It is a member of the hidden package ‘process-1.2.0.0’.
    Perhaps you need to add ‘process’ to the build-depends in your .cabal file.
    Use -v to see a list of the files searched for.
Failed to install hsns-0.5
cabal: Error: some packages failed to install:
hsns-0.5 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.