Resolving dependencies... Configuring base16-bytestring-0.1.1.6... Configuring basement-0.0.8... Building basement-0.0.8... Building base16-bytestring-0.1.1.6... Installed base16-bytestring-0.1.1.6 Configuring byteable-0.1.1... Building byteable-0.1.1... Installed byteable-0.1.1 Configuring call-stack-0.1.0... Building call-stack-0.1.0... Installed call-stack-0.1.0 Configuring cereal-0.5.7.0... Building cereal-0.5.7.0... Installed cereal-0.5.7.0 Configuring clock-0.7.2... Building clock-0.7.2... Installed clock-0.7.2 Configuring colour-2.3.4... Building colour-2.3.4... Installed colour-2.3.4 Configuring entropy-0.4.1.1... Building entropy-0.4.1.1... Installed entropy-0.4.1.1 Configuring hspec-discover-2.5.5... Building hspec-discover-2.5.5... Installed hspec-discover-2.5.5 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed basement-0.0.8 Configuring random-1.1... Building random-1.1... Installed random-1.1 Configuring setenv-0.1.1.3... Building setenv-0.1.1.3... Installed primitive-0.6.4.0 Configuring utf8-string-1.0.1.1... Installed setenv-0.1.1.3 Configuring HUnit-1.6.0.0... Building utf8-string-1.0.1.1... Building HUnit-1.6.0.0... Installed HUnit-1.6.0.0 Configuring ansi-terminal-0.8.0.4... Building ansi-terminal-0.8.0.4... Installed utf8-string-1.0.1.1 Configuring foundation-0.0.21... Building foundation-0.0.21... Installed ansi-terminal-0.8.0.4 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring hspec-expectations-0.8.2... Building hspec-expectations-0.8.2... Installed hspec-expectations-0.8.2 Configuring string-conversions-0.4.0.1... Building string-conversions-0.4.0.1... Installed string-conversions-0.4.0.1 Configuring QuickCheck-2.11.3... Building QuickCheck-2.11.3... Installed QuickCheck-2.11.3 Configuring quickcheck-io-0.2.0... Building quickcheck-io-0.2.0... Installed quickcheck-io-0.2.0 Configuring hspec-core-2.5.5... Building hspec-core-2.5.5... Installed foundation-0.0.21 Configuring memory-0.14.16... Building memory-0.14.16... Installed hspec-core-2.5.5 Configuring hspec-2.5.5... Building hspec-2.5.5... Installed memory-0.14.16 Configuring cryptonite-0.25... Installed hspec-2.5.5 Building cryptonite-0.25... Installed cryptonite-0.25 Configuring cryptohash-0.11.9... Building cryptohash-0.11.9... Installed cryptohash-0.11.9 Configuring secp256k1-1.1.2... Failed to install secp256k1-1.1.2 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/secp256k1-1.1.2-3OzVFpQRTOc4CGzqYwL1V0.log ): cabal: Entering directory '/tmp/cabal-tmp-19366/secp256k1-1.1.2' Configuring secp256k1-1.1.2... 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-19366/secp256k1-1.1.2' cabal: Error: some packages failed to install: secp256k1-1.1.2-3OzVFpQRTOc4CGzqYwL1V0 failed during the configure step. The exception was: ExitFailure 1