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 StateVar-1.1.1.1 Starting base-orphans-0.8 Starting classyplate-0.3.2.0 Starting cabal-doctest-1.0.6 Building StateVar-1.1.1.1 Building classyplate-0.3.2.0 Building base-orphans-0.8 Building cabal-doctest-1.0.6 Completed base-orphans-0.8 Starting hashable-1.2.7.0 Completed StateVar-1.1.1.1 Starting instance-control-0.1.2.0 Building hashable-1.2.7.0 Building instance-control-0.1.2.0 Completed cabal-doctest-1.0.6 Starting semigroups-0.18.5 Completed classyplate-0.3.2.0 Starting syb-0.7 Building semigroups-0.18.5 Building syb-0.7 Completed instance-control-0.1.2.0 Starting tagged-0.8.6 Building tagged-0.8.6 Completed semigroups-0.18.5 Starting th-abstraction-0.2.10.0 Building th-abstraction-0.2.10.0 Completed hashable-1.2.7.0 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed tagged-0.8.6 Starting contravariant-1.5 Completed syb-0.7 Starting unordered-containers-0.2.9.0 Building contravariant-1.5 Building unordered-containers-0.2.9.0 Completed transformers-compat-0.6.2 Starting distributive-0.6 Completed th-abstraction-0.2.10.0 Completed contravariant-1.5 Building distributive-0.6 Completed distributive-0.6 Starting comonad-5.0.4 Completed unordered-containers-0.2.9.0 Starting uniplate-1.6.12 Building comonad-5.0.4 Building uniplate-1.6.12 Completed comonad-5.0.4 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed uniplate-1.6.12 Completed bifunctors-5.5.3 Starting profunctors-5.3 Starting semigroupoids-5.3.2 Building profunctors-5.3 Building semigroupoids-5.3.2 Completed profunctors-5.3 Completed semigroupoids-5.3.2 Starting either-5.0.1 Building either-5.0.1 Completed either-5.0.1 Starting references-0.3.3.1 Building references-0.3.3.1 Completed references-0.3.3.1 Starting haskell-tools-ast-1.1.1.0 Building haskell-tools-ast-1.1.1.0 Failed to install haskell-tools-ast-1.1.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/haskell-tools-ast-1.1.1.0-K15JXl89sWsEAfl5GjMsEE.log ): cabal: Entering directory '/tmp/cabal-tmp-9381/haskell-tools-ast-1.1.1.0' Configuring haskell-tools-ast-1.1.1.0... Preprocessing library for haskell-tools-ast-1.1.1.0.. Building library for haskell-tools-ast-1.1.1.0.. [ 1 of 33] Compiling Language.Haskell.Tools.AST.Representation.Binds[boot] ( Language/Haskell/Tools/AST/Representation/Binds.hs-boot, dist/build/Language/Haskell/Tools/AST/Representation/Binds.o-boot ) [ 2 of 33] Compiling Language.Haskell.Tools.AST.Representation.Exprs[boot] ( Language/Haskell/Tools/AST/Representation/Exprs.hs-boot, dist/build/Language/Haskell/Tools/AST/Representation/Exprs.o-boot ) [ 3 of 33] Compiling Language.Haskell.Tools.AST.Representation.Literals ( Language/Haskell/Tools/AST/Representation/Literals.hs, dist/build/Language/Haskell/Tools/AST/Representation/Literals.o ) [ 4 of 33] Compiling Language.Haskell.Tools.AST.Representation.Modules[boot] ( Language/Haskell/Tools/AST/Representation/Modules.hs-boot, dist/build/Language/Haskell/Tools/AST/Representation/Modules.o-boot ) [ 5 of 33] Compiling Language.Haskell.Tools.AST.Representation.Names[boot] ( Language/Haskell/Tools/AST/Representation/Names.hs-boot, dist/build/Language/Haskell/Tools/AST/Representation/Names.o-boot ) [ 6 of 33] Compiling Language.Haskell.Tools.AST.Representation.TH[boot] ( Language/Haskell/Tools/AST/Representation/TH.hs-boot, dist/build/Language/Haskell/Tools/AST/Representation/TH.o-boot ) [ 7 of 33] Compiling Language.Haskell.Tools.AST.Representation.Types[boot] ( Language/Haskell/Tools/AST/Representation/Types.hs-boot, dist/build/Language/Haskell/Tools/AST/Representation/Types.o-boot ) [ 8 of 33] Compiling Language.Haskell.Tools.AST.SemaInfoTypes ( Language/Haskell/Tools/AST/SemaInfoTypes.hs, dist/build/Language/Haskell/Tools/AST/SemaInfoTypes.o ) : can't load .so/.DLL for: libtinfo.so (libtinfo.so: cannot open shared object file: No such file or directory) cabal: Leaving directory '/tmp/cabal-tmp-9381/haskell-tools-ast-1.1.1.0' cabal: Error: some packages failed to install: haskell-tools-ast-1.1.1.0-K15JXl89sWsEAfl5GjMsEE failed during the building phase. The exception was: ExitFailure 1