Resolving dependencies... Configuring call-stack-0.1.0... Configuring mtl-2.2.1... Building mtl-2.2.1... Building call-stack-0.1.0... Installed call-stack-0.1.0 Configuring network-2.6.3.1... Configuring old-locale-1.0.0.7... Installed mtl-2.2.1 Building network-2.6.3.1... Building old-locale-1.0.0.7... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Configuring utf8-string-0.3.7... Installed random-1.1 Building utf8-string-0.3.7... Configuring text-1.2.2.1... Installed network-2.6.3.1 Building text-1.2.2.1... Configuring HUnit-1.5.0.0... Installed utf8-string-0.3.7 Building HUnit-1.5.0.0... Configuring zlib-0.6.1.2... Installed HUnit-1.5.0.0 Building zlib-0.6.1.2... Installed zlib-0.6.1.2 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Configuring old-time-1.1.0.3... Installed regex-base-0.93.2 Building old-time-1.1.0.3... Configuring hslogger-1.2.10... Installed text-1.2.2.1 Building hslogger-1.2.10... Configuring glib-0.12.5.4... Installed old-time-1.1.0.3 Configuring cairo-0.12.5.3... 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-32598/glib-0.12.5.4' cabal: Leaving directory '/tmp/cabal-tmp-32598/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-32596/cairo-0.12.5.3' cabal: Leaving directory '/tmp/cabal-tmp-32596/cairo-0.12.5.3' Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Configuring parsec-3.1.11... Installed hslogger-1.2.10 Building parsec-3.1.11... Installed regex-posix-0.95.2 Configuring regex-compat-0.95.1... Building regex-compat-0.95.1... Installed regex-compat-0.95.1 Installed parsec-3.1.11 Configuring MissingH-1.4.0.1... Building MissingH-1.4.0.1... Installed MissingH-1.4.0.1 Configuring ConfigFile-1.1.4... Building ConfigFile-1.1.4... Installed ConfigFile-1.1.4 cabal: Error: some packages failed to install: Allure-0.4.2 depends on glib-0.12.5.4 which 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-32596/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-32596/cairo-0.12.5.3/SetupWrapper.hs:11:40-51 or ‘System.Directory.exeExtension’, imported from ‘System.Directory’ at /tmp/cabal-tmp-32596/cairo-0.12.5.3/SetupWrapper.hs:23:1-23 (and originally defined in ‘directory-1.2.6.2:System.Directory.Internal.Config’) /tmp/cabal-tmp-32596/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-32596/cairo-0.12.5.3/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cabal-tmp-32596/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-32598/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-32598/glib-0.12.5.4/SetupWrapper.hs:11:40-51 or ‘System.Directory.exeExtension’, imported from ‘System.Directory’ at /tmp/cabal-tmp-32598/glib-0.12.5.4/SetupWrapper.hs:23:1-23 (and originally defined in ‘directory-1.2.6.2:System.Directory.Internal.Config’) /tmp/cabal-tmp-32598/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-32598/glib-0.12.5.4/SetupWrapper.hs:8:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cabal-tmp-32598/glib-0.12.5.4/SetupWrapper.hs:21:1-18 ) gtk-0.12.5.7 depends on glib-0.12.5.4 which failed to install. pango-0.12.5.3 depends on glib-0.12.5.4 which failed to install.