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 base-orphans-0.8.1 Starting cereal-0.5.8.1 Starting conduit-combinators-1.3.0 Starting bindings-DSL-1.0.25 Building bindings-DSL-1.0.25 Building cereal-0.5.8.1 Building conduit-combinators-1.3.0 Building base-orphans-0.8.1 Completed conduit-combinators-1.3.0 Starting data-default-class-0.1.2.0 Completed bindings-DSL-1.0.25 Starting hashable-1.3.0.0 Completed base-orphans-0.8.1 Starting integer-logarithms-1.0.3 Building data-default-class-0.1.2.0 Building hashable-1.3.0.0 Building integer-logarithms-1.0.3 Completed data-default-class-0.1.2.0 Starting lzma-0.0.0.3 Building lzma-0.0.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.0.1.1 Completed monad-loops-0.4.3 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed lzma-0.0.0.3 Starting pqueue-1.4.1.2 Completed cereal-0.5.8.1 Starting primitive-0.7.0.0 Building pqueue-1.4.1.2 Building primitive-0.7.0.0 Completed old-locale-1.0.0.7 Starting random-1.1 Building random-1.1 Building network-3.0.1.1 Completed random-1.1 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed pqueue-1.4.1.2 Starting safe-0.3.17 Building safe-0.3.17 Completed regex-base-0.93.2 Starting split-0.2.3.3 Building split-0.2.3.3 Completed network-3.0.1.1 Starting stm-chans-3.0.0.4 Completed split-0.2.3.3 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed safe-0.3.17 Starting unix-compat-0.5.1 Building unix-compat-0.5.1 Building stm-chans-3.0.0.4 Completed primitive-0.7.0.0 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed unix-compat-0.5.1 Starting zlib-0.6.2 Completed transformers-compat-0.6.5 Starting zstd-0.1.1.2 Building zlib-0.6.2 Completed unliftio-core-0.1.2.0 Starting unordered-containers-0.2.10.0 Building zstd-0.1.1.2 Building unordered-containers-0.2.10.0 Completed stm-chans-3.0.0.4 Starting async-2.2.2 Building async-2.2.2 Completed async-2.2.2 Starting old-time-1.1.0.3 Completed zlib-0.6.2 Starting regex-posix-0.95.2 Building regex-posix-0.95.2 Building old-time-1.1.0.3 Completed old-time-1.1.0.3 Starting network-bsd-2.8.1.0 Building network-bsd-2.8.1.0 Completed unordered-containers-0.2.10.0 Starting vector-0.12.0.3 Completed regex-posix-0.95.2 Starting scientific-0.3.6.2 Building vector-0.12.0.3 Building scientific-0.3.6.2 Completed network-bsd-2.8.1.0 Starting filemanip-0.3.6.3 Building filemanip-0.3.6.3 Completed scientific-0.3.6.2 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed filemanip-0.3.6.3 Starting exceptions-0.10.2 Building exceptions-0.10.2 Completed zstd-0.1.1.2 Starting unliftio-0.2.11 Completed transformers-base-0.4.5.2 Starting typed-process-0.2.6.0 Building unliftio-0.2.11 Building typed-process-0.2.6.0 Completed exceptions-0.10.2 Starting streaming-commons-0.2.1.1 Completed typed-process-0.2.6.0 Starting regex-compat-0.95.1 Building streaming-commons-0.2.1.1 Building regex-compat-0.95.1 Completed regex-compat-0.95.1 Starting hslogger-1.3.0.0 Building hslogger-1.3.0.0 Completed unliftio-0.2.11 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed hslogger-1.3.0.0 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed streaming-commons-0.2.1.1 Starting temporary-1.3 Building temporary-1.3 Completed monad-control-1.0.2.3 Starting resourcet-1.2.2 Completed temporary-1.3 Starting MissingH-1.4.2.0 Building resourcet-1.2.2 Building MissingH-1.4.2.0 Completed resourcet-1.2.2 Completed attoparsec-0.13.2.2 Completed vector-0.12.0.3 Starting vector-algorithms-0.8.0.1 Building vector-algorithms-0.8.0.1 Completed MissingH-1.4.2.0 Completed vector-algorithms-0.8.0.1 Starting mono-traversable-1.0.11.0 Building mono-traversable-1.0.11.0 Completed mono-traversable-1.0.11.0 Starting conduit-1.3.1.1 Building conduit-1.3.1.1 Completed conduit-1.3.1.1 Starting lzma-conduit-1.2.1 Starting safeio-0.0.5.0 Starting conduit-zstd-0.0.1.1 Starting conduit-extra-1.3.4 Building lzma-conduit-1.2.1 Building conduit-zstd-0.0.1.1 Building safeio-0.0.5.0 Building conduit-extra-1.3.4 Completed conduit-zstd-0.0.1.1 Starting cereal-conduit-0.8.0 Completed lzma-conduit-1.2.1 Starting bzlib-conduit-0.3.0.1 Completed safeio-0.0.5.0 Building cereal-conduit-0.8.0 Failed to install bzlib-conduit-0.3.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/bzlib-conduit-0.3.0.1-HGOQVyddMSz4JTpNG2HttL.log ): cabal: Entering directory '/tmp/cabal-tmp-4797/bzlib-conduit-0.3.0.1' Configuring bzlib-conduit-0.3.0.1... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: bz2 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-4797/bzlib-conduit-0.3.0.1' Completed cereal-conduit-0.8.0 Completed conduit-extra-1.3.4 cabal: Error: some packages failed to install: bzlib-conduit-0.3.0.1-HGOQVyddMSz4JTpNG2HttL failed during the configure step. The exception was: ExitFailure 1 conduit-algorithms-0.0.10.1-DdY607btJPr7wXmfB9vKO2 depends on conduit-algorithms-0.0.10.1 which failed to install. outsort-0.1.0-GOejnTDwCSDy9S8So7KnC depends on outsort-0.1.0 which failed to install.