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 cabal-doctest-1.0.6 Starting call-stack-0.1.0 Starting base-orphans-0.8 Building StateVar-1.1.1.1 Building call-stack-0.1.0 Building base-orphans-0.8 Building cabal-doctest-1.0.6 Completed call-stack-0.1.0 Starting clock-0.7.2 Completed base-orphans-0.8 Starting colour-2.3.4 Completed StateVar-1.1.1.1 Starting erf-2.0.0.0 Building clock-0.7.2 Building colour-2.3.4 Building erf-2.0.0.0 Completed cabal-doctest-1.0.6 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed erf-2.0.0.0 Starting hgmp-0.1.1 Completed clock-0.7.2 Starting hspec-discover-2.7.0 Building hgmp-0.1.1 Building hspec-discover-2.7.0 Completed hashable-1.2.7.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed hspec-discover-2.7.0 Starting logict-0.6.0.2 Building logict-0.6.0.2 Completed colour-2.3.4 Starting long-double-0.1 Completed integer-logarithms-1.0.2.2 Starting old-locale-1.0.0.7 Building long-double-0.1 Building old-locale-1.0.0.7 Completed logict-0.6.0.2 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed old-locale-1.0.0.7 Starting primitive-0.6.4.0 Completed long-double-0.1 Starting random-1.1 Building primitive-0.6.4.0 Building random-1.1 Completed hgmp-0.1.1 Starting reflection-2.1.4 Building reflection-2.1.4 Completed parallel-3.2.2.0 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed random-1.1 Starting safe-0.3.17 Building safe-0.3.17 Completed regex-base-0.93.2 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting setenv-0.1.1.3 Completed reflection-2.1.4 Starting syb-0.7 Building setenv-0.1.1.3 Building syb-0.7 Completed safe-0.3.17 Starting tagged-0.8.6 Completed setenv-0.1.1.3 Starting th-abstraction-0.2.11.0 Building tagged-0.8.6 Building th-abstraction-0.2.11.0 Completed syb-0.7 Starting transformers-compat-0.6.2 Completed tagged-0.8.6 Starting void-0.7.2 Building transformers-compat-0.6.2 Building void-0.7.2 Completed primitive-0.6.4.0 Starting HUnit-1.6.0.0 Completed void-0.7.2 Starting contravariant-1.5 Completed th-abstraction-0.2.11.0 Starting unordered-containers-0.2.10.0 Building HUnit-1.6.0.0 Building contravariant-1.5 Building unordered-containers-0.2.10.0 Completed transformers-compat-0.6.2 Starting ansi-terminal-0.9 Building ansi-terminal-0.9 Completed HUnit-1.6.0.0 Starting smallcheck-1.1.5 Completed contravariant-1.5 Starting old-time-1.1.0.3 Building smallcheck-1.1.5 Building old-time-1.1.0.3 Completed ansi-terminal-0.9 Starting regex-tdfa-1.2.3.1 Building regex-tdfa-1.2.3.1 Completed smallcheck-1.1.5 Starting th-expand-syns-0.4.4.0 Building th-expand-syns-0.4.4.0 Completed old-time-1.1.0.3 Starting distributive-0.6 Completed unordered-containers-0.2.10.0 Starting vector-0.12.0.2 Building vector-0.12.0.2 Completed th-expand-syns-0.4.4.0 Starting tf-random-0.5 Building distributive-0.6 Building tf-random-0.5 Completed distributive-0.6 Starting th-lift-0.7.11 Building th-lift-0.7.11 Completed tf-random-0.5 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting exceptions-0.10.0 Completed th-lift-0.7.11 Starting hspec-expectations-0.8.2 Building exceptions-0.10.0 Building hspec-expectations-0.8.2 Completed hspec-expectations-0.8.2 Starting convertible-1.1.1.0 Building convertible-1.1.1.0 Completed regex-tdfa-1.2.3.1 Starting th-reify-many-0.1.8 Completed exceptions-0.10.0 Starting comonad-5.0.4 Building th-reify-many-0.1.8 Completed th-reify-many-0.1.8 Starting QuickCheck-2.12.6.1 Building comonad-5.0.4 Building QuickCheck-2.12.6.1 Completed comonad-5.0.4 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed convertible-1.1.1.0 Completed bifunctors-5.5.3 Starting semigroupoids-5.3.2 Starting profunctors-5.3 Building profunctors-5.3 Building semigroupoids-5.3.2 Completed vector-0.12.0.2 Starting th-lift-instances-0.1.11 Building th-lift-instances-0.1.11 Completed th-lift-instances-0.1.11 Starting th-orphans-0.13.6 Completed QuickCheck-2.12.6.1 Starting quickcheck-io-0.2.0 Building th-orphans-0.13.6 Building quickcheck-io-0.2.0 Completed quickcheck-io-0.2.0 Starting hspec-core-2.7.0 Building hspec-core-2.7.0 Completed profunctors-5.3 Starting invariant-0.5.1 Building invariant-0.5.1 Completed th-orphans-0.13.6 Starting th-desugar-1.9 Completed semigroupoids-5.3.2 Starting free-5.1 Building th-desugar-1.9 Building free-5.1 Completed invariant-0.5.1 Completed hspec-core-2.7.0 Starting hspec-2.7.0 Starting hspec-smallcheck-0.5.2 Building hspec-2.7.0 Building hspec-smallcheck-0.5.2 Completed hspec-smallcheck-0.5.2 Completed hspec-2.7.0 Starting mixed-types-num-0.3.2 Building mixed-types-num-0.3.2 Completed free-5.1 Starting adjunctions-4.4 Building adjunctions-4.4 Completed th-desugar-1.9 Starting singletons-2.5.1 Completed adjunctions-4.4 Starting kan-extensions-5.2 Building kan-extensions-5.2 Building singletons-2.5.1 Completed kan-extensions-5.2 Starting lens-4.17 Building lens-4.17 Completed mixed-types-num-0.3.2 Completed lens-4.17 Completed singletons-2.5.1 Starting rounded-0.1.0.1 Failed to install rounded-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/rounded-0.1.0.1-CDxPgOoF57ACyohFk2nUA4.log ): cabal: Entering directory '/tmp/cabal-tmp-3819/rounded-0.1.0.1' Configuring rounded-0.1.0.1... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: mpfr This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-3819/rounded-0.1.0.1' cabal: Error: some packages failed to install: aern2-mp-0.1.4-IZOQowGgG7oJXYXVk9dGYH depends on aern2-mp-0.1.4 which failed to install. rounded-0.1.0.1-CDxPgOoF57ACyohFk2nUA4 failed during the configure step. The exception was: ExitFailure 1