Resolving dependencies... Starting vector-stream-0.1.0.1 Starting primitive-0.9.0.0 Starting filepath-1.4.300.1 Building vector-stream-0.1.0.1 Building primitive-0.9.0.0 Building filepath-1.4.300.1 Completed vector-stream-0.1.0.1 Completed filepath-1.4.300.1 Starting hashable-1.4.3.0 Completed primitive-0.9.0.0 Starting primitive-unaligned-0.1.1.2 Starting primitive-offset-0.2.0.0 Starting primitive-addr-0.1.0.2 Starting tuples-0.1.0.0 Building hashable-1.4.3.0 Starting vector-0.13.1.0 Building primitive-offset-0.2.0.0 Building primitive-unaligned-0.1.1.2 Building tuples-0.1.0.0 Building primitive-addr-0.1.0.2 Building vector-0.13.1.0 Completed primitive-offset-0.2.0.0 Completed primitive-addr-0.1.0.2 Completed primitive-unaligned-0.1.1.2 Completed tuples-0.1.0.0 Completed hashable-1.4.3.0 Starting text-short-0.1.5 Starting wide-word-0.1.6.0 Building wide-word-0.1.6.0 Building text-short-0.1.5 Completed text-short-0.1.5 Starting unlifted-0.2.2.0 Starting primitive-unlifted-2.1.0.0 Completed wide-word-0.1.6.0 Starting byte-order-0.1.3.1 Building unlifted-0.2.2.0 Building primitive-unlifted-2.1.0.0 Building byte-order-0.1.3.1 Completed unlifted-0.2.2.0 Starting natural-arithmetic-0.2.1.0 Building natural-arithmetic-0.2.1.0 Completed byte-order-0.1.3.1 Completed primitive-unlifted-2.1.0.0 Starting run-st-0.1.3.2 Building run-st-0.1.3.2 Completed natural-arithmetic-0.2.1.0 Completed run-st-0.1.3.2 Completed vector-0.13.1.0 Starting byteslice-0.2.13.2 Building byteslice-0.2.13.2 Completed byteslice-0.2.13.2 Starting posix-api-0.7.1.0 Building posix-api-0.7.1.0 Completed posix-api-0.7.1.0 Starting systemd-api-0.1.0.1 Failed to install systemd-api-0.1.0.1 Build log ( /home/builder/.cabal/logs/ghc-9.6.3/systemd-api-0.1.0.1-AagxQOOE8wK2zvFUfk7Rbr.log ): cabal: Entering directory '/tmp/cabal-tmp-1730204/systemd-api-0.1.0.1' Configuring systemd-api-0.1.0.1... Error: cabal-3.10.2.1: Missing dependency on a foreign library: * Missing (or bad) C library: systemd 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-1730204/systemd-api-0.1.0.1' Error: cabal: Some packages failed to install: systemd-api-0.1.0.1-AagxQOOE8wK2zvFUfk7Rbr failed during the configure step. The exception was: ExitFailure 1