Resolving dependencies... Configuring HUnit-1.2.5.2... Building HUnit-1.2.5.2... Preprocessing library HUnit-1.2.5.2... [1 of 5] Compiling Test.HUnit.Terminal ( Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o ) [2 of 5] Compiling Test.HUnit.Lang ( Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o ) [3 of 5] Compiling Test.HUnit.Base ( Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o ) [4 of 5] Compiling Test.HUnit.Text ( Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o ) [5 of 5] Compiling Test.HUnit ( Test/HUnit.hs, dist/build/Test/HUnit.o ) In-place registering HUnit-1.2.5.2... Running Haddock for HUnit-1.2.5.2... Running hscolour for HUnit-1.2.5.2... Preprocessing library HUnit-1.2.5.2... Preprocessing library HUnit-1.2.5.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 100% ( 2 / 2) in 'Test.HUnit.Terminal' 86% ( 6 / 7) in 'Test.HUnit.Lang' 100% ( 33 / 33) in 'Test.HUnit.Base' 100% ( 8 / 8) in 'Test.HUnit.Text' 100% ( 3 / 3) in 'Test.HUnit' Documentation created: dist/doc/html/HUnit/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/HUnit-1.2.5.2/ghc-7.6.3 Registering HUnit-1.2.5.2... Installed HUnit-1.2.5.2 Configuring blaze-builder-0.3.3.0... Building blaze-builder-0.3.3.0... Preprocessing library blaze-builder-0.3.3.0... [ 1 of 13] Compiling Blaze.ByteString.Builder.Internal.Types ( Blaze/ByteString/Builder/Internal/Types.hs, dist/build/Blaze/ByteString/Builder/Internal/Types.o ) [ 2 of 13] Compiling Blaze.ByteString.Builder.Internal.Write ( Blaze/ByteString/Builder/Internal/Write.hs, dist/build/Blaze/ByteString/Builder/Internal/Write.o ) [ 3 of 13] Compiling Blaze.ByteString.Builder.Internal.Buffer ( Blaze/ByteString/Builder/Internal/Buffer.hs, dist/build/Blaze/ByteString/Builder/Internal/Buffer.o ) [ 4 of 13] Compiling Blaze.ByteString.Builder.Internal.UncheckedShifts ( Blaze/ByteString/Builder/Internal/UncheckedShifts.hs, dist/build/Blaze/ByteString/Builder/Internal/UncheckedShifts.o ) [ 5 of 13] Compiling Blaze.ByteString.Builder.Internal ( Blaze/ByteString/Builder/Internal.hs, dist/build/Blaze/ByteString/Builder/Internal.o ) [ 6 of 13] Compiling Blaze.ByteString.Builder.Char.Utf8 ( Blaze/ByteString/Builder/Char/Utf8.hs, dist/build/Blaze/ByteString/Builder/Char/Utf8.o ) [ 7 of 13] Compiling Blaze.ByteString.Builder.ByteString ( Blaze/ByteString/Builder/ByteString.hs, dist/build/Blaze/ByteString/Builder/ByteString.o ) [ 8 of 13] Compiling Blaze.ByteString.Builder.Word ( Blaze/ByteString/Builder/Word.hs, dist/build/Blaze/ByteString/Builder/Word.o ) [ 9 of 13] Compiling Blaze.ByteString.Builder.Char8 ( Blaze/ByteString/Builder/Char8.hs, dist/build/Blaze/ByteString/Builder/Char8.o ) [10 of 13] Compiling Blaze.ByteString.Builder.HTTP ( Blaze/ByteString/Builder/HTTP.hs, dist/build/Blaze/ByteString/Builder/HTTP.o ) [11 of 13] Compiling Blaze.ByteString.Builder.Int ( Blaze/ByteString/Builder/Int.hs, dist/build/Blaze/ByteString/Builder/Int.o ) [12 of 13] Compiling Blaze.ByteString.Builder ( Blaze/ByteString/Builder.hs, dist/build/Blaze/ByteString/Builder.o ) [13 of 13] Compiling Blaze.ByteString.Builder.Html.Utf8 ( Blaze/ByteString/Builder/Html/Utf8.hs, dist/build/Blaze/ByteString/Builder/Html/Utf8.o ) In-place registering blaze-builder-0.3.3.0... Running Haddock for blaze-builder-0.3.3.0... Running hscolour for blaze-builder-0.3.3.0... Preprocessing library blaze-builder-0.3.3.0... Preprocessing library blaze-builder-0.3.3.0... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0, text-0.11.2.3 Haddock coverage: 27% ( 4 / 15) in 'Blaze.ByteString.Builder.Internal.Types' 92% ( 24 / 26) in 'Blaze.ByteString.Builder.Internal.Write' 100% ( 22 / 22) in 'Blaze.ByteString.Builder.Internal.Buffer' 25% ( 1 / 4) in 'Blaze.ByteString.Builder.Internal.UncheckedShifts' 69% ( 22 / 32) in 'Blaze.ByteString.Builder.Internal' 100% ( 9 / 9) in 'Blaze.ByteString.Builder.Char.Utf8' 100% ( 12 / 12) in 'Blaze.ByteString.Builder.ByteString' 100% ( 43 / 43) in 'Blaze.ByteString.Builder.Word' 100% ( 9 / 9) in 'Blaze.ByteString.Builder.Char8' 100% ( 4 / 4) in 'Blaze.ByteString.Builder.HTTP' 100% ( 43 / 43) in 'Blaze.ByteString.Builder.Int' 92% ( 22 / 24) in 'Blaze.ByteString.Builder' 100% ( 10 / 10) in 'Blaze.ByteString.Builder.Html.Utf8' Warning: Blaze.ByteString.Builder.Char.Utf8: could not find link destinations for: Data.Text.Internal.Text Data.Text.Lazy.Internal.Text Warning: Blaze.ByteString.Builder.Char8: could not find link destinations for: Data.Text.Internal.Text Data.Text.Lazy.Internal.Text Warning: Blaze.ByteString.Builder.Html.Utf8: could not find link destinations for: Data.Text.Internal.Text Data.Text.Lazy.Internal.Text Documentation created: dist/doc/html/blaze-builder/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/blaze-builder-0.3.3.0/ghc-7.6.3 Registering blaze-builder-0.3.3.0... Installed blaze-builder-0.3.3.0 Downloading directory-1.0.0.3... Configuring directory-1.0.0.3... 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 for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/stat.h... (cached) yes configure: creating ./config.status config.status: creating include/HsDirectoryConfig.h config.status: include/HsDirectoryConfig.h is unchanged Building directory-1.0.0.3... Preprocessing library directory-1.0.0.3... [1 of 1] Compiling System.Directory ( System/Directory.hs, dist/build/System/Directory.o ) System/Directory.hs:595:10: Not in scope: `Prelude.catch' Perhaps you meant one of these: `Prelude.acosh' (imported from Prelude), `Prelude.acosh' (imported from Prelude), `Prelude.atan' (imported from Prelude) System/Directory.hs:741:40: Not in scope: `c_opendir' System/Directory.hs:742:42: Not in scope: `c_closedir' Perhaps you meant `c_close' (imported from System.Posix.Internals) System/Directory.hs:747:22: Not in scope: type constructor or class `CDirent' System/Directory.hs:747:38: Not in scope: type constructor or class `CDir' System/Directory.hs:750:12: Not in scope: `readdir' System/Directory.hs:757:33: Not in scope: `d_name' Perhaps you meant `System.Posix.rename' (imported from System.Posix) System/Directory.hs:758:21: Not in scope: `freeDirEnt' System/Directory.hs:764:28: Not in scope: `end_of_dir' System/Directory.hs:1079:5: Not in scope: `Prelude.catch' Perhaps you meant one of these: `Prelude.acosh' (imported from Prelude), `Prelude.acosh' (imported from Prelude), `Prelude.atan' (imported from Prelude) Failed to install directory-1.0.0.3 Configuring json2-types-0.1... Building json2-types-0.1... Preprocessing library json2-types-0.1... [1 of 1] Compiling Data.JSON2.Types ( Data/JSON2/Types.hs, dist/build/Data/JSON2/Types.o ) In-place registering json2-types-0.1... Running Haddock for json2-types-0.1... Running hscolour for json2-types-0.1... Preprocessing library json2-types-0.1... Preprocessing library json2-types-0.1... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 Haddock coverage: 60% ( 3 / 5) in 'Data.JSON2.Types' Documentation created: dist/doc/html/json2-types/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/json2-types-0.1/ghc-7.6.3 Registering json2-types-0.1... Installed json2-types-0.1 Configuring mtlparse-0.1.2... Building mtlparse-0.1.2... Preprocessing library mtlparse-0.1.2... [1 of 2] Compiling Text.ParserCombinators.MTLParse.MTLParseCore ( Text/ParserCombinators/MTLParse/MTLParseCore.hs, dist/build/Text/ParserCombinators/MTLParse/MTLParseCore.o ) [2 of 2] Compiling Text.ParserCombinators.MTLParse ( Text/ParserCombinators/MTLParse.hs, dist/build/Text/ParserCombinators/MTLParse.o ) Text/ParserCombinators/MTLParse.hs:50:1: Warning: The import of `liftM' from module `Control.Monad' is redundant In-place registering mtlparse-0.1.2... Running Haddock for mtlparse-0.1.2... Running hscolour for mtlparse-0.1.2... Preprocessing library mtlparse-0.1.2... Preprocessing library mtlparse-0.1.2... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0, mtl-2.1.2, transformers-0.3.0.0 dist/build/tmp-31798/Text/ParserCombinators/MTLParse.hs:50:1: Warning: The import of `liftM' from module `Control.Monad' is redundant Haddock coverage: Warning: mtlparse-0.1.2:Text.ParserCombinators.MTLParse.MTLParseCore: Could not find documentation for exported module: Control.Monad.Trans 21% ( 6 / 28) in 'Text.ParserCombinators.MTLParse.MTLParseCore' 14% ( 6 / 44) in 'Text.ParserCombinators.MTLParse' Warning: Text.ParserCombinators.MTLParse: could not find link destinations for: Control.Monad.Trans.State.Lazy.StateT Control.Monad.Trans.Writer.Lazy.WriterT Control.Monad.Trans.Reader.ReaderT Control.Monad.Reader.Class.MonadReader Control.Monad.State.Class.MonadState Control.Monad.Writer.Class.MonadWriter Control.Monad.Trans.Class.MonadTrans Control.Monad.IO.Class.MonadIO Documentation created: dist/doc/html/mtlparse/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/mtlparse-0.1.2/ghc-7.6.3 Registering mtlparse-0.1.2... Installed mtlparse-0.1.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... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0 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/utf8-string-0.3.7/ghc-7.6.3 Registering utf8-string-0.3.7... Installed utf8-string-0.3.7 Configuring regexpr-0.5.4... Building regexpr-0.5.4... Preprocessing library regexpr-0.5.4... [1 of 6] Compiling Hidden.Tools ( Hidden/Tools.hs, dist/build/Hidden/Tools.o ) [2 of 6] Compiling Hidden.RegexPRTypes ( Hidden/RegexPRTypes.hs, dist/build/Hidden/RegexPRTypes.o ) [3 of 6] Compiling Hidden.SrcRegActList ( Hidden/SrcRegActList.hs, dist/build/Hidden/SrcRegActList.o ) [4 of 6] Compiling Hidden.ParseRegexStr ( Hidden/ParseRegexStr.hs, dist/build/Hidden/ParseRegexStr.o ) [5 of 6] Compiling Hidden.RegexPRCore ( Hidden/RegexPRCore.hs, dist/build/Hidden/RegexPRCore.o ) [6 of 6] Compiling Text.RegexPR ( Text/RegexPR.hs, dist/build/Text/RegexPR.o ) In-place registering regexpr-0.5.4... Running Haddock for regexpr-0.5.4... Running hscolour for regexpr-0.5.4... Preprocessing library regexpr-0.5.4... Preprocessing library regexpr-0.5.4... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0, mtl-2.1.2, transformers-0.3.0.0 Haddock coverage: 0% ( 0 / 20) in 'Hidden.Tools' 0% ( 0 / 20) in 'Hidden.RegexPRTypes' 0% ( 0 / 7) in 'Hidden.SrcRegActList' 0% ( 0 / 3) in 'Hidden.ParseRegexStr' 0% ( 0 / 3) in 'Hidden.RegexPRCore' 0% ( 0 / 11) in 'Text.RegexPR' Warning: Text.RegexPR: could not find link destinations for: Hidden.RegexPRTypes.MatchFun Documentation created: dist/doc/html/regexpr/index.html Installing library in /srv/hackage/var/build/tmp-install/lib/regexpr-0.5.4/ghc-7.6.3 Registering regexpr-0.5.4... Installed regexpr-0.5.4 Configuring json2-0.8.3... Building json2-0.8.3... Preprocessing library json2-0.8.3... [1 of 7] Compiling Data.JSON2.Blaze ( src/Data/JSON2/Blaze.hs, dist/build/Data/JSON2/Blaze.o ) [2 of 7] Compiling Data.JSON2.Query ( src/Data/JSON2/Query.hs, dist/build/Data/JSON2/Query.o ) [3 of 7] Compiling Data.JSON2.Parser ( src/Data/JSON2/Parser.hs, dist/build/Data/JSON2/Parser.o ) [4 of 7] Compiling Data.JSON2.Internal ( src/Data/JSON2/Internal.hs, dist/build/Data/JSON2/Internal.o ) [5 of 7] Compiling Data.JSON2.Pretty ( src/Data/JSON2/Pretty.hs, dist/build/Data/JSON2/Pretty.o ) src/Data/JSON2/Pretty.hs:30:10: Illegal instance declaration for `Pretty Rational' (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Pretty Rational' src/Data/JSON2/Pretty.hs:32:10: Illegal instance declaration for `Pretty String' (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use -XFlexibleInstances if you want to disable this.) In the instance declaration for `Pretty String' Failed to install json2-0.8.3 cabal: Error: some packages failed to install: Bitly-0.1.0 depends on json2-0.8.3 which failed to install. bitly-cli-0.1.2 depends on json2-0.8.3 which failed to install. directory-1.0.0.3 failed during the building phase. The exception was: ExitFailure 1 json2-0.8.3 failed during the building phase. The exception was: ExitFailure 1