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 Diff-0.3.4 Starting hashable-1.3.0.0 Starting blaze-builder-0.4.1.0 Starting network-3.1.0.1 Building Diff-0.3.4 Building hashable-1.3.0.0 Building blaze-builder-0.4.1.0 Completed Diff-0.3.4 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Building network-3.1.0.1 Completed blaze-builder-0.4.1.0 Starting primitive-0.7.0.0 Completed hashable-1.3.0.0 Starting random-1.1 Building primitive-0.7.0.0 Building random-1.1 Completed old-locale-1.0.0.7 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed semigroups-0.19.1 Starting syb-0.7.1 Building syb-0.7.1 Completed random-1.1 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed syb-0.7.1 Starting wl-pprint-1.2.1 Building wl-pprint-1.2.1 Completed network-3.1.0.1 Starting zlib-0.6.2.1 Building zlib-0.6.2.1 Completed utf8-string-1.0.1.1 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed wl-pprint-1.2.1 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed case-insensitive-1.2.1.0 Starting async-2.2.2 Building async-2.2.2 Completed primitive-0.7.0.0 Starting old-time-1.1.0.3 Completed zlib-0.6.2.1 Starting http-types-0.12.3 Building http-types-0.12.3 Building old-time-1.1.0.3 Completed async-2.2.2 Starting tf-random-0.5 Building tf-random-0.5 Completed old-time-1.1.0.3 Starting streaming-commons-0.1.19 Completed http-types-0.12.3 Starting convertible-1.1.1.0 Building streaming-commons-0.1.19 Completed unordered-containers-0.2.10.0 Starting vault-0.3.1.3 Building convertible-1.1.1.0 Completed tf-random-0.5 Starting uniplate-1.6.12 Building vault-0.3.1.3 Building uniplate-1.6.12 Completed vault-0.3.1.3 Starting QuickCheck-2.11.3 Building QuickCheck-2.11.3 Completed streaming-commons-0.1.19 Starting wai-3.2.2.1 Building wai-3.2.2.1 Completed uniplate-1.6.12 Completed wai-3.2.2.1 Completed convertible-1.1.1.0 Starting HDBC-2.4.0.2 Building HDBC-2.4.0.2 Completed HDBC-2.4.0.2 Starting HDBC-sqlite3-2.3.3.1 Failed to install HDBC-sqlite3-2.3.3.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/HDBC-sqlite3-2.3.3.1-6FRlD8bKyTOhyjtDm4mT8.log ): cabal: Entering directory '/tmp/cabal-tmp-9207/HDBC-sqlite3-2.3.3.1' Configuring HDBC-sqlite3-2.3.3.1... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: sqlite3 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-9207/HDBC-sqlite3-2.3.3.1' Completed QuickCheck-2.11.3 cabal: Error: some packages failed to install: HDBC-sqlite3-2.3.3.1-6FRlD8bKyTOhyjtDm4mT8 failed during the configure step. The exception was: ExitFailure 1 ideas-1.8-Frfh5XTGhZe9JLO8oNhy8x depends on ideas-1.8 which failed to install.