Resolving dependencies... Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring gtk2hs-buildtools-0.12.1... Building gtk2hs-buildtools-0.12.1... Failed to install gtk2hs-buildtools-0.12.1 Build log ( /home/builder/.cabal/logs/gtk2hs-buildtools-0.12.1.log ): cabal: Entering directory '/tmp/cabal-tmp-28350/gtk2hs-buildtools-0.12.1' Configuring gtk2hs-buildtools-0.12.1... Building gtk2hs-buildtools-0.12.1... Preprocessing executable 'gtk2hsTypeGen' for gtk2hs-buildtools-0.12.1... [1 of 2] Compiling Paths_gtk2hs_buildtools ( dist/build/autogen/Paths_gtk2hs_buildtools.hs, dist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp/Paths_gtk2hs_buildtools.o ) [2 of 2] Compiling Main ( hierarchyGen/TypeGen.hs, dist/build/gtk2hsTypeGen/gtk2hsTypeGen-tmp/Main.o ) hierarchyGen/TypeGen.hs:37:7: warning: [-Wtabs] Tab character found here, and in 75 further locations. Please use spaces instead. Linking dist/build/gtk2hsTypeGen/gtk2hsTypeGen ... Preprocessing executable 'gtk2hsHookGenerator' for gtk2hs-buildtools-0.12.1... [1 of 2] Compiling Paths_gtk2hs_buildtools ( dist/build/autogen/Paths_gtk2hs_buildtools.hs, dist/build/gtk2hsHookGenerator/gtk2hsHookGenerator-tmp/Paths_gtk2hs_buildtools.o ) [2 of 2] Compiling Main ( callbackGen/HookGenerator.hs, dist/build/gtk2hsHookGenerator/gtk2hsHookGenerator-tmp/Main.o ) callbackGen/HookGenerator.hs:16:19: warning: [-Wtabs] Tab character found here, and in 125 further locations. Please use spaces instead. Linking dist/build/gtk2hsHookGenerator/gtk2hsHookGenerator ... Preprocessing executable 'gtk2hsC2hs' for gtk2hs-buildtools-0.12.1... dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/CLexer.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 41] Compiling Version ( c2hs/toplevel/Version.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Version.o ) c2hs/toplevel/Version.hs:11:5: warning: [-Wtabs] Tab character found here. Please use spaces instead. [ 2 of 41] Compiling Switches ( c2hs/state/Switches.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Switches.o ) c2hs/state/Switches.hs:72:1: warning: [-Wtabs] Tab character found here, and in 97 further locations. Please use spaces instead. [ 3 of 41] Compiling Map ( c2hs/base/general/Map.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Map.o ) [ 4 of 41] Compiling FastMutInt ( c2hs/base/general/FastMutInt.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/FastMutInt.o ) c2hs/base/general/FastMutInt.hs:8:1: warning: [-Wtabs] Tab character found here, and in one further location. Please use spaces instead. [ 5 of 41] Compiling FNameOps ( c2hs/base/general/FNameOps.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/FNameOps.o ) [ 6 of 41] Compiling FileOps ( c2hs/base/general/FileOps.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/FileOps.o ) c2hs/base/general/FileOps.hs:92:30: error: Variable not in scope: catch :: IO (Handle, String) -> (t0 -> m a) -> m a cabal: Leaving directory '/tmp/cabal-tmp-28350/gtk2hs-buildtools-0.12.1' cabal: Error: some packages failed to install: gtk2hs-buildtools-0.12.1 failed during the building phase. The exception was: ExitFailure 1