Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: ghc-8.0.1.20161018 Cabal-1.24.0.0 Continuing even though the plan contains dangerous reinstalls. Configuring filepath-1.3.0.1... Configuring mtl-2.2.1... Building filepath-1.3.0.1... Building mtl-2.2.1... Installed filepath-1.3.0.1 Configuring text-1.2.2.1... Building text-1.2.2.1... Configuring utf8-string-0.3.7... Installed mtl-2.2.1 Building utf8-string-0.3.7... Configuring directory-1.2.7.1... Installed utf8-string-0.3.7 Building directory-1.2.7.1... Installed directory-1.2.7.1 Configuring cairo-0.12.5.3... Configuring glib-0.12.5.4... Failed to install cairo-0.12.5.3 Build log ( /home/builder/.cabal/logs/cairo-0.12.5.3.log ): cabal: Entering directory '/tmp/cabal-tmp-20212/cairo-0.12.5.3' cabal: Leaving directory '/tmp/cabal-tmp-20212/cairo-0.12.5.3' Configuring process-1.4.2.0... Failed to install glib-0.12.5.4 Build log ( /home/builder/.cabal/logs/glib-0.12.5.4.log ): cabal: Entering directory '/tmp/cabal-tmp-20214/glib-0.12.5.4' cabal: Leaving directory '/tmp/cabal-tmp-20214/glib-0.12.5.4' Building process-1.4.2.0... Installed text-1.2.2.1 Configuring parsec-3.1.11... Installed process-1.4.2.0 Building parsec-3.1.11... Installed parsec-3.1.11 Configuring goatee-0.3.1.2... Building goatee-0.3.1.2... Installed goatee-0.3.1.2 cabal: Error: some packages failed to install: cairo-0.12.5.3 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-20212/cairo-0.12.5.3/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-20212/cairo-0.12.5.3/SetupWrapper.hs:11:40-51 or ‘System.Directory.exeExtension’, imported from ‘System.Directory’ at /tmp/cabal-tmp-20212/cairo-0.12.5.3/SetupWrapper.hs:23:1-23 (and originally defined in ‘directory-1.2.7.1:System.Directory.Internal.Config’) /tmp/cabal-tmp-20212/cairo-0.12.5.3/SetupWrapper.hs:91:17: error: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cabal-tmp-20212/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cabal-tmp-20212/cairo-0.12.5.3/SetupWrapper.hs:21:1-18 ) gio-0.12.5.3 depends on glib-0.12.5.4 which failed to install. glib-0.12.5.4 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-20214/glib-0.12.5.4/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-20214/glib-0.12.5.4/SetupWrapper.hs:11:40-51 or ‘System.Directory.exeExtension’, imported from ‘System.Directory’ at /tmp/cabal-tmp-20214/glib-0.12.5.4/SetupWrapper.hs:23:1-23 (and originally defined in ‘directory-1.2.7.1:System.Directory.Internal.Config’) /tmp/cabal-tmp-20214/glib-0.12.5.4/SetupWrapper.hs:91:17: error: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cabal-tmp-20214/glib-0.12.5.4/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cabal-tmp-20214/glib-0.12.5.4/SetupWrapper.hs:21:1-18 ) goatee-gtk-0.3.0 depends on cairo-0.12.5.3 which failed to install. gtk-0.12.5.7 depends on cairo-0.12.5.3 which failed to install. pango-0.12.5.3 depends on cairo-0.12.5.3 which failed to install.