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-pcre-0.91... [1 of 1] Compiling Main ( /tmp/regex-pcre-0.91-1946/regex-pcre-0.91/Setup.hs, /tmp/regex-pcre-0.91-1946/regex-pcre-0.91/dist/setup/Main.o ) Linking /tmp/regex-pcre-0.91-1946/regex-pcre-0.91/dist/setup/setup ... regex-pcre needs to compile against the libpcre libary from http://www.pcre.org/ You might also need to edit the end of the regex-pcre.cabal file to point at the directories where libpcre 'include' and 'lib' have been installed. Configuring regex-pcre-0.91... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. regex-pcre needs to compile against the libpcre libary from http://www.pcre.org/ You might also need to edit the end of the regex-pcre.cabal file to point at the directories where libpcre 'include' and 'lib' have been installed. Building regex-pcre-0.91... Preprocessing library regex-pcre-0.91... Text/Regex/PCRE/Wrap.hsc:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/PCRE/Wrap.hsc:1:16: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead : Failing due to -Werror. Failed to install regex-pcre-0.91 cabal: Error: some packages failed to install: regex-pcre-0.91 failed during the building phase. The exception was: ExitFailure 1