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 abstract-par-0.3.3 Starting call-stack-0.1.0 Starting base-orphans-0.8 Starting base-compat-0.10.5 Building call-stack-0.1.0 Building abstract-par-0.3.3 Building base-orphans-0.8 Building base-compat-0.10.5 Completed call-stack-0.1.0 Starting cereal-0.5.8.0 Completed base-orphans-0.8 Starting clock-0.7.2 Completed abstract-par-0.3.3 Starting colour-2.3.4 Building cereal-0.5.8.0 Building clock-0.7.2 Building colour-2.3.4 Completed clock-0.7.2 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed base-compat-0.10.5 Starting dlist-0.8.0.5 Completed data-default-class-0.1.2.0 Starting erf-2.0.0.0 Building dlist-0.8.0.5 Building erf-2.0.0.0 Completed erf-2.0.0.0 Starting hashable-1.2.7.0 Completed colour-2.3.4 Starting hspec-discover-2.6.1 Building hashable-1.2.7.0 Completed cereal-0.5.8.0 Starting integer-logarithms-1.0.2.2 Completed dlist-0.8.0.5 Starting parallel-3.2.2.0 Building hspec-discover-2.6.1 Building integer-logarithms-1.0.2.2 Building parallel-3.2.2.0 Completed integer-logarithms-1.0.2.2 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed hspec-discover-2.6.1 Starting random-1.1 Completed hashable-1.2.7.0 Starting safe-0.3.17 Completed parallel-3.2.2.0 Starting semigroups-0.18.5 Building random-1.1 Building safe-0.3.17 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting setenv-0.1.1.3 Building setenv-0.1.1.3 Completed setenv-0.1.1.3 Starting split-0.2.3.3 Completed random-1.1 Starting tagged-0.8.6 Building split-0.2.3.3 Completed safe-0.3.17 Starting th-abstraction-0.2.10.0 Building tagged-0.8.6 Building th-abstraction-0.2.10.0 Completed split-0.2.3.3 Starting time-locale-compat-0.1.1.5 Building time-locale-compat-0.1.1.5 Completed tagged-0.8.6 Starting transformers-compat-0.6.2 Completed time-locale-compat-0.1.1.5 Starting HUnit-1.6.0.0 Building transformers-compat-0.6.2 Building HUnit-1.6.0.0 Completed th-abstraction-0.2.10.0 Starting storable-complex-0.2.3.0 Building storable-complex-0.2.3.0 Completed storable-complex-0.2.3.0 Starting ansi-terminal-0.8.2 Completed HUnit-1.6.0.0 Starting unordered-containers-0.2.9.0 Completed transformers-compat-0.6.2 Starting uuid-types-1.0.3 Building ansi-terminal-0.8.2 Building unordered-containers-0.2.9.0 Building uuid-types-1.0.3 Completed primitive-0.6.4.0 Starting monad-par-extras-0.3.3 Building monad-par-extras-0.3.3 Completed ansi-terminal-0.8.2 Starting abstract-deque-0.3 Completed uuid-types-1.0.3 Starting hspec-expectations-0.8.2 Building abstract-deque-0.3 Completed monad-par-extras-0.3.3 Starting exceptions-0.10.0 Building hspec-expectations-0.8.2 Building exceptions-0.10.0 Completed abstract-deque-0.3 Starting vector-0.12.0.2 Completed hspec-expectations-0.8.2 Starting tf-random-0.5 Building vector-0.12.0.2 Building tf-random-0.5 Completed unordered-containers-0.2.9.0 Starting scientific-0.3.6.2 Completed exceptions-0.10.0 Building scientific-0.3.6.2 Completed tf-random-0.5 Starting QuickCheck-2.12.6.1 Building QuickCheck-2.12.6.1 Completed scientific-0.3.6.2 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed attoparsec-0.13.2.2 Completed QuickCheck-2.12.6.1 Starting quickcheck-io-0.2.0 Building quickcheck-io-0.2.0 Completed quickcheck-io-0.2.0 Starting hspec-core-2.6.1 Building hspec-core-2.6.1 Completed vector-0.12.0.2 Starting vector-binary-instances-0.2.5.1 Starting vector-th-unbox-0.2.1.6 Starting vector-algorithms-0.8.0.1 Building vector-th-unbox-0.2.1.6 Building vector-binary-instances-0.2.5.1 Building vector-algorithms-0.8.0.1 Completed vector-binary-instances-0.2.5.1 Starting matrices-0.5.0 Completed vector-th-unbox-0.2.1.6 Starting hmatrix-0.19.0.0 Building matrices-0.5.0 Failed to install hmatrix-0.19.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hmatrix-0.19.0.0-LSVrrxxBPvBHzAoTboAGif.log ): cabal: Entering directory '/tmp/cabal-tmp-9006/hmatrix-0.19.0.0' Configuring hmatrix-0.19.0.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: blas, lapack This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If the library files do 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-9006/hmatrix-0.19.0.0' Starting eigen-3.3.4.1 Building eigen-3.3.4.1 Completed hspec-core-2.6.1 Completed matrices-0.5.0 Completed vector-algorithms-0.8.0.1 Completed eigen-3.3.4.1 cabal: Error: some packages failed to install: hmatrix-0.19.0.0-LSVrrxxBPvBHzAoTboAGif failed during the configure step. The exception was: ExitFailure 1 hmatrix-svdlibc-0.5.0.1-FdsMpySLQp58ZfPi6Okv7b depends on hmatrix-svdlibc-0.5.0.1 which failed to install. spectral-clustering-0.2.1.2-6KOI38cD6G13HXrlQlHZzW depends on spectral-clustering-0.2.1.2 which failed to install.