Resolving dependencies... Configuring mtl-2.2.1... Configuring primitive-0.6.1.0... Building primitive-0.6.1.0... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring random-1.1... Installed primitive-0.6.1.0 Configuring text-1.2.2.1... 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... Installed utf8-string-1.0.1.1 Configuring vector-0.11.0.0... 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 cairo-0.13.3.1... Configuring glib-0.13.4.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 gio-0.13.3.1... Configuring pango-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 testpattern-0.1... Building testpattern-0.1... Failed to install testpattern-0.1 Build log ( /home/builder/.cabal/logs/testpattern-0.1.log ): cabal: Entering directory '/tmp/cabal-tmp-7209/testpattern-0.1' Configuring testpattern-0.1... Building testpattern-0.1... Preprocessing executable 'testpattern' for testpattern-0.1... [1 of 2] Compiling Paths_testpattern ( dist/build/autogen/Paths_testpattern.hs, dist/build/testpattern/testpattern-tmp/Paths_testpattern.o ) [2 of 2] Compiling Main ( Main.hs, dist/build/testpattern/testpattern-tmp/Main.o ) Main.hs:32:38: error: Not in scope: data constructor ‘Key’ Main.hs:32:43: error: Not in scope: ‘eventKeyChar’ Perhaps you meant ‘eventKeyVal’ (imported from Graphics.UI.Gtk) cabal: Leaving directory '/tmp/cabal-tmp-7209/testpattern-0.1' cabal: Error: some packages failed to install: testpattern-0.1 failed during the building phase. The exception was: ExitFailure 1