Resolving dependencies... Starting integer-logarithms-1.0.3.1 Starting base-orphans-0.9.0 Starting safe-exceptions-0.1.7.4 Starting vector-stream-0.1.0.0 Starting data-array-byte-0.1.0.1 Starting prettyprinter-1.7.1 Building vector-stream-0.1.0.0 Building base-orphans-0.9.0 Building integer-logarithms-1.0.3.1 Building safe-exceptions-0.1.7.4 Building data-array-byte-0.1.0.1 Building prettyprinter-1.7.1 Completed integer-logarithms-1.0.3.1 Completed base-orphans-0.9.0 Completed data-array-byte-0.1.0.1 Starting hashable-1.4.3.0 Starting primitive-0.8.0.0 Completed safe-exceptions-0.1.7.4 Building hashable-1.4.3.0 Building primitive-0.8.0.0 Completed vector-stream-0.1.0.0 Completed prettyprinter-1.7.1 Completed hashable-1.4.3.0 Starting unordered-containers-0.2.19.1 Building unordered-containers-0.2.19.1 Completed primitive-0.8.0.0 Starting scientific-0.3.7.0 Starting vector-0.13.0.0 Building scientific-0.3.7.0 Building vector-0.13.0.0 Completed unordered-containers-0.2.19.1 Starting charset-0.3.10 Building charset-0.3.10 Completed scientific-0.3.7.0 Starting attoparsec-0.14.4 Building attoparsec-0.14.4 Completed charset-0.3.10 Completed attoparsec-0.14.4 Starting parsers-0.12.11 Building parsers-0.12.11 Completed vector-0.13.0.0 Completed parsers-0.12.11 Starting inline-c-0.9.1.10 Building inline-c-0.9.1.10 Completed inline-c-0.9.1.10 Starting inline-c-cpp-0.5.0.2 Building inline-c-cpp-0.5.0.2 Completed inline-c-cpp-0.5.0.2 Starting inline-c-cuda-0.1.0.0 Failed to install inline-c-cuda-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-9.2.4/inline-c-cuda-0.1.0.0-JqfAz9vtP9HFpyVgX42aWo.log ): cabal: Entering directory '/tmp/cabal-tmp-3255223/inline-c-cuda-0.1.0.0' Configuring inline-c-cuda-0.1.0.0... Error: cabal-3.8.1.0: Missing dependency on a foreign library: * Missing (or bad) C library: cudart 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-3255223/inline-c-cuda-0.1.0.0' Error: cabal: Some packages failed to install: inline-c-cuda-0.1.0.0-JqfAz9vtP9HFpyVgX42aWo failed during the configure step. The exception was: ExitFailure 1