Resolving dependencies... Configuring regex-base-0.72.0.2... Building regex-base-0.72.0.2... Preprocessing library regex-base-0.72.0.2... Text/Regex/Base/RegexLike.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Base/Context.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [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 ) Text/Regex/Base/Context.hs:90:1: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() Text/Regex/Base/Context.hs:162:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b Bool Text/Regex/Base/Context.hs:168:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b () Text/Regex/Base/Context.hs:176:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b Int Text/Regex/Base/Context.hs:184:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (MatchOffset, MatchLength) Text/Regex/Base/Context.hs:190:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b MatchArray Text/Regex/Base/Context.hs:195:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (b, MatchText b, b) Text/Regex/Base/Context.hs:199:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (Array Int b) Text/Regex/Base/Context.hs:203:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (b, b, b) Text/Regex/Base/Context.hs:208:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (b, b, b, [b]) Text/Regex/Base/Context.hs:213:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (MatchResult b) Text/Regex/Base/Context.hs:228:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [MatchArray] Text/Regex/Base/Context.hs:233:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [MatchText b] Text/Regex/Base/Context.hs:239:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [(MatchOffset, MatchLength)] Text/Regex/Base/Context.hs:244:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [b] Text/Regex/Base/Context.hs:248:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [Array Int b] Text/Regex/Base/Context.hs:252:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [[b]] [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.72.0.2... Running Haddock for regex-base-0.72.0.2... Running hscolour for regex-base-0.72.0.2... Preprocessing library regex-base-0.72.0.2... Preprocessing library regex-base-0.72.0.2... Text/Regex/Base/RegexLike.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Base/Context.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Base/RegexLike.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Base/Context.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Base/Context.hs:90:1: Warning: The import of `Data.Maybe' is redundant except perhaps to import instances from `Data.Maybe' To import instances alone, use: import Data.Maybe() Text/Regex/Base/Context.hs:162:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b Bool Text/Regex/Base/Context.hs:168:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b () Text/Regex/Base/Context.hs:176:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b Int Text/Regex/Base/Context.hs:184:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (MatchOffset, MatchLength) Text/Regex/Base/Context.hs:190:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b MatchArray Text/Regex/Base/Context.hs:195:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (b, MatchText b, b) Text/Regex/Base/Context.hs:199:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (Array Int b) Text/Regex/Base/Context.hs:203:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (b, b, b) Text/Regex/Base/Context.hs:208:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (b, b, b, [b]) Text/Regex/Base/Context.hs:213:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b (MatchResult b) Text/Regex/Base/Context.hs:228:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [MatchArray] Text/Regex/Base/Context.hs:233:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [MatchText b] Text/Regex/Base/Context.hs:239:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [(MatchOffset, MatchLength)] Text/Regex/Base/Context.hs:244:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [b] Text/Regex/Base/Context.hs:248:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [Array Int b] Text/Regex/Base/Context.hs:252:10: Warning: Orphan instance: instance RegexLike a b => RegexContext a b [[b]] Haddock coverage: 93% ( 13 / 14) in 'Text.Regex.Base.RegexLike' 100% ( 1 / 1) in 'Text.Regex.Base.Context' 100% ( 3 / 3) 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.72.0.2 Registering regex-base-0.72.0.2... Installed regex-base-0.72.0.2 Configuring utf8-string-0.3.7... Building utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... [1 of 7] Compiling Codec.Binary.UTF8.String ( Codec/Binary/UTF8/String.hs, dist/build/Codec/Binary/UTF8/String.o ) [2 of 7] Compiling Codec.Binary.UTF8.Generic ( Codec/Binary/UTF8/Generic.hs, dist/build/Codec/Binary/UTF8/Generic.o ) [3 of 7] Compiling Data.String.UTF8 ( Data/String/UTF8.hs, dist/build/Data/String/UTF8.o ) [4 of 7] Compiling System.IO.UTF8 ( System/IO/UTF8.hs, dist/build/System/IO/UTF8.o ) [5 of 7] Compiling System.Environment.UTF8 ( System/Environment/UTF8.hs, dist/build/System/Environment/UTF8.o ) [6 of 7] Compiling Data.ByteString.UTF8 ( Data/ByteString/UTF8.hs, dist/build/Data/ByteString/UTF8.o ) [7 of 7] Compiling Data.ByteString.Lazy.UTF8 ( Data/ByteString/Lazy/UTF8.hs, dist/build/Data/ByteString/Lazy/UTF8.o ) In-place registering utf8-string-0.3.7... Running Haddock for utf8-string-0.3.7... Running hscolour for utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... Preprocessing library utf8-string-0.3.7... Haddock coverage: 100% ( 8 / 8) in 'Codec.Binary.UTF8.String' 94% ( 16 / 17) in 'Codec.Binary.UTF8.Generic' 89% ( 24 / 27) in 'Data.String.UTF8' 82% ( 14 / 17) in 'System.IO.UTF8' 14% ( 1 / 7) in 'System.Environment.UTF8' 100% ( 17 / 17) in 'Data.ByteString.UTF8' 100% ( 17 / 17) in 'Data.ByteString.Lazy.UTF8' Documentation created: dist/doc/html/utf8-string/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/x86_64-linux-ghc-7.6.3/utf8-string-0.3.7 Registering utf8-string-0.3.7... Installed utf8-string-0.3.7 Configuring regex-posix-0.72.0.3... configure: WARNING: unrecognized options: --with-compiler, --with-gcc checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for regcomp... yes configure: creating ./config.status config.status: creating config.mk config.status: creating regex-posix.buildinfo config.status: creating include/HsRegexPosixConfig.h configure: WARNING: unrecognized options: --with-compiler, --with-gcc Building regex-posix-0.72.0.3... Preprocessing library regex-posix-0.72.0.3... Text/Regex/Posix/Wrap.hsc:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Posix/Wrap.hsc:1:16: Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead Text/Regex/Posix/String.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead Text/Regex/Posix/ByteString.hs:1:16: Warning: -fglasgow-exts is deprecated: Use individual extensions instead [1 of 4] Compiling Text.Regex.Posix.Wrap ( dist/build/Text/Regex/Posix/Wrap.hs, dist/build/Text/Regex/Posix/Wrap.o ) Text/Regex/Posix/Wrap.hsc:312:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static regcomp" c_regcomp :: Ptr CRegex -> CString -> CompOption -> IO ReturnCode Text/Regex/Posix/Wrap.hsc:312:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static regcomp" c_regcomp :: Ptr CRegex -> CString -> CompOption -> IO ReturnCode Text/Regex/Posix/Wrap.hsc:318:1: Unacceptable argument type in foreign declaration: CSize When checking declaration: foreign import ccall unsafe "static regexec" c_regexec :: Ptr CRegex -> CString -> CSize -> Ptr CRegMatch -> ExecOption -> IO ReturnCode Text/Regex/Posix/Wrap.hsc:318:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static regexec" c_regexec :: Ptr CRegex -> CString -> CSize -> Ptr CRegMatch -> ExecOption -> IO ReturnCode Text/Regex/Posix/Wrap.hsc:318:1: Unacceptable result type in foreign declaration: IO CInt When checking declaration: foreign import ccall unsafe "static regexec" c_regexec :: Ptr CRegex -> CString -> CSize -> Ptr CRegMatch -> ExecOption -> IO ReturnCode Text/Regex/Posix/Wrap.hsc:322:1: Unacceptable argument type in foreign declaration: CInt When checking declaration: foreign import ccall unsafe "static regerror" c_regerror :: ReturnCode -> Ptr CRegex -> CString -> CSize -> IO CSize Text/Regex/Posix/Wrap.hsc:322:1: Unacceptable argument type in foreign declaration: CSize When checking declaration: foreign import ccall unsafe "static regerror" c_regerror :: ReturnCode -> Ptr CRegex -> CString -> CSize -> IO CSize Text/Regex/Posix/Wrap.hsc:322:1: Unacceptable result type in foreign declaration: IO CSize When checking declaration: foreign import ccall unsafe "static regerror" c_regerror :: ReturnCode -> Ptr CRegex -> CString -> CSize -> IO CSize Failed to install regex-posix-0.72.0.3 [1 of 2] Compiling SetupWrapper ( /tmp/cairo-0.12.5.0-22668/cairo-0.12.5.0/SetupWrapper.hs, /tmp/cairo-0.12.5.0-22668/cairo-0.12.5.0/dist/setup/SetupWrapper.o ) [2 of 2] Compiling Main ( /tmp/cairo-0.12.5.0-22668/cairo-0.12.5.0/Setup.hs, /tmp/cairo-0.12.5.0-22668/cairo-0.12.5.0/dist/setup/Main.o ) Linking /tmp/cairo-0.12.5.0-22668/cairo-0.12.5.0/dist/setup/setup ... [1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o ) Linking dist/setup-wrapper/setup ... Configuring cairo-0.12.5.0... setup: The program gtk2hsC2hs version >=0.13.8 is required but the version found at /srv/hackage/var/build/bin/gtk2hsC2hs is version 0.13.6 Failed to install cairo-0.12.5.0 [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.5.0-22668/glib-0.12.5.0/SetupWrapper.hs, /tmp/glib-0.12.5.0-22668/glib-0.12.5.0/dist/setup/SetupWrapper.o ) [2 of 2] Compiling Main ( /tmp/glib-0.12.5.0-22668/glib-0.12.5.0/Setup.hs, /tmp/glib-0.12.5.0-22668/glib-0.12.5.0/dist/setup/Main.o ) Linking /tmp/glib-0.12.5.0-22668/glib-0.12.5.0/dist/setup/setup ... [1 of 2] Compiling Gtk2HsSetup ( Gtk2HsSetup.hs, dist/setup-wrapper/Gtk2HsSetup.o ) [2 of 2] Compiling Main ( SetupMain.hs, dist/setup-wrapper/Main.o ) Linking dist/setup-wrapper/setup ... Configuring glib-0.12.5.0... setup: The program gtk2hsC2hs version >=0.13.8 is required but the version found at /srv/hackage/var/build/bin/gtk2hsC2hs is version 0.13.6 Failed to install glib-0.12.5.0 cabal: Error: some packages failed to install: cairo-0.12.5.0 failed during the configure step. The exception was: ExitFailure 1 gio-0.12.5.0 depends on glib-0.12.5.0 which failed to install. glib-0.12.5.0 failed during the configure step. The exception was: ExitFailure 1 gtk-0.12.5.0 depends on glib-0.12.5.0 which failed to install. gtksourceview2-0.12.5.0 depends on glib-0.12.5.0 which failed to install. leksah-0.6.0 depends on glib-0.12.5.0 which failed to install. pango-0.12.5.0 depends on glib-0.12.5.0 which failed to install. regex-compat-0.71.0.1 depends on regex-posix-0.72.0.3 which failed to install. regex-posix-0.72.0.3 failed during the building phase. The exception was: ExitFailure 1