Resolving dependencies... Configuring base-orphans-0.8... Configuring base-compat-0.10.4... Building base-orphans-0.8... Building base-compat-0.10.4... Installed base-orphans-0.8 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed base-compat-0.10.4 Configuring hashable-1.2.7.0... Installed cabal-doctest-1.0.6 Configuring integer-logarithms-1.0.2.2... Building hashable-1.2.7.0... Building integer-logarithms-1.0.2.2... Installed integer-logarithms-1.0.2.2 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed hashable-1.2.7.0 Configuring safe-0.3.17... Building safe-0.3.17... Installed safe-0.3.17 Configuring semigroups-0.18.5... Building semigroups-0.18.5... Installed semigroups-0.18.5 Configuring stm-2.5.0.0... Building stm-2.5.0.0... Installed stm-2.5.0.0 Configuring syb-0.7... Building syb-0.7... Installed primitive-0.6.4.0 Configuring tagged-0.8.6... Building tagged-0.8.6... Installed syb-0.7 Configuring th-abstraction-0.2.8.0... Building th-abstraction-0.2.8.0... Installed tagged-0.8.6 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Installed th-abstraction-0.2.8.0 Configuring universe-base-1.0.2.1... Installed transformers-compat-0.6.2 Configuring z3-4.3.1... Building universe-base-1.0.2.1... Failed to install z3-4.3.1 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/z3-4.3.1-6btBgYDddap75zYSt6wHBl.log ): cabal: Entering directory '/tmp/cabal-tmp-19871/z3-4.3.1' Configuring z3-4.3.1... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: z3.h * Missing (or bad) C library: z3 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. If the header 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-19871/z3-4.3.1' Configuring unordered-containers-0.2.9.0... Building unordered-containers-0.2.9.0... Installed universe-base-1.0.2.1 Installed unordered-containers-0.2.9.0 cabal: Error: some packages failed to install: expressions-z3-0.4-AetXSXBhSGy9C0webZUXGk depends on expressions-z3-0.4 which failed to install. z3-4.3.1-6btBgYDddap75zYSt6wHBl failed during the configure step. The exception was: ExitFailure 1