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 base16-bytestring-0.1.1.6 Starting StateVar-1.2 Starting base-orphans-0.8.2 Starting base-compat-0.11.1 Building base-orphans-0.8.2 Building base16-bytestring-0.1.1.6 Building StateVar-1.2 Building base-compat-0.11.1 Completed base16-bytestring-0.1.1.6 Starting base64-bytestring-1.0.0.3 Completed StateVar-1.2 Starting basement-0.0.11 Building base64-bytestring-1.0.0.3 Building basement-0.0.11 Completed base-orphans-0.8.2 Starting blaze-builder-0.4.1.0 Completed base64-bytestring-1.0.0.3 Starting cabal-doctest-1.0.8 Building blaze-builder-0.4.1.0 Building cabal-doctest-1.0.8 Completed base-compat-0.11.1 Starting call-stack-0.2.0 Completed cabal-doctest-1.0.8 Starting cereal-0.5.8.1 Building call-stack-0.2.0 Completed blaze-builder-0.4.1.0 Starting clock-0.8 Building cereal-0.5.8.1 Building clock-0.8 Completed call-stack-0.2.0 Starting colour-2.3.5 Building colour-2.3.5 Completed clock-0.8 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dec-0.0.3 Building dec-0.0.3 Completed dec-0.0.3 Starting dlist-0.8.0.7 Completed cereal-0.5.8.1 Starting entropy-0.4.1.5 Building dlist-0.8.0.7 Completed colour-2.3.5 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed dlist-0.8.0.7 Starting hashable-1.3.0.0 Building entropy-0.4.1.5 Building hashable-1.3.0.0 Completed entropy-0.4.1.5 Starting hspec-discover-2.7.1 Completed exceptions-0.10.4 Starting integer-logarithms-1.0.3 Building hspec-discover-2.7.1 Building integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting mime-types-0.1.0.9 Building mime-types-0.1.0.9 Completed integer-logarithms-1.0.3 Starting network-3.1.1.1 Completed hspec-discover-2.7.1 Starting network-uri-2.6.3.0 Building network-uri-2.6.3.0 Building network-3.1.1.1 Completed mime-types-0.1.0.9 Starting primitive-0.7.0.1 Completed network-uri-2.6.3.0 Starting random-1.1 Building primitive-0.7.0.1 Building random-1.1 Completed random-1.1 Starting safe-0.3.18 Building safe-0.3.18 Completed network-3.1.1.1 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed safe-0.3.18 Starting setenv-0.1.1.3 Completed semigroups-0.19.1 Starting split-0.2.3.4 Building setenv-0.1.1.3 Building split-0.2.3.4 Completed setenv-0.1.1.3 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.4 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed basement-0.0.11 Starting transformers-compat-0.6.5 Completed primitive-0.7.0.1 Starting unliftio-core-0.2.0.1 Building transformers-compat-0.6.5 Building unliftio-core-0.2.0.1 Completed tagged-0.8.6 Starting utf8-string-1.0.1.1 Completed unliftio-core-0.2.0.1 Building utf8-string-1.0.1.1 Starting void-0.7.3 Building void-0.7.3 Completed transformers-compat-0.6.5 Starting zlib-0.6.2.1 Completed void-0.7.3 Starting contravariant-1.5.2 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.2.2 Building zlib-0.6.2.1 Building contravariant-1.5.2 Building time-compat-1.9.2.2 Completed utf8-string-1.0.1.1 Starting HUnit-1.6.0.0 Building HUnit-1.6.0.0 Completed contravariant-1.5.2 Starting cookie-0.4.5 Building cookie-0.4.5 Completed time-compat-1.9.2.2 Starting singleton-bool-0.1.5 Completed HUnit-1.6.0.0 Starting murmur3-1.0.3 Completed zlib-0.6.2.1 Starting ansi-terminal-0.10.3 Building singleton-bool-0.1.5 Completed cookie-0.4.5 Starting unordered-containers-0.2.10.0 Building murmur3-1.0.3 Building ansi-terminal-0.10.3 Building unordered-containers-0.2.10.0 Completed singleton-bool-0.1.5 Starting case-insensitive-1.2.1.0 Completed murmur3-1.0.3 Starting async-2.2.2 Building case-insensitive-1.2.1.0 Building async-2.2.2 Completed case-insensitive-1.2.1.0 Starting uuid-types-1.0.3 Completed ansi-terminal-0.10.3 Starting splitmix-0.0.4 Building uuid-types-1.0.3 Completed async-2.2.2 Starting memory-0.15.0 Building splitmix-0.0.4 Building memory-0.15.0 Completed splitmix-0.0.4 Starting vector-0.12.1.2 Completed uuid-types-1.0.3 Starting tf-random-0.5 Building vector-0.12.1.2 Building tf-random-0.5 Completed unordered-containers-0.2.10.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed tf-random-0.5 Starting distributive-0.6.1 Building distributive-0.6.1 Completed memory-0.15.0 Starting resourcet-1.2.3 Completed scientific-0.3.6.2 Starting transformers-base-0.4.5.2 Building resourcet-1.2.3 Building transformers-base-0.4.5.2 Completed distributive-0.6.1 Starting mmorph-1.1.3 Completed transformers-base-0.4.5.2 Starting string-conversions-0.4.0.1 Building mmorph-1.1.3 Building string-conversions-0.4.0.1 Completed resourcet-1.2.3 Starting hspec-expectations-0.8.2 Building hspec-expectations-0.8.2 Completed string-conversions-0.4.0.1 Starting http-types-0.12.3 Building http-types-0.12.3 Completed mmorph-1.1.3 Starting http-media-0.8.0.0 Completed hspec-expectations-0.8.2 Building http-media-0.8.0.0 Starting streaming-commons-0.2.1.2 Building streaming-commons-0.2.1.2 Completed http-types-0.12.3 Starting QuickCheck-2.13.2 Completed http-media-0.8.0.0 Starting vault-0.3.1.3 Building QuickCheck-2.13.2 Building vault-0.3.1.3 Completed vault-0.3.1.3 Starting cryptonite-0.26 Building cryptonite-0.26 Completed streaming-commons-0.2.1.2 Starting attoparsec-0.13.2.3 Building attoparsec-0.13.2.3 Completed attoparsec-0.13.2.3 Starting comonad-5.0.6 Building comonad-5.0.6 Completed vector-0.12.1.2 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed QuickCheck-2.13.2 Starting http-client-0.6.4 Completed monad-control-1.0.2.3 Starting attoparsec-iso8601-1.0.1.0 Building http-client-0.6.4 Building attoparsec-iso8601-1.0.1.0 Completed comonad-5.0.6 Starting vector-algorithms-0.8.0.3 Building vector-algorithms-0.8.0.3 Completed attoparsec-iso8601-1.0.1.0 Starting aeson-1.4.6.0 Building aeson-1.4.6.0 Completed http-client-0.6.4 Starting secp256k1-haskell-0.1.5 Completed vector-algorithms-0.8.0.3 Starting quickcheck-io-0.2.0 Failed to install secp256k1-haskell-0.1.5 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/secp256k1-haskell-0.1.5-7Efd2gmxrCD7AiuS05noYM.log ): cabal: Entering directory '/tmp/cabal-tmp-18583/secp256k1-haskell-0.1.5' Configuring secp256k1-haskell-0.1.5... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: secp256k1 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-18583/secp256k1-haskell-0.1.5' Starting bifunctors-5.5.7 Building quickcheck-io-0.2.0 Building bifunctors-5.5.7 Completed quickcheck-io-0.2.0 Completed bifunctors-5.5.7 Completed aeson-1.4.6.0 Completed cryptonite-0.26 cabal: Error: some packages failed to install: bitcoind-rpc-0.1.0.0-Gd7bYXT1QOl9gTZsMgsBsc depends on bitcoind-rpc-0.1.0.0 which failed to install. haskoin-core-0.10.0-Aua75Hx5TYHGRe767j0m1g depends on haskoin-core-0.10.0 which failed to install. secp256k1-haskell-0.1.5-7Efd2gmxrCD7AiuS05noYM failed during the configure step. The exception was: ExitFailure 1