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 StateVar-1.2 Starting colour-2.3.5 Starting base-orphans-0.8.1 Starting hashable-1.3.0.0 Building StateVar-1.2 Building colour-2.3.5 Building base-orphans-0.8.1 Building hashable-1.3.0.0 Completed base-orphans-0.8.1 Starting integer-logarithms-1.0.3 Completed StateVar-1.2 Starting microlens-0.4.11.2 Building integer-logarithms-1.0.3 Building microlens-0.4.11.2 Completed integer-logarithms-1.0.3 Starting primitive-0.7.0.0 Completed hashable-1.3.0.0 Starting safe-0.3.17 Building primitive-0.7.0.0 Building safe-0.3.17 Completed microlens-0.4.11.2 Starting semigroups-0.19 Building semigroups-0.19 Completed colour-2.3.5 Starting syb-0.7.1 Building syb-0.7.1 Completed semigroups-0.19 Starting th-abstraction-0.3.1.0 Building th-abstraction-0.3.1.0 Completed safe-0.3.17 Starting contravariant-1.5.2 Building contravariant-1.5.2 Completed syb-0.7.1 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed contravariant-1.5.2 Starting microlens-contra-0.1.0.2 Completed th-abstraction-0.3.1.0 Building microlens-contra-0.1.0.2 Starting ansi-terminal-0.9.1 Building ansi-terminal-0.9.1 Completed microlens-contra-0.1.0.2 Starting th-expand-syns-0.4.4.0 Building th-expand-syns-0.4.4.0 Completed primitive-0.7.0.0 Starting th-lift-0.8.0.1 Completed th-expand-syns-0.4.4.0 Starting vector-0.12.0.3 Completed ansi-terminal-0.9.1 Starting scientific-0.3.6.2 Building th-lift-0.8.0.1 Building vector-0.12.0.3 Building scientific-0.3.6.2 Completed th-lift-0.8.0.1 Starting th-reify-many-0.1.9 Building th-reify-many-0.1.9 Completed unordered-containers-0.2.10.0 Starting ansi-wl-pprint-0.6.9 Completed scientific-0.3.6.2 Starting charset-0.3.7.1 Building ansi-wl-pprint-0.6.9 Completed th-reify-many-0.1.9 Starting attoparsec-0.13.2.2 Building charset-0.3.7.1 Building attoparsec-0.13.2.2 Completed ansi-wl-pprint-0.6.9 Completed charset-0.3.7.1 Completed attoparsec-0.13.2.2 Starting parsers-0.12.10 Building parsers-0.12.10 Completed parsers-0.12.10 Completed vector-0.12.0.3 Starting th-lift-instances-0.1.13 Starting inline-c-0.8.0.1 Building inline-c-0.8.0.1 Building th-lift-instances-0.1.13 Completed th-lift-instances-0.1.13 Starting th-orphans-0.13.7 Building th-orphans-0.13.7 Completed th-orphans-0.13.7 Starting th-desugar-1.9 Building th-desugar-1.9 Completed inline-c-0.8.0.1 Completed th-desugar-1.9 Starting singletons-2.5.1 Building singletons-2.5.1 Completed singletons-2.5.1 Downloading clang-pure-0.2.0.5 Downloaded clang-pure-0.2.0.5 Starting clang-pure-0.2.0.5 Failed to install clang-pure-0.2.0.5 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/clang-pure-0.2.0.5-GJgyciO4ojEBRyEmHVeQYM.log ): cabal: Entering directory '/tmp/cabal-tmp-8740/clang-pure-0.2.0.5' [1 of 1] Compiling Main ( /tmp/cabal-tmp-8740/clang-pure-0.2.0.5/dist/setup/setup.hs, /tmp/cabal-tmp-8740/clang-pure-0.2.0.5/dist/setup/Main.o ) Linking /tmp/cabal-tmp-8740/clang-pure-0.2.0.5/dist/setup/setup ... Configuring clang-pure-0.2.0.5... Warning: Couldn't find libclang, attempting to find it with llvm-config or environment variables... Could not execute llvm-config Could not execute llvm-config-9.9 Could not execute llvm-config-9.8 Could not execute llvm-config-9.7 Could not execute llvm-config-9.6 Could not execute llvm-config-9.5 Could not execute llvm-config-9.4 Could not execute llvm-config-9.3 Could not execute llvm-config-9.2 Could not execute llvm-config-9.1 Could not execute llvm-config-9.0 Could not execute llvm-config-8.9 Could not execute llvm-config-8.8 Could not execute llvm-config-8.7 Could not execute llvm-config-8.6 Could not execute llvm-config-8.5 Could not execute llvm-config-8.4 Could not execute llvm-config-8.3 Could not execute llvm-config-8.2 Could not execute llvm-config-8.1 Could not execute llvm-config-8.0 Could not execute llvm-config-7.9 Could not execute llvm-config-7.8 Could not execute llvm-config-7.7 Could not execute llvm-config-7.6 Could not execute llvm-config-7.5 Could not execute llvm-config-7.4 Could not execute llvm-config-7.3 Could not execute llvm-config-7.2 Could not execute llvm-config-7.1 Could not execute llvm-config-7.0 Could not execute llvm-config-6.9 Could not execute llvm-config-6.8 Could not execute llvm-config-6.7 Could not execute llvm-config-6.6 Could not execute llvm-config-6.5 Could not execute llvm-config-6.4 Could not execute llvm-config-6.3 Could not execute llvm-config-6.2 Could not execute llvm-config-6.1 Could not execute llvm-config-6.0 Could not execute llvm-config-5.9 Could not execute llvm-config-5.8 Could not execute llvm-config-5.7 Could not execute llvm-config-5.6 Could not execute llvm-config-5.5 Could not execute llvm-config-5.4 Could not execute llvm-config-5.3 Could not execute llvm-config-5.2 Could not execute llvm-config-5.1 Could not execute llvm-config-5.0 Could not execute llvm-config-4.9 Could not execute llvm-config-4.8 Could not execute llvm-config-4.7 Could not execute llvm-config-4.6 Could not execute llvm-config-4.5 Could not execute llvm-config-4.4 Could not execute llvm-config-4.3 Could not execute llvm-config-4.2 Could not execute llvm-config-4.1 Could not execute llvm-config-4.0 Could not execute llvm-config-3.9 Could not execute llvm-config-3.8 Could not execute llvm-config-3.7 Could not execute llvm-config-3.6 Could not execute llvm-config-3.5 Could not execute llvm-config-3.4 Could not execute llvm-config-3.3 Could not execute llvm-config-3.2 Could not execute llvm-config-3.1 Could not execute llvm-config-3.0 setup: Could not find llvm-config with minimum version 3.8.0. cabal: Leaving directory '/tmp/cabal-tmp-8740/clang-pure-0.2.0.5' cabal: Error: some packages failed to install: clang-pure-0.2.0.5-GJgyciO4ojEBRyEmHVeQYM failed during the configure step. The exception was: ExitFailure 1