Resolving dependencies... Configuring base16-bytestring-0.1.1.6... Configuring basement-0.0.8... Building base16-bytestring-0.1.1.6... Building basement-0.0.8... 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 erf-2.0.0.0... Building erf-2.0.0.0... Installed erf-2.0.0.0 Configuring hspec-discover-2.5.6... Building hspec-discover-2.5.6... Installed hspec-discover-2.5.6 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 setenv-0.1.1.3 Configuring stm-2.4.5.1... Building stm-2.4.5.1... Installed primitive-0.6.4.0 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed stm-2.4.5.1 Configuring HUnit-1.6.0.0... Building HUnit-1.6.0.0... Installed utf8-string-1.0.1.1 Configuring ansi-terminal-0.8.1... Installed HUnit-1.6.0.0 Configuring foundation-0.0.21... Building ansi-terminal-0.8.1... Building foundation-0.0.21... Installed ansi-terminal-0.8.1 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring string-conversions-0.4.0.1... Building string-conversions-0.4.0.1... Installed string-conversions-0.4.0.1 Configuring hspec-expectations-0.8.2... Building hspec-expectations-0.8.2... Installed hspec-expectations-0.8.2 Configuring QuickCheck-2.12.1... Building QuickCheck-2.12.1... Installed QuickCheck-2.12.1 Configuring quickcheck-io-0.2.0... Building quickcheck-io-0.2.0... Installed quickcheck-io-0.2.0 Configuring hspec-core-2.5.6... Building hspec-core-2.5.6... Installed foundation-0.0.21 Configuring memory-0.14.16... Building memory-0.14.16... Installed hspec-core-2.5.6 Configuring hspec-2.5.6... Building hspec-2.5.6... Installed memory-0.14.16 Configuring cryptonite-0.25... Building cryptonite-0.25... Installed hspec-2.5.6 Installed cryptonite-0.25 Configuring cryptohash-0.11.9... Building cryptohash-0.11.9... Installed cryptohash-0.11.9 Configuring secp256k1-haskell-0.1.1... Failed to install secp256k1-haskell-0.1.1 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/secp256k1-haskell-0.1.1-KsatMejGgevFCFpsvbQ0Jv.log ): cabal: Entering directory '/tmp/cabal-tmp-25661/secp256k1-haskell-0.1.1' Configuring secp256k1-haskell-0.1.1... 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-25661/secp256k1-haskell-0.1.1' cabal: Error: some packages failed to install: secp256k1-haskell-0.1.1-KsatMejGgevFCFpsvbQ0Jv failed during the configure step. The exception was: ExitFailure 1