Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting SafeSemaphore-0.10.1 Starting StateVar-1.2 Starting IfElse-0.85 Starting appar-0.1.8 Building SafeSemaphore-0.10.1 Building appar-0.1.8 Building StateVar-1.2 Building IfElse-0.85 Completed IfElse-0.85 Starting auto-update-0.1.6 Completed appar-0.1.8 Starting base-compat-0.11.1 Building auto-update-0.1.6 Completed StateVar-1.2 Starting base-orphans-0.8.2 Building base-compat-0.11.1 Building base-orphans-0.8.2 Completed auto-update-0.1.6 Starting base64-bytestring-1.1.0.0 Completed SafeSemaphore-0.10.1 Starting basement-0.0.11 Building base64-bytestring-1.1.0.0 Building basement-0.0.11 Completed base-orphans-0.8.2 Starting blaze-builder-0.4.1.0 Completed base64-bytestring-1.1.0.0 Starting bloomfilter-2.0.1.0 Building blaze-builder-0.4.1.0 Building bloomfilter-2.0.1.0 Completed base-compat-0.11.1 Starting bsb-http-chunked-0.0.0.4 Building bsb-http-chunked-0.0.0.4 Completed blaze-builder-0.4.1.0 Starting byteable-0.1.1 Building byteable-0.1.1 Completed bloomfilter-2.0.1.0 Starting byteorder-1.0.4 Building byteorder-1.0.4 Completed bsb-http-chunked-0.0.0.4 Starting cabal-doctest-1.0.8 Completed byteable-0.1.1 Starting call-stack-0.2.0 Building cabal-doctest-1.0.8 Building call-stack-0.2.0 Completed byteorder-1.0.4 Starting cereal-0.5.8.1 Building cereal-0.5.8.1 Completed call-stack-0.2.0 Starting clock-0.8 Building clock-0.8 Completed cabal-doctest-1.0.8 Starting colour-2.3.5 Building colour-2.3.5 Completed clock-0.8 Starting cryptohash-md5-0.11.100.1 Building cryptohash-md5-0.11.100.1 Completed cryptohash-md5-0.11.100.1 Starting cryptohash-sha1-0.11.100.1 Building cryptohash-sha1-0.11.100.1 Completed cereal-0.5.8.1 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed colour-2.3.5 Starting disk-free-space-0.1.0.1 Completed cryptohash-sha1-0.11.100.1 Starting dlist-0.8.0.8 Completed data-default-class-0.1.2.0 Starting easy-file-0.2.2 Building disk-free-space-0.1.0.1 Building dlist-0.8.0.8 Building easy-file-0.2.2 Completed disk-free-space-0.1.0.1 Starting entropy-0.4.1.6 Completed dlist-0.8.0.8 Starting exceptions-0.10.4 Completed easy-file-0.2.2 Starting file-embed-0.0.11.2 Building exceptions-0.10.4 Building file-embed-0.0.11.2 Building entropy-0.4.1.6 Completed file-embed-0.0.11.2 Starting filepath-bytestring-1.4.2.1.6 Building filepath-bytestring-1.4.2.1.6 Completed exceptions-0.10.4 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed entropy-0.4.1.6 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed filepath-bytestring-1.4.2.1.6 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting magic-1.1 Completed integer-logarithms-1.0.3 Starting microlens-0.4.11.2 Failed to install magic-1.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/magic-1.1-Li4qC2EFmFj3eSH3BrxalF.log ): cabal: Entering directory '/tmp/cabal-tmp-4968/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-4968/magic-1.1' Starting mime-types-0.1.0.9 Building microlens-0.4.11.2 Building mime-types-0.1.0.9 Completed microlens-0.4.11.2 Completed hourglass-0.2.12 Completed mime-types-0.1.0.9 Completed basement-0.0.11 cabal: Error: some packages failed to install: git-annex-8.20200501-5W387lRnzAj3u0RveYPut2 depends on git-annex-8.20200501 which failed to install. magic-1.1-Li4qC2EFmFj3eSH3BrxalF failed during the configure step. The exception was: ExitFailure 1