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 cereal-0.5.8.1 Starting erf-2.0.0.0 Starting entropy-0.4.1.5 Building cereal-0.5.8.1 Building erf-2.0.0.0 Building base16-bytestring-0.1.1.6 Completed base16-bytestring-0.1.1.6 Starting primitive-0.7.0.0 Completed erf-2.0.0.0 Starting random-1.1 Building primitive-0.7.0.0 Building random-1.1 Building entropy-0.4.1.5 Completed entropy-0.4.1.5 Starting utf8-string-1.0.1.1 Completed random-1.1 Building utf8-string-1.0.1.1 Completed cereal-0.5.8.1 Completed utf8-string-1.0.1.1 Starting string-conversions-0.4.0.1 Building string-conversions-0.4.0.1 Completed string-conversions-0.4.0.1 Completed primitive-0.7.0.0 Starting tf-random-0.5 Building tf-random-0.5 Completed tf-random-0.5 Starting QuickCheck-2.12.6.1 Building QuickCheck-2.12.6.1 Completed QuickCheck-2.12.6.1 Starting secp256k1-legacy-0.5.6 Failed to install secp256k1-legacy-0.5.6 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/secp256k1-legacy-0.5.6-BcEe14NGUxAIsvoH1RuPjf.log ): cabal: Entering directory '/tmp/cabal-tmp-30414/secp256k1-legacy-0.5.6' [1 of 1] Compiling Main ( /tmp/cabal-tmp-30414/secp256k1-legacy-0.5.6/dist/setup/setup.hs, /tmp/cabal-tmp-30414/secp256k1-legacy-0.5.6/dist/setup/Main.o ) Linking /tmp/cabal-tmp-30414/secp256k1-legacy-0.5.6/dist/setup/setup ... ./autogen.sh: 3: ./autogen.sh: autoreconf: not found cabal: Leaving directory '/tmp/cabal-tmp-30414/secp256k1-legacy-0.5.6' cabal: Error: some packages failed to install: secp256k1-legacy-0.5.6-BcEe14NGUxAIsvoH1RuPjf failed during the configure step. The exception was: ExitFailure 127