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 clock-0.8 Starting colour-2.3.5 Starting call-stack-0.2.0 Starting cmdargs-0.10.20 Building clock-0.8 Building call-stack-0.2.0 Building cmdargs-0.10.20 Building colour-2.3.5 Completed call-stack-0.2.0 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed clock-0.8 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed integer-logarithms-1.0.3 Starting network-3.1.1.1 Completed hashable-1.3.0.0 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed colour-2.3.5 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed old-locale-1.0.0.7 Starting random-1.1 Building network-3.1.1.1 Building random-1.1 Completed random-1.1 Starting regex-base-0.94.0.0 Building regex-base-0.94.0.0 Completed regex-base-0.94.0.0 Starting tagged-0.8.6 Building tagged-0.8.6 Completed network-3.1.1.1 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed tagged-0.8.6 Starting unbounded-delays-0.1.1.0 Building unbounded-delays-0.1.1.0 Completed cmdargs-0.10.20 Starting unix-compat-0.5.2 Completed primitive-0.7.0.0 Starting utf8-string-1.0.1.1 Building unix-compat-0.5.2 Completed unbounded-delays-0.1.1.0 Starting wcwidth-0.0.2 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.5 Starting unordered-containers-0.2.10.0 Building wcwidth-0.0.2 Building unordered-containers-0.2.10.0 Completed wcwidth-0.0.2 Starting async-2.2.2 Completed unix-compat-0.5.2 Starting ansi-terminal-0.10.2 Building async-2.2.2 Building ansi-terminal-0.10.2 Completed utf8-string-1.0.1.1 Starting old-time-1.1.0.3 Completed async-2.2.2 Starting regex-posix-0.96.0.0 Building regex-posix-0.96.0.0 Building old-time-1.1.0.3 Completed ansi-terminal-0.10.2 Starting network-bsd-2.8.1.0 Building network-bsd-2.8.1.0 Completed old-time-1.1.0.3 Starting scientific-0.3.6.2 Completed network-bsd-2.8.1.0 Starting ansi-wl-pprint-0.6.9 Completed regex-posix-0.96.0.0 Starting convertible-1.1.1.0 Building scientific-0.3.6.2 Building ansi-wl-pprint-0.6.9 Completed unordered-containers-0.2.10.0 Starting hslogger-1.3.1.0 Building convertible-1.1.1.0 Building hslogger-1.3.1.0 Completed ansi-wl-pprint-0.6.9 Starting regex-compat-0.95.2.0 Building regex-compat-0.95.2.0 Completed scientific-0.3.6.2 Starting optparse-applicative-0.15.1.0 Building optparse-applicative-0.15.1.0 Completed hslogger-1.3.1.0 Starting attoparsec-0.13.2.3 Completed regex-compat-0.95.2.0 Starting MissingH-1.4.2.0 Building attoparsec-0.13.2.3 Building MissingH-1.4.2.0 Completed convertible-1.1.1.0 Starting HDBC-2.4.0.3 Completed optparse-applicative-0.15.1.0 Starting tasty-1.2.3 Building HDBC-2.4.0.3 Building tasty-1.2.3 Completed attoparsec-0.13.2.3 Starting configurator-0.3.0.0 Building configurator-0.3.0.0 Completed HDBC-2.4.0.3 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-GQN1MWjKSEr4UbMdsqjNS.log ): cabal: Entering directory '/tmp/cabal-tmp-13393/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-13393/HDBC-sqlite3-2.3.3.1' Starting HDBC-postgresql-2.3.2.7 Completed configurator-0.3.0.0 Completed MissingH-1.4.2.0 Completed tasty-1.2.3 Building HDBC-postgresql-2.3.2.7 Completed HDBC-postgresql-2.3.2.7 cabal: Error: some packages failed to install: HDBC-sqlite3-2.3.3.1-GQN1MWjKSEr4UbMdsqjNS failed during the configure step. The exception was: ExitFailure 1 mailbox-count-0.0.5-L6B37IpjaKT3EcwjZvJstY depends on mailbox-count-0.0.5 which failed to install.