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 call-stack-0.2.0 Completed base16-bytestring-0.1.1.6 Starting cereal-0.5.8.1 Building call-stack-0.2.0 Building cereal-0.5.8.1 Completed call-stack-0.2.0 Starting clock-0.8 Building clock-0.8 Completed clock-0.8 Starting colour-2.3.5 Building colour-2.3.5 Completed base-compat-0.11.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 network-3.1.1.1 Building integer-logarithms-1.0.3 Completed hspec-discover-2.7.1 Starting primitive-0.7.0.0 Completed integer-logarithms-1.0.3 Starting random-1.1 Building primitive-0.7.0.0 Building random-1.1 Building network-3.1.1.1 Completed random-1.1 Starting safe-0.3.18 Building safe-0.3.18 Completed safe-0.3.18 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 network-3.1.1.1 Starting tagged-0.8.6 Building split-0.2.3.3 Building tagged-0.8.6 Completed primitive-0.7.0.0 Starting th-abstraction-0.3.1.0 Completed split-0.2.3.3 Starting transformers-compat-0.6.5 Building th-abstraction-0.3.1.0 Building transformers-compat-0.6.5 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting utf8-string-1.0.1.1 Completed transformers-compat-0.6.5 Building utf8-string-1.0.1.1 Starting time-compat-1.9.2.2 Building time-compat-1.9.2.2 Completed th-abstraction-0.3.1.0 Starting HUnit-1.6.0.0 Building HUnit-1.6.0.0 Completed utf8-string-1.0.1.1 Starting murmur3-1.0.3 Completed HUnit-1.6.0.0 Starting ansi-terminal-0.10.2 Building murmur3-1.0.3 Completed time-compat-1.9.2.2 Starting unordered-containers-0.2.10.0 Building ansi-terminal-0.10.2 Building unordered-containers-0.2.10.0 Completed basement-0.0.11 Starting uuid-types-1.0.3 Completed murmur3-1.0.3 Starting splitmix-0.0.3 Building uuid-types-1.0.3 Building splitmix-0.0.3 Completed splitmix-0.0.3 Starting vector-0.12.0.3 Completed ansi-terminal-0.10.2 Starting tf-random-0.5 Building vector-0.12.0.3 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building tf-random-0.5 Building scientific-0.3.6.2 Completed tf-random-0.5 Starting exceptions-0.10.3 Building exceptions-0.10.3 Completed scientific-0.3.6.2 Starting string-conversions-0.4.0.1 Building string-conversions-0.4.0.1 Completed unordered-containers-0.2.10.0 Starting hspec-expectations-0.8.2 Building hspec-expectations-0.8.2 Completed string-conversions-0.4.0.1 Starting memory-0.15.0 Building memory-0.15.0 Completed hspec-expectations-0.8.2 Starting QuickCheck-2.13.2 Completed exceptions-0.10.3 Starting attoparsec-0.13.2.3 Building QuickCheck-2.13.2 Building attoparsec-0.13.2.3 Completed memory-0.15.0 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 Completed QuickCheck-2.13.2 Starting quickcheck-io-0.2.0 Starting secp256k1-haskell-0.1.5 Building 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-6903/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-6903/secp256k1-haskell-0.1.5' Completed vector-0.12.0.3 Completed quickcheck-io-0.2.0 Completed cryptonite-0.26 cabal: Error: some packages failed to install: haskoin-core-0.9.7-IzYCvhnW9DAEIRVtUDt32s 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