Resolving dependencies... Starting old-locale-1.0.0.7 Starting th-abstraction-0.4.5.0 Starting utf8-string-1.0.2 Building th-abstraction-0.4.5.0 Building utf8-string-1.0.2 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting old-time-1.1.0.3 Building old-time-1.1.0.3 Completed utf8-string-1.0.2 Completed th-abstraction-0.4.5.0 Starting generic-deriving-1.14.2 Building generic-deriving-1.14.2 Completed old-time-1.1.0.3 Starting convertible-1.1.1.1 Building convertible-1.1.1.1 Completed convertible-1.1.1.1 Starting HDBC-2.4.0.4 Building HDBC-2.4.0.4 Completed generic-deriving-1.14.2 Completed HDBC-2.4.0.4 Starting HDBC-sqlite3-2.3.3.1 Failed to install HDBC-sqlite3-2.3.3.1 Build log ( /home/builder/.cabal/logs/ghc-9.2.4/HDBC-sqlite3-2.3.3.1-5qn03AcPiz07Syrylt8gyR.log ): cabal: Entering directory '/tmp/cabal-tmp-2215894/HDBC-sqlite3-2.3.3.1' Warning: HDBC-sqlite3.cabal:26:28: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring HDBC-sqlite3-2.3.3.1... Error: cabal-3.8.1.0: 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-2215894/HDBC-sqlite3-2.3.3.1' Error: cabal: Some packages failed to install: HDBC-sqlite3-2.3.3.1-5qn03AcPiz07Syrylt8gyR failed during the configure step. The exception was: ExitFailure 1 generic-persistence-0.3.0.0-7pBtnA7MJfS90Bnf8q2AbH depends on generic-persistence-0.3.0.0 which failed to install.