Resolving dependencies... Configuring mtl-2.2.1... Configuring primitive-0.6.1.0... Building mtl-2.2.1... Building primitive-0.6.1.0... Installed mtl-2.2.1 Configuring random-1.1... Configuring text-1.2.2.1... Installed primitive-0.6.1.0 Building random-1.1... Building text-1.2.2.1... Configuring utf8-string-1.0.1.1... Installed random-1.1 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Building zlib-0.6.1.2... Configuring vector-0.11.0.0... Installed zlib-0.6.1.2 Building vector-0.11.0.0... Installed text-1.2.2.1 Configuring hashable-1.2.5.0... Building hashable-1.2.5.0... Installed hashable-1.2.5.0 Installed vector-0.11.0.0 Configuring hashtables-1.2.1.0... Building hashtables-1.2.1.0... Installed hashtables-1.2.1.0 Configuring gtk2hs-buildtools-0.13.2.1... Building gtk2hs-buildtools-0.13.2.1... Installed gtk2hs-buildtools-0.13.2.1 Configuring glib-0.13.4.1... Configuring cairo-0.13.3.1... Building glib-0.13.4.1... Building cairo-0.13.3.1... Installed cairo-0.13.3.1 Installed glib-0.13.4.1 Configuring pango-0.13.3.1... Configuring gio-0.13.3.1... Building gio-0.13.3.1... Building pango-0.13.3.1... Installed pango-0.13.3.1 Installed gio-0.13.3.1 Configuring gtk-0.14.6... Building gtk-0.14.6... Installed gtk-0.14.6 Configuring LambdaHack-0.1.20080412... Building LambdaHack-0.1.20080412... Failed to install LambdaHack-0.1.20080412 Build log ( /home/builder/.cabal/logs/LambdaHack-0.1.20080412.log ): cabal: Entering directory '/tmp/cabal-tmp-10510/LambdaHack-0.1.20080412' Configuring LambdaHack-0.1.20080412... Building LambdaHack-0.1.20080412... Preprocessing executable 'LambdaHack' for LambdaHack-0.1.20080412... [1 of 1] Compiling Main ( LambdaHack.hs, dist/build/LambdaHack/LambdaHack-tmp/Main.o ) LambdaHack.hs:6:1: error: Failed to load interface for ‘State’ It is a member of the hidden package ‘ghc-8.0.1.20161018’. Perhaps you need to add ‘ghc’ to the build-depends in your .cabal file. it is a hidden module in the package ‘gtk2hs-buildtools-0.13.2.1’ Use -v to see a list of the files searched for. LambdaHack.hs:7:1: error: Failed to load interface for ‘Geometry’ Use -v to see a list of the files searched for. LambdaHack.hs:8:1: error: Failed to load interface for ‘Level’ Use -v to see a list of the files searched for. LambdaHack.hs:9:1: error: Failed to load interface for ‘Dungeon’ Use -v to see a list of the files searched for. LambdaHack.hs:10:1: error: Failed to load interface for ‘Perception’ Perhaps you meant Exception (needs flag -package-key ghc-8.0.1.20161018) Use -v to see a list of the files searched for. LambdaHack.hs:11:1: error: Failed to load interface for ‘Display2’ Use -v to see a list of the files searched for. LambdaHack.hs:12:1: error: Failed to load interface for ‘Random’ Use -v to see a list of the files searched for. LambdaHack.hs:13:1: error: Failed to load interface for ‘Save’ Use -v to see a list of the files searched for. LambdaHack.hs:14:1: error: Failed to load interface for ‘Turn’ Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-10510/LambdaHack-0.1.20080412' cabal: Error: some packages failed to install: LambdaHack-0.1.20080412 failed during the building phase. The exception was: ExitFailure 1