Resolving dependencies... Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring regex-base-0.93.2... Building regex-base-0.93.2... Installed regex-base-0.93.2 Configuring regex-posix-0.95.2... Building regex-posix-0.95.2... Installed regex-posix-0.95.2 Configuring yi-0.2... Failed to install yi-0.2 Build log ( /home/builder/.cabal/logs/yi-0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-1617/yi-0.2' cabal: Leaving directory '/tmp/cabal-tmp-1617/yi-0.2' cabal: Error: some packages failed to install: yi-0.2 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-1617/yi-0.2/dist/setup/setup.hs:5:1: error: Failed to load interface for ‘Distribution.Setup’ Perhaps you meant Distribution.GetOpt Distribution.Lex Distribution.ReadE (from Cabal-1.24.0.0) Use -v to see a list of the files searched for. )