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 Only-0.1 Starting StateVar-1.2 Starting base-orphans-0.8.1 Starting base-compat-0.11.0 Building Only-0.1 Building StateVar-1.2 Building base-orphans-0.8.1 Building base-compat-0.11.0 Completed base-orphans-0.8.1 Starting base-prelude-1.3 Completed Only-0.1 Starting base64-bytestring-1.0.0.2 Completed StateVar-1.2 Starting cabal-doctest-1.0.8 Building base-prelude-1.3 Building base64-bytestring-1.0.0.2 Building cabal-doctest-1.0.8 Completed base64-bytestring-1.0.0.2 Starting call-stack-0.2.0 Completed cabal-doctest-1.0.8 Starting cereal-0.5.8.1 Building call-stack-0.2.0 Building cereal-0.5.8.1 Completed call-stack-0.2.0 Starting clock-0.8 Building clock-0.8 Completed base-compat-0.11.0 Starting cmdargs-0.10.20 Completed base-prelude-1.3 Starting colour-2.3.5 Building cmdargs-0.10.20 Building colour-2.3.5 Completed clock-0.8 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed cereal-0.5.8.1 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed dlist-0.8.0.7 Starting haskell-lexer-1.0.2 Building haskell-lexer-1.0.2 Completed colour-2.3.5 Starting hostname-1.0 Building hostname-1.0 Completed hashable-1.2.7.0 Starting indexed-profunctors-0.1 Completed hostname-1.0 Starting integer-logarithms-1.0.3 Building indexed-profunctors-0.1 Building integer-logarithms-1.0.3 Completed integer-logarithms-1.0.3 Starting managed-1.0.6 Building managed-1.0.6 Completed indexed-profunctors-0.1 Starting network-3.1.1.0 Completed managed-1.0.6 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting optional-args-1.0.2 Building optional-args-1.0.2 Building network-3.1.1.0 Completed optional-args-1.0.2 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed cmdargs-0.10.20 Starting parser-combinators-1.2.1 Building parser-combinators-1.2.1 Completed parallel-3.2.2.0 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed parser-combinators-1.2.1 Starting random-1.1 Building random-1.1 Completed network-3.1.1.0 Starting reflection-2.1.5 Completed haskell-lexer-1.0.2 Starting safe-0.3.17 Building reflection-2.1.5 Building safe-0.3.17 Completed random-1.1 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting sop-core-0.5.0.0 Building sop-core-0.5.0.0 Completed safe-0.3.17 Starting sorted-list-0.2.1.0 Building sorted-list-0.2.1.0 Completed reflection-2.1.5 Starting syb-0.7.1 Building syb-0.7.1 Completed sorted-list-0.2.1.0 Starting system-filepath-0.4.14 Completed primitive-0.7.0.0 Starting tagged-0.8.6 Building tagged-0.8.6 Building system-filepath-0.4.14 Completed syb-0.7.1 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed sop-core-0.5.0.0 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed tagged-0.8.6 Starting type-equality-1 Building type-equality-1 Completed system-filepath-0.4.14 Starting unix-compat-0.5.2 Completed type-equality-1 Starting utf8-string-1.0.1.1 Building unix-compat-0.5.2 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.5 Starting void-0.7.3 Completed th-abstraction-0.3.1.0 Starting zlib-0.6.2.1 Building void-0.7.3 Building zlib-0.6.2.1 Completed unix-compat-0.5.2 Starting time-compat-1.9.2.2 Completed void-0.7.3 Starting contravariant-1.5.2 Building time-compat-1.9.2.2 Building contravariant-1.5.2 Completed utf8-string-1.0.1.1 Starting base-compat-batteries-0.11.0 Building base-compat-batteries-0.11.0 Completed contravariant-1.5.2 Starting cookie-0.4.4 Building cookie-0.4.4 Completed time-compat-1.9.2.2 Starting ansi-terminal-0.10.1 Completed zlib-0.6.2.1 Starting unordered-containers-0.2.10.0 Building ansi-terminal-0.10.1 Building unordered-containers-0.2.10.0 Completed cookie-0.4.4 Starting range-set-list-0.1.3.1 Building range-set-list-0.1.3.1 Completed base-compat-batteries-0.11.0 Starting case-insensitive-1.2.1.0 Completed ansi-terminal-0.10.1 Starting async-2.2.2 Building case-insensitive-1.2.1.0 Building async-2.2.2 Completed range-set-list-0.1.3.1 Starting optics-core-0.2 Building optics-core-0.2 Completed case-insensitive-1.2.1.0 Starting old-time-1.1.0.3 Completed async-2.2.2 Starting pretty-show-1.9.5 Building pretty-show-1.9.5 Building old-time-1.1.0.3 Completed unordered-containers-0.2.10.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed old-time-1.1.0.3 Starting splitmix-0.0.3 Building splitmix-0.0.3 Completed uuid-types-1.0.3 Downloading grpc-haskell-core-0.0.0.0 Downloaded grpc-haskell-core-0.0.0.0 Starting grpc-haskell-core-0.0.0.0 Completed pretty-show-1.9.5 Starting vector-0.12.0.3 Failed to install grpc-haskell-core-0.0.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/grpc-haskell-core-0.0.0.0-GtG9PQluc1GDO8qm4yqIBM.log ): cabal: Entering directory '/tmp/cabal-tmp-1369/grpc-haskell-core-0.0.0.0' Configuring grpc-haskell-core-0.0.0.0... cabal: Missing dependencies on foreign libraries: * Missing (or bad) header file: include/grpc_haskell.h * Missing (or bad) C libraries: grpc, gpr This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If the library files do 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. If the header 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-1369/grpc-haskell-core-0.0.0.0' Starting scientific-0.3.6.2 Completed splitmix-0.0.3 Building vector-0.12.0.3 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Completed optics-core-0.2 Completed vector-0.12.0.3 cabal: Error: some packages failed to install: grpc-haskell-0.0.1.0-CJyRRMfIStqKfMPAWZxG3W depends on grpc-haskell-0.0.1.0 which failed to install. grpc-haskell-core-0.0.0.0-GtG9PQluc1GDO8qm4yqIBM failed during the configure step. The exception was: ExitFailure 1