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 BoundedChan-1.0.3.0 Starting base-orphans-0.8.1 Starting abstract-par-0.3.3 Starting base-compat-0.10.5 Building BoundedChan-1.0.3.0 Building base-orphans-0.8.1 Building abstract-par-0.3.3 Building base-compat-0.10.5 Completed BoundedChan-1.0.3.0 Starting basement-0.0.11 Completed base-orphans-0.8.1 Starting bytestring-lexing-0.5.0.2 Completed abstract-par-0.3.3 Starting cabal-doctest-1.0.6 Building basement-0.0.11 Building bytestring-lexing-0.5.0.2 Building cabal-doctest-1.0.6 Completed cabal-doctest-1.0.6 Starting cereal-0.5.8.1 Building cereal-0.5.8.1 Completed base-compat-0.10.5 Starting clock-0.8 Completed bytestring-lexing-0.5.0.2 Starting data-default-class-0.1.2.0 Building clock-0.8 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.6 Completed clock-0.8 Starting hashable-1.2.7.0 Building dlist-0.8.0.6 Building hashable-1.2.7.0 Completed dlist-0.8.0.6 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed cereal-0.5.8.1 Starting integer-logarithms-1.0.3 Completed hashable-1.2.7.0 Starting microlens-0.4.11.2 Building integer-logarithms-1.0.3 Building microlens-0.4.11.2 Completed integer-logarithms-1.0.3 Starting network-3.1.0.1 Completed microlens-0.4.11.2 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Building network-3.1.0.1 Completed hourglass-0.2.12 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed network-uri-2.6.1.0 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed parallel-3.2.2.0 Starting random-1.1 Building random-1.1 Completed network-3.1.0.1 Starting safe-0.3.17 Building safe-0.3.17 Completed random-1.1 Starting scanner-0.3 Building scanner-0.3 Completed scanner-0.3 Starting split-0.2.3.3 Building split-0.2.3.3 Completed safe-0.3.17 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed primitive-0.7.0.0 Starting transformers-compat-0.6.5 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building transformers-compat-0.6.5 Building unliftio-core-0.1.2.0 Completed unliftio-core-0.1.2.0 Starting time-compat-1.9.2.2 Building time-compat-1.9.2.2 Completed th-abstraction-0.3.1.0 Starting unordered-containers-0.2.10.0 Completed transformers-compat-0.6.5 Starting async-2.2.2 Building unordered-containers-0.2.10.0 Building async-2.2.2 Completed basement-0.0.11 Starting HTTP-4000.3.14 Completed async-2.2.2 Starting uuid-types-1.0.3 Completed time-compat-1.9.2.2 Starting monad-par-extras-0.3.3 Building HTTP-4000.3.14 Building uuid-types-1.0.3 Building monad-par-extras-0.3.3 Completed uuid-types-1.0.3 Starting abstract-deque-0.3 Completed monad-par-extras-0.3.3 Starting vector-0.12.0.3 Building abstract-deque-0.3 Building vector-0.12.0.3 Completed abstract-deque-0.3 Starting scientific-0.3.6.2 Completed unordered-containers-0.2.10.0 Starting distributive-0.6 Building scientific-0.3.6.2 Building distributive-0.6 Completed HTTP-4000.3.14 Starting transformers-base-0.4.5.2 Completed scientific-0.3.6.2 Starting exceptions-0.10.2 Building transformers-base-0.4.5.2 Building exceptions-0.10.2 Completed distributive-0.6 Starting memory-0.14.18 Building memory-0.14.18 Completed transformers-base-0.4.5.2 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed exceptions-0.10.2 Starting comonad-5.0.5 Building comonad-5.0.5 Completed memory-0.14.18 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed attoparsec-0.13.2.2 Starting resourcet-1.2.2 Completed comonad-5.0.5 Starting errors-2.3.0 Building resourcet-1.2.2 Building errors-2.3.0 Completed monad-control-1.0.2.3 Starting pem-0.2.4 Building pem-0.2.4 Completed resourcet-1.2.2 Starting cryptonite-0.26 Completed errors-2.3.0 Starting asn1-types-0.3.3 Completed pem-0.2.4 Starting bifunctors-5.5.4 Building cryptonite-0.26 Building asn1-types-0.3.3 Building bifunctors-5.5.4 Completed asn1-types-0.3.3 Starting asn1-encoding-0.9.5 Building asn1-encoding-0.9.5 Completed vector-0.12.0.3 Starting vector-th-unbox-0.2.1.6 Completed asn1-encoding-0.9.5 Starting vector-algorithms-0.8.0.1 Building vector-th-unbox-0.2.1.6 Building vector-algorithms-0.8.0.1 Completed bifunctors-5.5.4 Starting resource-pool-0.2.3.2 Building resource-pool-0.2.3.2 Completed vector-th-unbox-0.2.1.6 Starting hashtables-1.2.3.3 Building hashtables-1.2.3.3 Completed resource-pool-0.2.3.2 Starting aeson-1.4.4.0 Building aeson-1.4.4.0 Completed vector-algorithms-0.8.0.1 Starting asn1-parse-0.9.4 Building asn1-parse-0.9.4 Completed asn1-parse-0.9.4 Starting hw-kafka-client-2.6.0 Completed hashtables-1.2.3.3 Starting math-functions-0.3.1.0 Failed to install hw-kafka-client-2.6.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hw-kafka-client-2.6.0-2MHojFj0rYS5C1J61nCLwE.log ): cabal: Entering directory '/tmp/cabal-tmp-5450/hw-kafka-client-2.6.0' Configuring hw-kafka-client-2.6.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: rdkafka 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-5450/hw-kafka-client-2.6.0' Starting mono-traversable-1.0.11.0 Building math-functions-0.3.1.0 Building mono-traversable-1.0.11.0 Completed math-functions-0.3.1.0 Completed mono-traversable-1.0.11.0 Completed aeson-1.4.4.0 Completed cryptonite-0.26 cabal: Error: some packages failed to install: hw-kafka-client-2.6.0-2MHojFj0rYS5C1J61nCLwE failed during the configure step. The exception was: ExitFailure 1 stc-lang-1.0.0-2nJVAEOaNYn5VKYKc3gBXn depends on stc-lang-1.0.0 which failed to install.