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 base-orphans-0.8 Starting StateVar-1.1.1.1 Starting cabal-doctest-1.0.6 Starting base-compat-0.10.5 Building StateVar-1.1.1.1 Building base-orphans-0.8 Building cabal-doctest-1.0.6 Building base-compat-0.10.5 Completed base-orphans-0.8 Starting classyplate-0.3.2.0 Completed StateVar-1.1.1.1 Starting dlist-0.8.0.5 Building classyplate-0.3.2.0 Building dlist-0.8.0.5 Completed cabal-doctest-1.0.6 Starting ghc-paths-0.1.0.9 Completed dlist-0.8.0.5 Starting hashable-1.2.7.0 Completed classyplate-0.3.2.0 Starting instance-control-0.1.2.0 Building hashable-1.2.7.0 Building instance-control-0.1.2.0 Building ghc-paths-0.1.0.9 Completed base-compat-0.10.5 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed instance-control-0.1.2.0 Starting minisat-solver-0.1 Building minisat-solver-0.1 Completed ghc-paths-0.1.0.9 Starting portable-lines-0.1 Building portable-lines-0.1 Completed integer-logarithms-1.0.2.2 Starting primitive-0.6.4.0 Completed hashable-1.2.7.0 Starting random-1.1 Building primitive-0.6.4.0 Building random-1.1 Completed portable-lines-0.1 Starting safe-0.3.17 Building safe-0.3.17 Completed minisat-solver-0.1 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed random-1.1 Starting split-0.2.3.3 Building split-0.2.3.3 Completed semigroups-0.18.5 Starting syb-0.7 Completed safe-0.3.17 Starting tagged-0.8.6 Building syb-0.7 Building tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.2.10.0 Building th-abstraction-0.2.10.0 Completed tagged-0.8.6 Starting time-locale-compat-0.1.1.5 Completed syb-0.7 Starting transformers-compat-0.6.2 Building time-locale-compat-0.1.1.5 Building transformers-compat-0.6.2 Completed time-locale-compat-0.1.1.5 Starting contravariant-1.5 Building contravariant-1.5 Completed th-abstraction-0.2.10.0 Starting unordered-containers-0.2.9.0 Building unordered-containers-0.2.9.0 Completed transformers-compat-0.6.2 Starting uuid-types-1.0.3 Completed primitive-0.6.4.0 Starting distributive-0.6 Building uuid-types-1.0.3 Completed contravariant-1.5 Starting vector-0.12.0.2 Building vector-0.12.0.2 Building distributive-0.6 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed distributive-0.6 Starting comonad-5.0.4 Completed unordered-containers-0.2.9.0 Starting uniplate-1.6.12 Completed scientific-0.3.6.2 Building uniplate-1.6.12 Starting attoparsec-0.13.2.2 Building comonad-5.0.4 Building attoparsec-0.13.2.2 Completed comonad-5.0.4 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed uniplate-1.6.12 Completed attoparsec-0.13.2.2 Completed bifunctors-5.5.3 Starting profunctors-5.3 Starting semigroupoids-5.3.2 Building profunctors-5.3 Building semigroupoids-5.3.2 Completed vector-0.12.0.2 Starting aeson-1.4.2.0 Completed profunctors-5.3 Building aeson-1.4.2.0 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-29977/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-29977/haskell-tools-ast-1.1.1.0' Completed aeson-1.4.2.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 haskell-tools-backend-ghc-1.1.1.0-Kyu1VrxJN0T5kH8juCPg6k depends on haskell-tools-backend-ghc-1.1.1.0 which failed to install. haskell-tools-builtin-refactorings-1.1.1.0-IrJ8shcWteH8VJbwuqmNo0 depends on haskell-tools-builtin-refactorings-1.1.1.0 which failed to install. haskell-tools-prettyprint-1.1.1.0-DcKkqPqy2L0FtxPX9I6jp3 depends on haskell-tools-prettyprint-1.1.1.0 which failed to install. haskell-tools-refactor-1.1.1.0-JwQmTDdh1MAJ0NK7li4Rvk depends on haskell-tools-refactor-1.1.1.0 which failed to install. haskell-tools-rewrite-1.1.1.0-EuySlWgg3knJ4m8UTRQXHG depends on haskell-tools-rewrite-1.1.1.0 which failed to install.