Build #8 for haskell-openflow-

[all reports]

Package haskell-openflow-
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-22 02:52:36.765913 UTC
Compiler ghc-
OS linux
Arch x86_64
Dependencies base-, bytestring-, cereal-, network-, network-info-
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring cereal-
Configuring network-
Building cereal-
Building network-
Configuring network-info-
Installed cereal-
Building network-info-
Installed network-info-
Installed network-
Configuring haskell-openflow-
Building haskell-openflow-
Failed to install haskell-openflow-
Build log ( /home/builder/.cabal/logs/haskell-openflow- ):
cabal: Entering directory '/tmp/cabal-tmp-8360/haskell-openflow-'
Configuring haskell-openflow-
Building haskell-openflow-
Preprocessing library haskell-openflow-
[1 of 1] Compiling Network.OpenFlow ( Network/OpenFlow.hs, dist/build/Network/OpenFlow.o )

Network/OpenFlow.hs:906:25: error:
    • Could not deduce (Num b) arising from the literal ‘0’
      from the context: (Enum a, Bits b)
        bound by the type signature for:
                   enumToBitInst :: (Enum a, Bits b) => [a] -> b
        at Network/OpenFlow.hs:905:1-45
      Possible fix:
        add (Num b) to the context of
          the type signature for:
            enumToBitInst :: (Enum a, Bits b) => [a] -> b
    • In the second argument of ‘f’, namely ‘0’
      In the expression: f xs 0
      In an equation for ‘enumToBitInst’:
          enumToBitInst xs
            = f xs 0
                f xs' w = foldl (\ w x -> w `setBit` fromEnum x) w xs
cabal: Leaving directory '/tmp/cabal-tmp-8360/haskell-openflow-'
cabal: Error: some packages failed to install:
haskell-openflow- failed during the building phase. The exception was:
ExitFailure 1