Resolving dependencies... Configuring mtl-2.2.1... Configuring ghc-paths-0.1.0.9... Building mtl-2.2.1... Building ghc-paths-0.1.0.9... Installed mtl-2.2.1 Configuring parallel-3.2.1.0... Configuring random-1.1... Installed ghc-paths-0.1.0.9 Building parallel-3.2.1.0... Building random-1.1... Configuring primitive-0.6.1.0... Installed parallel-3.2.1.0 Building primitive-0.6.1.0... Configuring stm-2.4.4.1... Installed random-1.1 Building stm-2.4.4.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Configuring utf8-string-1.0.1.1... Installed primitive-0.6.1.0 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed transformers-compat-0.5.1.4 Building text-1.2.2.1... Configuring regex-base-0.93.2... Installed utf8-string-1.0.1.1 Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring exceptions-0.8.3... Building exceptions-0.8.3... Configuring vector-0.11.0.0... Installed exceptions-0.8.3 Building vector-0.11.0.0... Configuring regex-posix-0.95.2... Installed text-1.2.2.1 Building regex-posix-0.95.2... Installed regex-posix-0.95.2 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Configuring hint-0.6.0... Installed hashable-1.2.4.0 Building hint-0.6.0... Installed hint-0.6.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 tabloid-0.45... Building tabloid-0.45... Failed to install tabloid-0.45 Build log ( /home/builder/.cabal/logs/tabloid-0.45.log ): cabal: Entering directory '/tmp/cabal-tmp-10608/tabloid-0.45' Configuring tabloid-0.45... Building tabloid-0.45... Preprocessing executable 'tabloid' for tabloid-0.45... [ 1 of 21] Compiling WindowedApp ( WindowedApp.hs, dist/build/tabloid/tabloid-tmp/WindowedApp.o ) [ 2 of 21] Compiling TextInputView ( TextInputView.hs, dist/build/tabloid/tabloid-tmp/TextInputView.o ) TextInputView.hs:48:12: error: • Could not deduce (glib-0.13.4.1:System.Glib.UTFString.GlibString string0) arising from a use of ‘labelNew’ from the context: (WidgetClass child, TextBufferClass buffer) bound by the inferred type of new :: (WidgetClass child, TextBufferClass buffer) => buffer -> child -> IO ViewState at TextInputView.hs:(15,1)-(60,53) The type variable ‘string0’ is ambiguous These potential instances exist: instance glib-0.13.4.1:System.Glib.UTFString.GlibString [Char] -- Defined in ‘glib-0.13.4.1:System.Glib.UTFString’ ...plus one instance involving out-of-scope types (use -fprint-potential-instances to see them all) • In a stmt of a 'do' block: exitL <- labelNew Nothing In the expression: do { cmdE <- textViewNewWithBuffer buf; let stateTypes = ... fgCols = ... ....; mapM_ (uncurry (widgetModifyText cmdE)) $ stateTypes `zip` fgCols; mapM_ (uncurry (widgetModifyBase cmdE)) $ stateTypes `zip` bgCols; .... } In an equation for ‘new’: new buf fileButtons = do { cmdE <- textViewNewWithBuffer buf; let stateTypes = ... ....; mapM_ (uncurry (widgetModifyText cmdE)) $ stateTypes `zip` fgCols; .... } cabal: Leaving directory '/tmp/cabal-tmp-10608/tabloid-0.45' cabal: Error: some packages failed to install: tabloid-0.45 failed during the building phase. The exception was: ExitFailure 1