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 StateVar-1.2 Starting base16-bytestring-0.1.1.6 Starting base-orphans-0.8.2 Starting base-compat-0.11.1 Building StateVar-1.2 Building base16-bytestring-0.1.1.6 Building base-orphans-0.8.2 Building base-compat-0.11.1 Completed base16-bytestring-0.1.1.6 Starting base64-bytestring-1.0.0.3 Completed StateVar-1.2 Starting basement-0.0.11 Building base64-bytestring-1.0.0.3 Building basement-0.0.11 Completed base-orphans-0.8.2 Starting byteable-0.1.1 Completed base64-bytestring-1.0.0.3 Starting bz2-1.0.0.2 Building byteable-0.1.1 Building bz2-1.0.0.2 Completed byteable-0.1.1 Starting cabal-doctest-1.0.8 Building cabal-doctest-1.0.8 Completed base-compat-0.11.1 Starting call-stack-0.2.0 Building call-stack-0.2.0 Completed cabal-doctest-1.0.8 Starting cereal-0.5.8.1 Completed call-stack-0.2.0 Starting dlist-0.8.0.7 Building cereal-0.5.8.1 Building dlist-0.8.0.7 Completed dlist-0.8.0.7 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed cereal-0.5.8.1 Starting hashable-1.3.0.0 Completed exceptions-0.10.4 Starting hourglass-0.2.12 Building hashable-1.3.0.0 Building hourglass-0.2.12 Completed bz2-1.0.0.2 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed integer-logarithms-1.0.3 Starting monad-loops-0.4.3 Building monad-loops-0.4.3 Completed hashable-1.3.0.0 Starting network-3.1.1.1 Completed monad-loops-0.4.3 Starting network-uri-2.6.2.0 Building network-uri-2.6.2.0 Building network-3.1.1.1 Completed hourglass-0.2.12 Starting newtype-0.2.2.0 Building newtype-0.2.2.0 Completed newtype-0.2.2.0 Starting old-locale-1.0.0.7 Completed network-uri-2.6.2.0 Starting parallel-3.2.2.0 Building old-locale-1.0.0.7 Building parallel-3.2.2.0 Completed old-locale-1.0.0.7 Starting prettyprinter-1.6.1 Building prettyprinter-1.6.1 Completed parallel-3.2.2.0 Starting primes-0.2.1.0 Building primes-0.2.1.0 Completed primes-0.2.1.0 Starting primitive-0.7.0.0 Completed network-3.1.1.1 Starting random-1.1 Building primitive-0.7.0.0 Building random-1.1 Completed prettyprinter-1.6.1 Starting reflection-2.1.5 Building reflection-2.1.5 Completed random-1.1 Starting safe-0.3.18 Building safe-0.3.18 Completed basement-0.0.11 Starting semigroups-0.19.1 Completed safe-0.3.18 Starting split-0.2.3.3 Completed reflection-2.1.5 Starting syb-0.7.1 Building semigroups-0.19.1 Building split-0.2.3.3 Building syb-0.7.1 Completed semigroups-0.19.1 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed primitive-0.7.0.0 Starting time-locale-compat-0.1.1.5 Building time-locale-compat-0.1.1.5 Completed syb-0.7.1 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Completed time-locale-compat-0.1.1.5 Starting void-0.7.3 Building unliftio-core-0.1.2.0 Building void-0.7.3 Completed void-0.7.3 Starting zlib-0.6.2.1 Completed unliftio-core-0.1.2.0 Starting contravariant-1.5.2 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.2.2 Building zlib-0.6.2.1 Building contravariant-1.5.2 Completed transformers-compat-0.6.5 Starting unordered-containers-0.2.10.0 Building time-compat-1.9.2.2 Building unordered-containers-0.2.10.0 Completed contravariant-1.5.2 Starting async-2.2.2 Building async-2.2.2 Completed time-compat-1.9.2.2 Starting old-time-1.1.0.3 Completed zlib-0.6.2.1 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed async-2.2.2 Starting memory-0.15.0 Building old-time-1.1.0.3 Building memory-0.15.0 Completed uuid-types-1.0.3 Starting vector-0.12.1.2 Building vector-0.12.1.2 Completed unordered-containers-0.2.10.0 Starting scientific-0.3.6.2 Completed old-time-1.1.0.3 Starting distributive-0.6.1 Building scientific-0.3.6.2 Building distributive-0.6.1 Completed scientific-0.3.6.2 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed distributive-0.6.1 Starting transformers-base-0.4.5.2 Completed memory-0.15.0 Starting errors-2.3.0 Building transformers-base-0.4.5.2 Building errors-2.3.0 Completed transformers-base-0.4.5.2 Starting typed-process-0.2.6.0 Completed resourcet-1.2.2 Building typed-process-0.2.6.0 Starting streaming-commons-0.2.1.2 Building streaming-commons-0.2.1.2 Completed errors-2.3.0 Starting charset-0.3.7.1 Building charset-0.3.7.1 Completed typed-process-0.2.6.0 Starting attoparsec-0.13.2.3 Building attoparsec-0.13.2.3 Completed charset-0.3.7.1 Starting rank2classes-1.3.2.1 Completed streaming-commons-0.2.1.2 Starting comonad-5.0.6 Building rank2classes-1.3.2.1 Building comonad-5.0.6 Completed attoparsec-0.13.2.3 Starting securemem-0.1.10 Building securemem-0.1.10 Completed securemem-0.1.10 Starting cryptonite-0.26 Completed comonad-5.0.6 Starting asn1-types-0.3.3 Building cryptonite-0.26 Building asn1-types-0.3.3 Completed rank2classes-1.3.2.1 Starting parsers-0.12.10 Building parsers-0.12.10 Completed asn1-types-0.3.3 Starting openpgp-asciiarmor-0.1.2 Building openpgp-asciiarmor-0.1.2 Completed openpgp-asciiarmor-0.1.2 Starting crypto-cipher-types-0.0.9 Building crypto-cipher-types-0.0.9 Completed vector-0.12.1.2 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed crypto-cipher-types-0.0.9 Starting asn1-encoding-0.9.6 Building asn1-encoding-0.9.6 Completed parsers-0.12.10 Starting vector-algorithms-0.8.0.3 Building vector-algorithms-0.8.0.3 Completed asn1-encoding-0.9.6 Starting safecopy-0.9.4.3 Building safecopy-0.9.4.3 Completed bifunctors-5.5.7 Starting monoid-subclasses-1.0.1 Building monoid-subclasses-1.0.1 Completed vector-algorithms-0.8.0.3 Starting aeson-1.4.6.0 Building aeson-1.4.6.0 Completed safecopy-0.9.4.3 Starting nettle-0.3.0 Failed to install nettle-0.3.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/nettle-0.3.0-De6yuoXywZE3gosEDIzPNe.log ): cabal: Entering directory '/tmp/cabal-tmp-22259/nettle-0.3.0' Configuring nettle-0.3.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: nettle 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-22259/nettle-0.3.0' Starting semigroupoids-5.3.4 Building semigroupoids-5.3.4 Completed semigroupoids-5.3.4 Completed monoid-subclasses-1.0.1 Completed aeson-1.4.6.0 Completed cryptonite-0.26 cabal: Error: some packages failed to install: hOpenPGP-2.9.3-Lr6QC9NRQZX27vVlTfHNiZ depends on hOpenPGP-2.9.3 which failed to install. nettle-0.3.0-De6yuoXywZE3gosEDIzPNe failed during the configure step. The exception was: ExitFailure 1