Resolving dependencies... Starting vector-stream-0.1.0.0 Starting hashable-1.4.1.0 Starting primitive-0.7.4.0 Building vector-stream-0.1.0.0 Building hashable-1.4.1.0 Building primitive-0.7.4.0 Completed vector-stream-0.1.0.0 Completed hashable-1.4.1.0 Starting text-short-0.1.5 Building text-short-0.1.5 Completed primitive-0.7.4.0 Starting wide-word-0.1.3.0 Starting tuples-0.1.0.0 Starting primitive-unaligned-0.1.1.2 Starting primitive-offset-0.2.0.0 Starting primitive-addr-0.1.0.2 Starting vector-0.13.0.0 Building wide-word-0.1.3.0 Building primitive-unaligned-0.1.1.2 Building tuples-0.1.0.0 Building primitive-offset-0.2.0.0 Building primitive-addr-0.1.0.2 Building vector-0.13.0.0 Completed text-short-0.1.5 Starting primitive-unlifted-0.1.3.1 Building primitive-unlifted-0.1.3.1 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 primitive-unlifted-0.1.3.1 Starting run-st-0.1.1.0 Building run-st-0.1.1.0 Completed wide-word-0.1.3.0 Starting byte-order-0.1.3.0 Building byte-order-0.1.3.0 Completed run-st-0.1.1.0 Completed byte-order-0.1.3.0 Completed vector-0.13.0.0 Starting byteslice-0.2.9.0 Building byteslice-0.2.9.0 Completed byteslice-0.2.9.0 Starting posix-api-0.4.0.0 Failed to install posix-api-0.4.0.0 Build log ( /home/builder/.cabal/logs/ghc-9.2.4/posix-api-0.4.0.0-3xjhtd7XXKWKBHR9CPCOWm.log ): cabal: Entering directory '/tmp/cabal-tmp-549865/posix-api-0.4.0.0' Configuring posix-api-0.4.0.0... Error: cabal-3.8.1.0: 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-549865/posix-api-0.4.0.0' Error: cabal: Some packages failed to install: posix-api-0.4.0.0-3xjhtd7XXKWKBHR9CPCOWm failed during the configure step. The exception was: ExitFailure 1