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 StateVar-1.1.1.1 Starting base-orphans-0.8 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 cabal-doctest-1.0.6 Completed StateVar-1.1.1.1 Starting classyplate-0.3.2.0 Building cabal-doctest-1.0.6 Building classyplate-0.3.2.0 Completed Diff-0.3.4 Starting colour-2.3.4 Building colour-2.3.4 Completed cabal-doctest-1.0.6 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed classyplate-0.3.2.0 Starting ghc-paths-0.1.0.9 Completed base-compat-0.10.5 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed dlist-0.8.0.5 Starting instance-control-0.1.2.0 Building instance-control-0.1.2.0 Building ghc-paths-0.1.0.9 Completed colour-2.3.4 Starting integer-logarithms-1.0.2.2 Completed instance-control-0.1.2.0 Starting minisat-solver-0.1 Building integer-logarithms-1.0.2.2 Building minisat-solver-0.1 Completed ghc-paths-0.1.0.9 Starting network-2.8.0.0 Completed hashable-1.2.7.0 Starting portable-lines-0.1 Building portable-lines-0.1 Completed integer-logarithms-1.0.2.2 Starting primitive-0.6.4.0 Completed portable-lines-0.1 Starting random-1.1 Building primitive-0.6.4.0 Building random-1.1 Building network-2.8.0.0 Completed minisat-solver-0.1 Starting safe-0.3.17 Building safe-0.3.17 Completed random-1.1 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting split-0.2.3.3 Completed safe-0.3.17 Starting strict-0.3.2 Building split-0.2.3.3 Building strict-0.3.2 Completed split-0.2.3.3 Starting syb-0.7 Completed strict-0.3.2 Starting system-filepath-0.4.14 Building syb-0.7 Completed network-2.8.0.0 Starting tagged-0.8.6 Building system-filepath-0.4.14 Building tagged-0.8.6 Completed syb-0.7 Starting th-abstraction-0.2.10.0 Completed primitive-0.6.4.0 Starting time-locale-compat-0.1.1.5 Building th-abstraction-0.2.10.0 Building time-locale-compat-0.1.1.5 Completed tagged-0.8.6 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed system-filepath-0.4.14 Starting unix-compat-0.5.1 Completed time-locale-compat-0.1.1.5 Starting contravariant-1.5 Building unix-compat-0.5.1 Building contravariant-1.5 Completed unix-compat-0.5.1 Starting ansi-terminal-0.8.2 Completed th-abstraction-0.2.10.0 Starting unordered-containers-0.2.9.0 Completed transformers-compat-0.6.2 Starting async-2.2.1 Building ansi-terminal-0.8.2 Building unordered-containers-0.2.9.0 Building async-2.2.1 Completed contravariant-1.5 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed async-2.2.1 Starting vector-0.12.0.2 Completed ansi-terminal-0.8.2 Starting scientific-0.3.6.2 Building vector-0.12.0.2 Building scientific-0.3.6.2 Completed uuid-types-1.0.3 Starting distributive-0.6 Building distributive-0.6 Completed scientific-0.3.6.2 Starting system-fileio-0.3.16.4 Completed unordered-containers-0.2.9.0 Starting transformers-base-0.4.5.2 Building system-fileio-0.3.16.4 Building transformers-base-0.4.5.2 Completed distributive-0.6 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed transformers-base-0.4.5.2 Starting constraints-0.10.1 Completed system-fileio-0.3.16.4 Starting hinotify-0.4 Building constraints-0.10.1 Building hinotify-0.4 Completed exceptions-0.10.0 Starting ansi-wl-pprint-0.6.8.2 Completed hinotify-0.4 Starting attoparsec-0.13.2.2 Building ansi-wl-pprint-0.6.8.2 Building attoparsec-0.13.2.2 Completed ansi-wl-pprint-0.6.8.2 Starting uniplate-1.6.12 Building uniplate-1.6.12 Completed constraints-0.10.1 Starting comonad-5.0.4 Building comonad-5.0.4 Completed attoparsec-0.13.2.2 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed comonad-5.0.4 Starting optparse-applicative-0.14.3.0 Completed uniplate-1.6.12 Starting bifunctors-5.5.3 Building optparse-applicative-0.14.3.0 Building bifunctors-5.5.3 Completed monad-control-1.0.2.3 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting lifted-async-0.10.0.3 Building lifted-async-0.10.0.3 Completed optparse-applicative-0.14.3.0 Starting enclosed-exceptions-1.0.3 Completed vector-0.12.0.2 Starting aeson-1.4.2.0 Building enclosed-exceptions-1.0.3 Building aeson-1.4.2.0 Completed lifted-async-0.10.0.3 Completed bifunctors-5.5.3 Starting profunctors-5.3 Starting semigroupoids-5.3.2 Completed enclosed-exceptions-1.0.3 Starting shelly-1.8.1 Building profunctors-5.3 Building shelly-1.8.1 Building semigroupoids-5.3.2 Completed shelly-1.8.1 Starting fsnotify-0.3.0.1 Building fsnotify-0.3.0.1 Completed profunctors-5.3 Completed fsnotify-0.3.0.1 Starting fswatch-0.1.0.6 Building fswatch-0.1.0.6 Completed semigroupoids-5.3.2 Starting either-5.0.1 Building either-5.0.1 Failed to install fswatch-0.1.0.6 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/fswatch-0.1.0.6-F6tbVdo5oJZLRUPt4osRSc.log ): cabal: Entering directory '/tmp/cabal-tmp-5713/fswatch-0.1.0.6' Configuring fswatch-0.1.0.6... Preprocessing library for fswatch-0.1.0.6.. Building library for fswatch-0.1.0.6.. [1 of 3] Compiling System.FSWatch.Repr ( src/System/FSWatch/Repr.hs, dist/build/System/FSWatch/Repr.o ) [2 of 3] Compiling System.FSWatch ( src/System/FSWatch.hs, dist/build/System/FSWatch.o ) [3 of 3] Compiling System.FSWatch.Slave ( src/System/FSWatch/Slave.hs, dist/build/System/FSWatch/Slave.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-5713/fswatch-0.1.0.6' Completed either-5.0.1 Completed aeson-1.4.2.0 cabal: Error: some packages failed to install: fswatch-0.1.0.6-F6tbVdo5oJZLRUPt4osRSc failed during the building phase. The exception was: ExitFailure 1 haskell-tools-daemon-1.1.1.0-CUcabc6S7d3C0ISWF3wVk3 depends on haskell-tools-daemon-1.1.1.0 which failed to install.