Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Preprocessing library mtl-2.2.1... [ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o ) [ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o ) [ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o ) [ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o ) [ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o ) [ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o ) [ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o ) [ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o ) [ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o ) [10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o ) [11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o ) [12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o ) [13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o ) [14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o ) [15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o ) [16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o ) [17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o ) [18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o ) [19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o ) [20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o ) [21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o ) [22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o ) In-place registering mtl-2.2.1... Running Haddock for mtl-2.2.1... cabal: Haddock's internal GHC version must match the configured GHC version. The GHC version is 7.10.2 but haddock is using GHC version 7.8.3 Creating package registration file: /tmp/pkgConf-mtl-2.2336465782861021530.1 Installing library in /home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/mtl-2.2.1-KMpng31YRYc5JfMWFZ3FCU Registering mtl-2.2.1... Installed mtl-2.2.1 [1 of 1] Compiling Main ( /tmp/cabal-tmp-10794/epic-0.9.3.3/dist/setup/setup.hs, /tmp/cabal-tmp-10794/epic-0.9.3.3/dist/setup/Main.o ) Linking /tmp/cabal-tmp-10794/epic-0.9.3.3/dist/setup/setup ... Configuring epic-0.9.3.3... make: Entering directory `/tmp/cabal-tmp-10794/epic-0.9.3.3/evm' rm -f closure.o stdfuns.o emalloc.o sparks.o libevm.a make: Leaving directory `/tmp/cabal-tmp-10794/epic-0.9.3.3/evm' Building epic-0.9.3.3... Preprocessing library epic-0.9.3.3... [ 1 of 14] Compiling Paths_epic ( dist/build/autogen/Paths_epic.hs, dist/build/Paths_epic.o ) [ 2 of 14] Compiling Epic.Language ( Epic/Language.lhs, dist/build/Epic/Language.o ) [ 3 of 14] Compiling Epic.Simplify ( Epic/Simplify.lhs, dist/build/Epic/Simplify.o ) [ 4 of 14] Compiling Epic.Evaluator ( Epic/Evaluator.lhs, dist/build/Epic/Evaluator.o ) [ 5 of 14] Compiling Epic.Bytecode ( Epic/Bytecode.lhs, dist/build/Epic/Bytecode.o ) [ 6 of 14] Compiling Epic.CodegenC ( Epic/CodegenC.lhs, dist/build/Epic/CodegenC.o ) [ 7 of 14] Compiling Epic.Lexer ( Epic/Lexer.lhs, dist/build/Epic/Lexer.o ) [ 8 of 14] Compiling Epic.Parser ( dist/build/Epic/Parser.hs, dist/build/Epic/Parser.o ) [ 9 of 14] Compiling Epic.Scopecheck ( Epic/Scopecheck.lhs, dist/build/Epic/Scopecheck.o ) [10 of 14] Compiling Epic.Stackcode ( Epic/Stackcode.lhs, dist/build/Epic/Stackcode.o ) [11 of 14] Compiling Epic.CodegenStack ( Epic/CodegenStack.lhs, dist/build/Epic/CodegenStack.o ) [12 of 14] Compiling Epic.OTTLang ( Epic/OTTLang.lhs, dist/build/Epic/OTTLang.o ) [13 of 14] Compiling Epic.Compiler ( Epic/Compiler.lhs, dist/build/Epic/Compiler.o ) [14 of 14] Compiling Epic.Epic ( Epic/Epic.lhs, dist/build/Epic/Epic.o ) In-place registering epic-0.9.3.3... Preprocessing executable 'epic' for epic-0.9.3.3... [ 1 of 10] Compiling Epic.Language ( Epic/Language.lhs, dist/build/epic/epic-tmp/Epic/Language.o ) [ 2 of 10] Compiling Epic.Lexer ( Epic/Lexer.lhs, dist/build/epic/epic-tmp/Epic/Lexer.o ) [ 3 of 10] Compiling Epic.Simplify ( Epic/Simplify.lhs, dist/build/epic/epic-tmp/Epic/Simplify.o ) [ 4 of 10] Compiling Epic.Parser ( dist/build/epic/epic-tmp/Epic/Parser.hs, dist/build/epic/epic-tmp/Epic/Parser.o ) [ 5 of 10] Compiling Epic.Scopecheck ( Epic/Scopecheck.lhs, dist/build/epic/epic-tmp/Epic/Scopecheck.o ) [ 6 of 10] Compiling Epic.Bytecode ( Epic/Bytecode.lhs, dist/build/epic/epic-tmp/Epic/Bytecode.o ) [ 7 of 10] Compiling Epic.CodegenC ( Epic/CodegenC.lhs, dist/build/epic/epic-tmp/Epic/CodegenC.o ) [ 8 of 10] Compiling Paths_epic ( dist/build/autogen/Paths_epic.hs, dist/build/epic/epic-tmp/Paths_epic.o ) [ 9 of 10] Compiling Epic.Compiler ( Epic/Compiler.lhs, dist/build/epic/epic-tmp/Epic/Compiler.o ) [10 of 10] Compiling Main ( Main.lhs, dist/build/epic/epic-tmp/Main.o ) Linking dist/build/epic/epic ... make: Entering directory `/tmp/cabal-tmp-10794/epic-0.9.3.3/evm' gcc -Wall -O3 -DUSE_BOEHM -c -o closure.o closure.c In file included from closure.h:4:0, from closure.c:1: gc_header.h:10:19: fatal error: gc/gc.h: No such file or directory #include ^ compilation terminated. make: *** [closure.o] Error 1 make: Leaving directory `/tmp/cabal-tmp-10794/epic-0.9.3.3/evm' Failed to install epic-0.9.3.3 cabal: Error: some packages failed to install: epic-0.9.3.3 failed during the building phase. The exception was: ExitFailure 2