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 base64-bytestring-1.0.0.2 Starting base-orphans-0.8.1 Starting auto-update-0.1.6 Starting base-compat-0.11.0 Building base64-bytestring-1.0.0.2 Building base-orphans-0.8.1 Building auto-update-0.1.6 Building base-compat-0.11.0 Completed base-orphans-0.8.1 Starting blaze-builder-0.4.1.0 Completed auto-update-0.1.6 Starting cabal-doctest-1.0.8 Building blaze-builder-0.4.1.0 Completed base64-bytestring-1.0.0.2 Starting data-default-class-0.1.2.0 Building cabal-doctest-1.0.8 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 cabal-doctest-1.0.8 Starting easy-file-0.2.2 Completed blaze-builder-0.4.1.0 Starting hashable-1.3.0.0 Building easy-file-0.2.2 Building hashable-1.3.0.0 Completed base-compat-0.11.0 Starting integer-logarithms-1.0.3 Completed dlist-0.8.0.7 Starting monad-loops-0.4.3 Completed easy-file-0.2.2 Building integer-logarithms-1.0.3 Starting network-3.1.1.0 Building monad-loops-0.4.3 Completed hashable-1.3.0.0 Starting old-locale-1.0.0.7 Completed integer-logarithms-1.0.3 Starting path-pieces-0.2.1 Completed monad-loops-0.4.3 Starting primitive-0.7.0.0 Building old-locale-1.0.0.7 Building path-pieces-0.2.1 Building primitive-0.7.0.0 Completed old-locale-1.0.0.7 Starting random-1.1 Building network-3.1.1.0 Completed path-pieces-0.2.1 Starting silently-1.2.5.1 Building random-1.1 Building silently-1.2.5.1 Completed silently-1.2.5.1 Starting split-0.2.3.3 Building split-0.2.3.3 Completed random-1.1 Starting stm-chans-3.0.0.4 Completed split-0.2.3.3 Starting tagged-0.8.6 Building tagged-0.8.6 Building stm-chans-3.0.0.4 Completed tagged-0.8.6 Starting th-abstraction-0.3.1.0 Completed network-3.1.1.0 Starting transformers-compat-0.6.5 Building th-abstraction-0.3.1.0 Building transformers-compat-0.6.5 Completed stm-chans-3.0.0.4 Starting unbounded-delays-0.1.1.0 Building unbounded-delays-0.1.1.0 Completed primitive-0.7.0.0 Starting unix-compat-0.5.2 Completed unbounded-delays-0.1.1.0 Starting unliftio-core-0.1.2.0 Building unix-compat-0.5.2 Building unliftio-core-0.1.2.0 Completed transformers-compat-0.6.5 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed th-abstraction-0.3.1.0 Starting zlib-0.6.2.1 Completed unliftio-core-0.1.2.0 Starting time-compat-1.9.2.2 Building zlib-0.6.2.1 Completed unix-compat-0.5.2 Starting cookie-0.4.4 Building time-compat-1.9.2.2 Building cookie-0.4.4 Completed cookie-0.4.4 Starting blaze-markup-0.8.2.3 Completed utf8-string-1.0.1.1 Starting unordered-containers-0.2.10.0 Building blaze-markup-0.8.2.3 Building unordered-containers-0.2.10.0 Completed time-compat-1.9.2.2 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed zlib-0.6.2.1 Starting async-2.2.2 Building async-2.2.2 Completed blaze-markup-0.8.2.3 Starting old-time-1.1.0.3 Completed case-insensitive-1.2.1.0 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Building old-time-1.1.0.3 Completed async-2.2.2 Starting vector-0.12.0.3 Building vector-0.12.0.3 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed old-time-1.1.0.3 Starting concurrent-extra-0.7.0.12 Building concurrent-extra-0.7.0.12 Completed unordered-containers-0.2.10.0 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed concurrent-extra-0.7.0.12 Starting exceptions-0.10.3 Completed transformers-base-0.4.5.2 Starting blaze-html-0.9.1.2 Completed scientific-0.3.6.2 Starting http-types-0.12.3 Building exceptions-0.10.3 Building blaze-html-0.9.1.2 Building http-types-0.12.3 Completed exceptions-0.10.3 Starting typed-process-0.2.6.0 Completed http-types-0.12.3 Starting streaming-commons-0.2.1.1 Building typed-process-0.2.6.0 Building streaming-commons-0.2.1.1 Completed typed-process-0.2.6.0 Starting unix-time-0.4.7 Building unix-time-0.4.7 Completed streaming-commons-0.2.1.1 Starting convertible-1.1.1.0 Completed unix-time-0.4.7 Starting monad-control-1.0.2.3 Building convertible-1.1.1.0 Building monad-control-1.0.2.3 Completed monad-control-1.0.2.3 Starting attoparsec-0.13.2.3 Building attoparsec-0.13.2.3 Completed blaze-html-0.9.1.2 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed convertible-1.1.1.0 Starting fast-logger-3.0.0 Completed vector-0.12.0.3 Starting lifted-base-0.2.3.12 Completed resourcet-1.2.2 Starting HDBC-2.4.0.3 Building fast-logger-3.0.0 Building lifted-base-0.2.3.12 Completed attoparsec-0.13.2.3 Starting vector-algorithms-0.8.0.1 Building HDBC-2.4.0.3 Building vector-algorithms-0.8.0.1 Completed fast-logger-3.0.0 Starting resource-pool-0.2.3.2 Completed lifted-base-0.2.3.12 Starting attoparsec-iso8601-1.0.1.0 Building resource-pool-0.2.3.2 Building attoparsec-iso8601-1.0.1.0 Completed attoparsec-iso8601-1.0.1.0 Starting aeson-1.4.5.0 Completed HDBC-2.4.0.3 Starting http-api-data-0.4.1 Completed resource-pool-0.2.3.2 Starting HDBC-odbc-2.6.0.0 Building aeson-1.4.5.0 Failed to install HDBC-odbc-2.6.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/HDBC-odbc-2.6.0.0-JGZhb6Knzes8OIO3A4Etwd.log ): cabal: Entering directory '/tmp/cabal-tmp-16131/HDBC-odbc-2.6.0.0' Configuring HDBC-odbc-2.6.0.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: odbc 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-16131/HDBC-odbc-2.6.0.0' Building http-api-data-0.4.1 Completed vector-algorithms-0.8.0.1 Completed http-api-data-0.4.1 Completed aeson-1.4.5.0 cabal: Error: some packages failed to install: HDBC-odbc-2.6.0.0-JGZhb6Knzes8OIO3A4Etwd failed during the configure step. The exception was: ExitFailure 1 persistent-odbc-0.2.1.0-60Fv3H7TAMs4Yt2RvRx4kk depends on persistent-odbc-0.2.1.0 which failed to install.