Resolving dependencies... Configuring cereal-0.5.4.0... Configuring network-2.6.3.1... Building cereal-0.5.4.0... Building network-2.6.3.1... Configuring network-info-0.2.0.8... Installed cereal-0.5.4.0 Building network-info-0.2.0.8... Installed network-info-0.2.0.8 Installed network-2.6.3.1 Configuring haskell-openflow-0.0.0.1... Building haskell-openflow-0.0.0.1... Failed to install haskell-openflow-0.0.0.1 Build log ( /home/builder/.cabal/logs/haskell-openflow-0.0.0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-8360/haskell-openflow-0.0.0.1' Configuring haskell-openflow-0.0.0.1... Building haskell-openflow-0.0.0.1... Preprocessing library haskell-openflow-0.0.0.1... [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 where f xs' w = foldl (\ w x -> w `setBit` fromEnum x) w xs cabal: Leaving directory '/tmp/cabal-tmp-8360/haskell-openflow-0.0.0.1' cabal: Error: some packages failed to install: haskell-openflow-0.0.0.1 failed during the building phase. The exception was: ExitFailure 1