Resolving dependencies... Configuring regex-base-0.93.2... Building regex-base-0.93.2... Preprocessing library regex-base-0.93.2... [1 of 4] Compiling Text.Regex.Base.RegexLike ( Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o ) [2 of 4] Compiling Text.Regex.Base.Context ( Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o ) [3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs, dist/build/Text/Regex/Base.o ) [4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o ) In-place registering regex-base-0.93.2... Running Haddock for regex-base-0.93.2... Running hscolour for regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Preprocessing library regex-base-0.93.2... Haddock coverage: 94% ( 17 / 18) in 'Text.Regex.Base.RegexLike' 100% ( 1 / 1) in 'Text.Regex.Base.Context' 75% ( 3 / 4) in 'Text.Regex.Base' 33% ( 1 / 3) in 'Text.Regex.Base.Impl' Documentation created: dist/doc/html/regex-base/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/regex-base-0.93.2 Registering regex-base-0.93.2... Installed regex-base-0.93.2 Downloading regex-tdfa-0.95.1... Configuring regex-tdfa-0.95.1... Building regex-tdfa-0.95.1... Preprocessing library regex-tdfa-0.95.1... Text/Regex/TDFA/ByteString.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/TDFA/Sequence.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 21] Compiling Text.Regex.TDFA.IntArrTrieSet ( Text/Regex/TDFA/IntArrTrieSet.hs, dist/build/Text/Regex/TDFA/IntArrTrieSet.o ) [ 2 of 21] Compiling Data.IntMap.CharMap ( Data/IntMap/CharMap.hs, dist/build/Data/IntMap/CharMap.o ) [ 3 of 21] Compiling Data.IntSet.EnumSet ( Data/IntSet/EnumSet.hs, dist/build/Data/IntSet/EnumSet.o ) [ 4 of 21] Compiling Data.IntMap.EnumMap ( Data/IntMap/EnumMap.hs, dist/build/Data/IntMap/EnumMap.o ) Data/IntMap/EnumMap.hs:43:24: Could not deduce (m ~ Maybe) from the context (Enum key, Monad m) bound by the type signature for Data.IntMap.EnumMap.lookup :: (Enum key, Monad m) => key -> EnumMap key a -> m a at Data/IntMap/EnumMap.hs:42:11-59 `m' is a rigid type variable bound by the type signature for Data.IntMap.EnumMap.lookup :: (Enum key, Monad m) => key -> EnumMap key a -> m a at Data/IntMap/EnumMap.hs:42:11 Expected type: m a Actual type: Maybe a In the return type of a call of `M.lookup' In the expression: M.lookup (fromEnum k) m In an equation for `lookup': lookup k (EnumMap m) = M.lookup (fromEnum k) m Failed to install regex-tdfa-0.95.1 cabal: Error: some packages failed to install: regex-tdfa-0.95.1 failed during the building phase. The exception was: ExitFailure 1