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 base-orphans-0.8.1 Starting basement-0.0.11 Starting base-compat-0.11.0 Building base16-bytestring-0.1.1.6 Building base-orphans-0.8.1 Building basement-0.0.11 Building base-compat-0.11.0 Completed base-orphans-0.8.1 Starting blaze-builder-0.4.1.0 Completed base16-bytestring-0.1.1.6 Starting call-stack-0.2.0 Building blaze-builder-0.4.1.0 Building call-stack-0.2.0 Completed call-stack-0.2.0 Starting cereal-0.5.8.1 Building cereal-0.5.8.1 Completed blaze-builder-0.4.1.0 Starting clock-0.8 Building clock-0.8 Completed base-compat-0.11.0 Starting colour-2.3.5 Completed clock-0.8 Starting data-default-class-0.1.2.0 Building colour-2.3.5 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed cereal-0.5.8.1 Starting entropy-0.4.1.5 Completed dlist-0.8.0.7 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Building entropy-0.4.1.5 Completed colour-2.3.5 Starting hspec-discover-2.7.1 Building hspec-discover-2.7.1 Completed entropy-0.4.1.5 Starting integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting mime-types-0.1.0.9 Building integer-logarithms-1.0.3 Building mime-types-0.1.0.9 Completed hspec-discover-2.7.1 Starting network-3.1.1.1 Completed integer-logarithms-1.0.3 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Building network-3.1.1.1 Completed network-uri-2.6.1.0 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed mime-types-0.1.0.9 Starting random-1.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 setenv-0.1.1.3 Building setenv-0.1.1.3 Completed setenv-0.1.1.3 Starting split-0.2.3.3 Completed safe-0.3.18 Starting tagged-0.8.6 Building split-0.2.3.3 Building tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed primitive-0.7.0.0 Starting transformers-compat-0.6.5 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building transformers-compat-0.6.5 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed basement-0.0.11 Starting zlib-0.6.2.1 Building zlib-0.6.2.1 Completed transformers-compat-0.6.5 Starting time-compat-1.9.2.2 Completed th-abstraction-0.3.1.0 Starting HUnit-1.6.0.0 Building time-compat-1.9.2.2 Building HUnit-1.6.0.0 Completed utf8-string-1.0.1.1 Starting cookie-0.4.5 Completed HUnit-1.6.0.0 Starting murmur3-1.0.3 Building cookie-0.4.5 Building murmur3-1.0.3 Completed time-compat-1.9.2.2 Starting ansi-terminal-0.10.2 Completed zlib-0.6.2.1 Starting unordered-containers-0.2.10.0 Building ansi-terminal-0.10.2 Completed murmur3-1.0.3 Starting case-insensitive-1.2.1.0 Completed cookie-0.4.5 Starting async-2.2.2 Building unordered-containers-0.2.10.0 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 Building uuid-types-1.0.3 Completed async-2.2.2 Starting splitmix-0.0.3 Completed ansi-terminal-0.10.2 Starting HTTP-4000.3.14 Building splitmix-0.0.3 Building HTTP-4000.3.14 Completed splitmix-0.0.3 Starting vector-0.12.0.3 Completed uuid-types-1.0.3 Starting tf-random-0.5 Building vector-0.12.0.3 Building tf-random-0.5 Completed unordered-containers-0.2.10.0 Starting scientific-0.3.6.2 Completed tf-random-0.5 Starting memory-0.15.0 Building scientific-0.3.6.2 Building memory-0.15.0 Completed HTTP-4000.3.14 Starting transformers-base-0.4.5.2 Completed scientific-0.3.6.2 Starting exceptions-0.10.3 Building transformers-base-0.4.5.2 Building exceptions-0.10.3 Completed transformers-base-0.4.5.2 Starting string-conversions-0.4.0.1 Building string-conversions-0.4.0.1 Completed string-conversions-0.4.0.1 Starting hspec-expectations-0.8.2 Completed exceptions-0.10.3 Starting http-types-0.12.3 Building hspec-expectations-0.8.2 Building http-types-0.12.3 Completed memory-0.15.0 Starting streaming-commons-0.2.1.1 Building streaming-commons-0.2.1.1 Completed hspec-expectations-0.8.2 Starting QuickCheck-2.13.2 Building QuickCheck-2.13.2 Completed http-types-0.12.3 Starting attoparsec-0.13.2.3 Building attoparsec-0.13.2.3 Completed streaming-commons-0.2.1.1 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed attoparsec-0.13.2.3 Starting cryptonite-0.26 Building cryptonite-0.26 Completed resourcet-1.2.2 Starting http-client-0.6.4 Building http-client-0.6.4 Completed vector-0.12.0.3 Starting vector-algorithms-0.8.0.3 Building vector-algorithms-0.8.0.3 Completed QuickCheck-2.13.2 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-J4Ts91XWoOMHseQNE65LP1.log ): cabal: Entering directory '/tmp/cabal-tmp-11404/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-11404/secp256k1-haskell-0.1.5' Starting mono-traversable-1.0.13.0 Building quickcheck-io-0.2.0 Building mono-traversable-1.0.13.0 Completed quickcheck-io-0.2.0 Completed mono-traversable-1.0.13.0 Completed aeson-1.4.6.0 Completed cryptonite-0.26 cabal: Error: some packages failed to install: haskoin-bitcoind-0.4.1-5TLgdXyQidpKo4QcycEvwk depends on haskoin-bitcoind-0.4.1 which failed to install. haskoin-core-0.9.7-JUQGrERYh4OGLSKrKHjBnG depends on haskoin-core-0.9.7 which failed to install. secp256k1-haskell-0.1.5-J4Ts91XWoOMHseQNE65LP1 failed during the configure step. The exception was: ExitFailure 1