Resolving dependencies... Starting data-default-0.8.0.0 Starting unliftio-core-0.2.1.0 Starting primitive-0.9.0.0 Starting os-string-2.0.7 Building unliftio-core-0.2.1.0 Building data-default-0.8.0.0 Building primitive-0.9.0.0 Building os-string-2.0.7 Completed unliftio-core-0.2.1.0 Completed data-default-0.8.0.0 Completed os-string-2.0.7 Starting filepath-1.5.4.0 Building filepath-1.5.4.0 Completed primitive-0.9.0.0 Starting resourcet-1.3.0 Building resourcet-1.3.0 Completed filepath-1.5.4.0 Completed resourcet-1.3.0 Starting leveldb-haskell-0.6.5.1 Failed to install leveldb-haskell-0.6.5.1 Build log ( /home/builder/.cabal/logs/ghc-9.6.3/leveldb-haskell-0.6.5.1-624T4KzWAnXAjPGt4dWxrI.log ): cabal: Entering directory '/tmp/cabal-tmp-972657/leveldb-haskell-0.6.5.1' Configuring leveldb-haskell-0.6.5.1... Error: cabal-3.10.2.1: Missing dependency on a foreign library: * Missing (or bad) C library: leveldb 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-972657/leveldb-haskell-0.6.5.1' Error: cabal: Some packages failed to install: leveldb-haskell-0.6.5.1-624T4KzWAnXAjPGt4dWxrI failed during the configure step. The exception was: ExitFailure 1