Resolving dependencies... Starting cereal-0.5.8.3 Starting base-orphans-0.9.0 Starting clock-0.8.4 Starting data-array-byte-0.1.0.1 Starting data-default-class-0.1.2.0 Starting data-binary-ieee754-0.4.4 Starting hourglass-0.2.12 Starting old-locale-1.0.0.7 Starting split-0.2.3.5 Starting filepath-1.4.100.4 Starting vector-stream-0.1.0.0 Starting transformers-compat-0.7.2 Starting xml-1.3.14 Starting magic-1.1 Starting utf8-string-1.0.2 Starting basement-0.0.16 Building data-array-byte-0.1.0.1 Building clock-0.8.4 Building base-orphans-0.9.0 Building cereal-0.5.8.3 Building data-default-class-0.1.2.0 Building hourglass-0.2.12 Building data-binary-ieee754-0.4.4 Building filepath-1.4.100.4 Building xml-1.3.14 Building transformers-compat-0.7.2 Building old-locale-1.0.0.7 Building vector-stream-0.1.0.0 Building split-0.2.3.5 Building utf8-string-1.0.2 Building basement-0.0.16 Failed to install magic-1.1 Build log ( /home/builder/.cabal/logs/ghc-9.2.4/magic-1.1-7bGfNPqwBlk23EKzbwzIxT.log ): cabal: Entering directory '/tmp/cabal-tmp-2332113/magic-1.1' Warning: magic.cabal:27:28: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring magic-1.1... Error: cabal-3.8.1.0: Missing dependency on a foreign library: * Missing (or bad) C library: magic 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-2332113/magic-1.1' Completed split-0.2.3.5 Completed old-locale-1.0.0.7 Completed data-default-class-0.1.2.0 Completed base-orphans-0.9.0 Completed data-binary-ieee754-0.4.4 Completed clock-0.8.4 Completed data-array-byte-0.1.0.1 Completed utf8-string-1.0.2 Completed vector-stream-0.1.0.0 Completed transformers-compat-0.7.2 Completed xml-1.3.14 Completed hourglass-0.2.12 Completed cereal-0.5.8.3 Completed filepath-1.4.100.4 Completed basement-0.0.16 Error: cabal: Some packages failed to install: amqp-utils-0.6.4.0-EAeaMPv2CQtCkdGEolWqjY depends on amqp-utils-0.6.4.0 which failed to install. magic-1.1-7bGfNPqwBlk23EKzbwzIxT failed during the configure step. The exception was: ExitFailure 1