Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting wl-pprint-1.2.1 Starting hashable-1.2.7.0 Building wl-pprint-1.2.1 Building hashable-1.2.7.0 Completed wl-pprint-1.2.1 Completed hashable-1.2.7.0 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed unordered-containers-0.2.9.0 Starting expresso-0.1.0.2 Building expresso-0.1.0.2 Failed to install expresso-0.1.0.2 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/expresso-0.1.0.2-JBy1CEjJt172qAaBtcVn5R.log ): cabal: Entering directory '/tmp/cabal-tmp-32557/expresso-0.1.0.2' Configuring expresso-0.1.0.2... Preprocessing library for expresso-0.1.0.2.. Building library for expresso-0.1.0.2.. [1 of 8] Compiling Expresso.Pretty ( src/Expresso/Pretty.hs, dist/build/Expresso/Pretty.o ) [2 of 8] Compiling Expresso.Utils ( src/Expresso/Utils.hs, dist/build/Expresso/Utils.o ) [3 of 8] Compiling Expresso.Type ( src/Expresso/Type.hs, dist/build/Expresso/Type.o ) [4 of 8] Compiling Expresso.Syntax ( src/Expresso/Syntax.hs, dist/build/Expresso/Syntax.o ) [5 of 8] Compiling Expresso.TypeCheck ( src/Expresso/TypeCheck.hs, dist/build/Expresso/TypeCheck.o ) [6 of 8] Compiling Expresso.Parser ( src/Expresso/Parser.hs, dist/build/Expresso/Parser.o ) [7 of 8] Compiling Expresso.Eval ( src/Expresso/Eval.hs, dist/build/Expresso/Eval.o ) [8 of 8] Compiling Expresso ( src/Expresso.hs, dist/build/Expresso.o ) /usr/bin/ld.gold: error: cannot find -ltinfo collect2: error: ld returned 1 exit status `gcc' failed in phase `Linker'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-32557/expresso-0.1.0.2' cabal: Error: some packages failed to install: expresso-0.1.0.2-JBy1CEjJt172qAaBtcVn5R failed during the building phase. The exception was: ExitFailure 1