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-posix-0.94.0... [1 of 1] Compiling Main ( /tmp/regex-posix-0.94.0-2792/regex-posix-0.94.0/Setup.hs, /tmp/regex-posix-0.94.0-2792/regex-posix-0.94.0/dist/setup/Main.o ) /tmp/regex-posix-0.94.0-2792/regex-posix-0.94.0/Setup.hs:8:24: Warning: In the use of `defaultUserHooks' (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Linking /tmp/regex-posix-0.94.0-2792/regex-posix-0.94.0/dist/setup/setup ... This links to the standard c library version of regular expressions. The corresponding c header file is regex.h and there is a chance you will need to edit the end of the regex-posix.cabal file to find the include directory and/or library. Warning: defaultUserHooks in Setup script is deprecated. Configuring regex-posix-0.94.0... This links to the standard c library version of regular expressions. The corresponding c header file is regex.h and there is a chance you will need to edit the end of the regex-posix.cabal file to find the include directory and/or library. Building regex-posix-0.94.0... Preprocessing library regex-posix-0.94.0... Wrap.hsc:103:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default] In file included from /usr/include/x86_64-linux-gnu/sys/types.h:26:0, from Wrap.hsc:101: /usr/include/features.h:214:0: note: this is the location of the previous definition [1 of 6] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o ) Text/Regex/Posix/Wrap.hsc:505:69: Not in scope: type constructor or class `Int32' Text/Regex/Posix/Wrap.hsc:506:69: Not in scope: type constructor or class `Int32' Failed to install regex-posix-0.94.0 cabal: Error: some packages failed to install: regex-posix-0.94.0 failed during the building phase. The exception was: ExitFailure 1