Resolving dependencies... Configuring mtl-2.2.1... Configuring network-2.6.3.1... Building mtl-2.2.1... Building network-2.6.3.1... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Building old-locale-1.0.0.7... Configuring random-1.1... Installed old-locale-1.0.0.7 Building random-1.1... Installed random-1.1 Configuring silently-1.2.5... Configuring utf8-string-1.0.1.1... Building silently-1.2.5... Installed network-2.6.3.1 Building utf8-string-1.0.1.1... Configuring text-1.2.2.1... Installed silently-1.2.5 Building text-1.2.2.1... Installed utf8-string-1.0.1.1 Configuring fst-0.10.0.1... Building fst-0.10.0.1... Configuring old-time-1.1.0.3... Installed text-1.2.2.1 Configuring parsec-3.1.11... Installed fst-0.10.0.1 Building parsec-3.1.11... Building old-time-1.1.0.3... Installed old-time-1.1.0.3 Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Building network-uri-2.6.1.0... Installed network-uri-2.6.1.0 Configuring httpd-shed-0.4.0.3... Building httpd-shed-0.4.0.3... Installed httpd-shed-0.4.0.3 Downloading gf-3.2.9... Configuring gf-3.2.9... Failed to install gf-3.2.9 Build log ( /home/builder/.cabal/logs/gf-3.2.9.log ): cabal: Entering directory '/tmp/cabal-tmp-5754/gf-3.2.9' cabal: Leaving directory '/tmp/cabal-tmp-5754/gf-3.2.9' cabal: Error: some packages failed to install: gf-3.2.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-5754/gf-3.2.9/dist/setup/setup.hs:92:10: error: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:6:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:18:1-18 /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:337:27: error: Ambiguous occurrence ‘die’ It could refer to either ‘Distribution.Simple.Utils.die’, imported from ‘Distribution.Simple.Utils’ at /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:6:1-32 or ‘System.Exit.die’, imported from ‘System.Exit’ at /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:18:1-18 /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:343:71: error: Ambiguous occurrence ‘exeExtension’ It could refer to either ‘Distribution.Simple.BuildPaths.exeExtension’, imported from ‘Distribution.Simple.BuildPaths’ at /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:5:1-37 or ‘System.Directory.exeExtension’, imported from ‘System.Directory’ at /tmp/cabal-tmp-5754/gf-3.2.9/dist/setup/setup.hs:15:1-23 (and originally defined in ‘directory-1.2.6.2:System.Directory.Internal.Config’) )