Resolving dependencies... Starting clock-0.8.2 Starting cereal-0.5.8.1 Starting base-orphans-0.8.5 Starting basement-0.0.12 Building clock-0.8.2 Building base-orphans-0.8.5 Building cereal-0.5.8.1 Building basement-0.0.12 Completed clock-0.8.2 Starting data-binary-ieee754-0.4.4 Building data-binary-ieee754-0.4.4 Completed data-binary-ieee754-0.4.4 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed base-orphans-0.8.5 Starting filepath-bytestring-1.4.2.1.8 Completed data-default-class-0.1.2.0 Starting hashable-1.3.4.1 Building filepath-bytestring-1.4.2.1.8 Building hashable-1.3.4.1 Completed cereal-0.5.8.1 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed filepath-bytestring-1.4.2.1.8 Starting magic-1.1 Failed to install magic-1.1 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/magic-1.1-1RoyXuVqQ6zBGAsTPFSblk.log ): cabal: Entering directory '/tmp/cabal-tmp-13812/magic-1.1' Configuring magic-1.1... cabal: 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-13812/magic-1.1' Starting network-3.1.2.5 Completed hashable-1.3.4.1 Building network-3.1.2.5 Completed hourglass-0.2.12 Completed network-3.1.2.5 Completed basement-0.0.12 cabal: Error: some packages failed to install: amqp-utils-0.6.3.2-11UyQrfjYr85g6IJVtpOsD depends on amqp-utils-0.6.3.2 which failed to install. magic-1.1-1RoyXuVqQ6zBGAsTPFSblk failed during the configure step. The exception was: ExitFailure 1