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... Configuring text-1.2.2.1... Installed primitive-0.6.1.0 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... Configuring vector-0.11.0.0... Installed utf8-string-1.0.1.1 Building vector-0.11.0.0... Installed text-1.2.2.1 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 cairo-0.13.3.1... Building glib-0.13.4.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.13.9... Failed to install gtk-0.13.9 Build log ( /home/builder/.cabal/logs/gtk-0.13.9.log ): cabal: Entering directory '/tmp/cabal-tmp-3486/gtk-0.13.9' cabal: Leaving directory '/tmp/cabal-tmp-3486/gtk-0.13.9' cabal: Error: some packages failed to install: gtk-0.13.9 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-3486/gtk-0.13.9/SetupWrapper.hs:60:49: error: Ambiguous occurrence ‘exeExtension’ It could refer to either ‘Distribution.Simple.BuildPaths.exeExtension’, imported from ‘Distribution.Simple.BuildPaths’ at /tmp/cabal-tmp-3486/gtk-0.13.9/SetupWrapper.hs:11:40-51 or ‘System.Directory.exeExtension’, imported from ‘System.Directory’ at /tmp/cabal-tmp-3486/gtk-0.13.9/SetupWrapper.hs:23:1-23 (and originally defined in ‘directory-1.2.6.2:System.Directory.Internal.Config’) ) gtksourceview2-0.13.2.1 depends on gtk-0.13.9 which failed to install.