Resolving dependencies... Downloading gtk2hs-buildtools-0.12.3... Configuring gtk2hs-buildtools-0.12.3... Building gtk2hs-buildtools-0.12.3... Preprocessing executable 'gtk2hsTypeGen' for gtk2hs-buildtools-0.12.3... [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 ) Linking dist/build/gtk2hsTypeGen/gtk2hsTypeGen ... Preprocessing executable 'gtk2hsHookGenerator' for gtk2hs-buildtools-0.12.3... [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 ) Linking dist/build/gtk2hsHookGenerator/gtk2hsHookGenerator ... Preprocessing executable 'gtk2hsC2hs' for gtk2hs-buildtools-0.12.3... [ 1 of 41] Compiling DLists ( c2hs/base/general/DLists.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/DLists.o ) [ 2 of 41] Compiling BaseVersion ( c2hs/base/admin/BaseVersion.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/BaseVersion.o ) [ 3 of 41] Compiling Switches ( c2hs/state/Switches.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Switches.o ) [ 4 of 41] Compiling Map ( c2hs/base/general/Map.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Map.o ) [ 5 of 41] Compiling FastMutInt ( c2hs/base/general/FastMutInt.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/FastMutInt.o ) [ 6 of 41] Compiling Config ( c2hs/base/admin/Config.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/Config.o ) [ 7 of 41] Compiling C2HSConfig ( c2hs/toplevel/C2HSConfig.hs, dist/build/gtk2hsC2hs/gtk2hsC2hs-tmp/C2HSConfig.o ) c2hs/toplevel/C2HSConfig.hs:110:1: Unacceptable result type in foreign declaration: CInt When checking declaration: foreign import ccall safe "static bitfield_direction" bitfield_direction :: CInt c2hs/toplevel/C2HSConfig.hs:122:1: Unacceptable result type in foreign declaration: CInt When checking declaration: foreign import ccall safe "static bitfield_padding" bitfield_padding :: CInt c2hs/toplevel/C2HSConfig.hs:130:1: Unacceptable result type in foreign declaration: CInt When checking declaration: foreign import ccall safe "static bitfield_int_signed" bitfield_int_signed :: CInt c2hs/toplevel/C2HSConfig.hs:140:1: Unacceptable result type in foreign declaration: CInt When checking declaration: foreign import ccall safe "static bitfield_alignment" bitfield_alignment :: CInt Failed to install gtk2hs-buildtools-0.12.3 cabal: Error: some packages failed to install: gtk2hs-buildtools-0.12.3 failed during the building phase. The exception was: ExitFailure 1