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... 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 ghc-events-0.4.4.0... Building ghc-events-0.4.4.0... Configuring vector-0.11.0.0... Installed text-1.2.2.1 Building vector-0.11.0.0... Installed ghc-events-0.4.4.0 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.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 threadscope-0.2.5... Building threadscope-0.2.5... Failed to install threadscope-0.2.5 Build log ( /home/builder/.cabal/logs/threadscope-0.2.5.log ): cabal: Entering directory '/tmp/cabal-tmp-17105/threadscope-0.2.5' Configuring threadscope-0.2.5... Building threadscope-0.2.5... Preprocessing executable 'threadscope' for threadscope-0.2.5... [ 1 of 35] Compiling Paths_threadscope ( dist/build/autogen/Paths_threadscope.hs, dist/build/threadscope/threadscope-tmp/Paths_threadscope.o ) [ 2 of 35] Compiling GUI.ViewerColours ( GUI/ViewerColours.hs, dist/build/threadscope/threadscope-tmp/GUI/ViewerColours.o ) [ 3 of 35] Compiling GUI.Types ( GUI/Types.hs, dist/build/threadscope/threadscope-tmp/GUI/Types.o ) [ 4 of 35] Compiling GUI.Timeline.Types ( GUI/Timeline/Types.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Types.o ) [ 5 of 35] Compiling GUI.Timeline.Render.Constants ( GUI/Timeline/Render/Constants.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Render/Constants.o ) [ 6 of 35] Compiling GUI.Timeline.CairoDrawing ( GUI/Timeline/CairoDrawing.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/CairoDrawing.o ) [ 7 of 35] Compiling GUI.SummaryView ( GUI/SummaryView.hs, dist/build/threadscope/threadscope-tmp/GUI/SummaryView.o ) [ 8 of 35] Compiling GUI.StartupInfoView ( GUI/StartupInfoView.hs, dist/build/threadscope/threadscope-tmp/GUI/StartupInfoView.o ) [ 9 of 35] Compiling GUI.MainWindow ( GUI/MainWindow.hs, dist/build/threadscope/threadscope-tmp/GUI/MainWindow.o ) [10 of 35] Compiling GUI.KeyView ( GUI/KeyView.hs, dist/build/threadscope/threadscope-tmp/GUI/KeyView.o ) [11 of 35] Compiling GUI.GtkExtras ( GUI/GtkExtras.hs, dist/build/threadscope/threadscope-tmp/GUI/GtkExtras.o ) [12 of 35] Compiling GUI.ProgressView ( GUI/ProgressView.hs, dist/build/threadscope/threadscope-tmp/GUI/ProgressView.o ) GUI/ProgressView.hs:20:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ [13 of 35] Compiling GUI.EventsView ( GUI/EventsView.hs, dist/build/threadscope/threadscope-tmp/GUI/EventsView.o ) [14 of 35] Compiling GUI.Dialogs ( GUI/Dialogs.hs, dist/build/threadscope/threadscope-tmp/GUI/Dialogs.o ) [15 of 35] Compiling GUI.ConcurrencyControl ( GUI/ConcurrencyControl.hs, dist/build/threadscope/threadscope-tmp/GUI/ConcurrencyControl.o ) [16 of 35] Compiling GUI.BookmarkView ( GUI/BookmarkView.hs, dist/build/threadscope/threadscope-tmp/GUI/BookmarkView.o ) [17 of 35] Compiling Events.TestEvents ( Events/TestEvents.hs, dist/build/threadscope/threadscope-tmp/Events/TestEvents.o ) [18 of 35] Compiling Events.SparkStats ( Events/SparkStats.hs, dist/build/threadscope/threadscope-tmp/Events/SparkStats.o ) [19 of 35] Compiling Events.SparkTree ( Events/SparkTree.hs, dist/build/threadscope/threadscope-tmp/Events/SparkTree.o ) [20 of 35] Compiling Events.EventDuration ( Events/EventDuration.hs, dist/build/threadscope/threadscope-tmp/Events/EventDuration.o ) [21 of 35] Compiling Events.EventTree ( Events/EventTree.hs, dist/build/threadscope/threadscope-tmp/Events/EventTree.o ) [22 of 35] Compiling Events.HECs ( Events/HECs.hs, dist/build/threadscope/threadscope-tmp/Events/HECs.o ) [23 of 35] Compiling GUI.Timeline.Ticks ( GUI/Timeline/Ticks.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Ticks.o ) [24 of 35] Compiling GUI.Timeline.Sparks ( GUI/Timeline/Sparks.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Sparks.o ) [25 of 35] Compiling GUI.Timeline.Motion ( GUI/Timeline/Motion.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Motion.o ) [26 of 35] Compiling GUI.TraceView ( GUI/TraceView.hs, dist/build/threadscope/threadscope-tmp/GUI/TraceView.o ) [27 of 35] Compiling Events.ReadEvents ( Events/ReadEvents.hs, dist/build/threadscope/threadscope-tmp/Events/ReadEvents.o ) [28 of 35] Compiling GUI.Timeline.Activity ( GUI/Timeline/Activity.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Activity.o ) [29 of 35] Compiling GUI.Timeline.HEC ( GUI/Timeline/HEC.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/HEC.o ) [30 of 35] Compiling GUI.Timeline.Render ( GUI/Timeline/Render.hs, dist/build/threadscope/threadscope-tmp/GUI/Timeline/Render.o ) GUI/Timeline/Render.hs:157:3: error: Ambiguous occurrence ‘rectangle’ It could refer to either ‘Graphics.UI.Gtk.rectangle’, imported from ‘Graphics.UI.Gtk’ at GUI/Timeline/Render.hs:24:1-22 (and originally defined in ‘Graphics.UI.Gtk.Cairo’) or ‘Graphics.Rendering.Cairo.rectangle’, imported from ‘Graphics.Rendering.Cairo’ at GUI/Timeline/Render.hs:43:5-13 GUI/Timeline/Render.hs:295:13: error: Ambiguous occurrence ‘rectangle’ It could refer to either ‘Graphics.UI.Gtk.rectangle’, imported from ‘Graphics.UI.Gtk’ at GUI/Timeline/Render.hs:24:1-22 (and originally defined in ‘Graphics.UI.Gtk.Cairo’) or ‘Graphics.Rendering.Cairo.rectangle’, imported from ‘Graphics.Rendering.Cairo’ at GUI/Timeline/Render.hs:43:5-13 GUI/Timeline/Render.hs:296:13: error: Ambiguous occurrence ‘rectangle’ It could refer to either ‘Graphics.UI.Gtk.rectangle’, imported from ‘Graphics.UI.Gtk’ at GUI/Timeline/Render.hs:24:1-22 (and originally defined in ‘Graphics.UI.Gtk.Cairo’) or ‘Graphics.Rendering.Cairo.rectangle’, imported from ‘Graphics.Rendering.Cairo’ at GUI/Timeline/Render.hs:43:5-13 GUI/Timeline/Render.hs:305:28: error: Ambiguous occurrence ‘rectangle’ It could refer to either ‘Graphics.UI.Gtk.rectangle’, imported from ‘Graphics.UI.Gtk’ at GUI/Timeline/Render.hs:24:1-22 (and originally defined in ‘Graphics.UI.Gtk.Cairo’) or ‘Graphics.Rendering.Cairo.rectangle’, imported from ‘Graphics.Rendering.Cairo’ at GUI/Timeline/Render.hs:43:5-13 cabal: Leaving directory '/tmp/cabal-tmp-17105/threadscope-0.2.5' cabal: Error: some packages failed to install: threadscope-0.2.5 failed during the building phase. The exception was: ExitFailure 1