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 Diff-0.3.4 Starting base-orphans-0.8 Starting StateVar-1.1.1.1 Starting base-compat-0.10.5 Building Diff-0.3.4 Building StateVar-1.1.1.1 Building base-orphans-0.8 Building base-compat-0.10.5 Completed base-orphans-0.8 Starting basement-0.0.8 Completed StateVar-1.1.1.1 Starting blaze-builder-0.4.1.0 Building basement-0.0.8 Building blaze-builder-0.4.1.0 Completed Diff-0.3.4 Starting byteable-0.1.1 Building byteable-0.1.1 Completed byteable-0.1.1 Starting cereal-0.5.7.0 Building cereal-0.5.7.0 Completed blaze-builder-0.4.1.0 Starting cmdargs-0.10.20 Completed base-compat-0.10.5 Starting colour-2.3.4 Building cmdargs-0.10.20 Building colour-2.3.4 Completed cereal-0.5.7.0 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed colour-2.3.4 Starting dlist-0.8.0.5 Completed data-default-class-0.1.2.0 Starting dotgen-0.4.2 Building dlist-0.8.0.5 Building dotgen-0.4.2 Completed dotgen-0.4.2 Starting half-0.3 Completed dlist-0.8.0.5 Starting hashable-1.2.7.0 Building half-0.3 Building hashable-1.2.7.0 Completed half-0.3 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed hashable-1.2.7.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting lens-family-core-1.2.3 Building lens-family-core-1.2.3 Completed cmdargs-0.10.20 Starting mime-types-0.1.0.9 Building mime-types-0.1.0.9 Completed lens-family-core-1.2.3 Starting network-2.8.0.0 Completed hourglass-0.2.12 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Building network-2.8.0.0 Completed network-uri-2.6.1.0 Starting parser-combinators-1.0.1 Building parser-combinators-1.0.1 Completed mime-types-0.1.0.9 Starting prettyprinter-1.2.1 Building prettyprinter-1.2.1 Completed parser-combinators-1.0.1 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed prettyprinter-1.2.1 Starting random-1.1 Completed network-2.8.0.0 Starting repline-0.2.0.0 Building random-1.1 Building repline-0.2.0.0 Completed basement-0.0.8 Starting semigroups-0.18.5 Failed to install repline-0.2.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/repline-0.2.0.0-DBKmkHYjDS8IzU00LggFCn.log ): cabal: Entering directory '/tmp/cabal-tmp-939/repline-0.2.0.0' Configuring repline-0.2.0.0... Preprocessing library for repline-0.2.0.0.. Building library for repline-0.2.0.0.. [1 of 1] Compiling System.Console.Repline ( src/System/Console/Repline.hs, dist/build/System/Console/Repline.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-939/repline-0.2.0.0' Starting tagged-0.8.6 Building semigroups-0.18.5 Building tagged-0.8.6 Completed semigroups-0.18.5 Completed random-1.1 Completed tagged-0.8.6 Completed primitive-0.6.4.0 cabal: Error: some packages failed to install: dhall-1.20.1-9RPuggflkFy1GUQGaUZDzl depends on dhall-1.20.1 which failed to install. repline-0.2.0.0-DBKmkHYjDS8IzU00LggFCn failed during the building phase. The exception was: ExitFailure 1