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.82... [1 of 1] Compiling Main ( /tmp/regex-pcre-0.82-2112/regex-pcre-0.82/Setup.hs, /tmp/regex-pcre-0.82-2112/regex-pcre-0.82/dist/setup/Main.o ) Linking /tmp/regex-pcre-0.82-2112/regex-pcre-0.82/dist/setup/setup ... This is a message from the regex-pcre author. You may need to edit regex-pcre.cabal to have Include-Dirs: and Extra-Lib-Dirs point to where the regex.h and libpcre can be found. Configuring regex-pcre-0.82... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. This is a message from the regex-pcre author. You may need to edit regex-pcre.cabal to have Include-Dirs: and Extra-Lib-Dirs point to where the regex.h and libpcre can be found. Building regex-pcre-0.82... Preprocessing library regex-pcre-0.82... 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.82 cabal: Error: some packages failed to install: regex-pcre-0.82 failed during the building phase. The exception was: ExitFailure 1