Resolving dependencies... Configuring base-orphans-0.7... Configuring base-compat-0.10.1... Building base-orphans-0.7... Building base-compat-0.10.1... Installed base-orphans-0.7 Configuring cabal-doctest-1.0.6... Building cabal-doctest-1.0.6... Installed cabal-doctest-1.0.6 Configuring safe-0.3.17... Installed base-compat-0.10.1 Configuring semigroups-0.18.4... Building safe-0.3.17... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring th-abstraction-0.2.6.0... Building th-abstraction-0.2.6.0... Installed safe-0.3.17 Configuring th-expand-syns-0.4.4.0... Building th-expand-syns-0.4.4.0... Installed th-expand-syns-0.4.4.0 Configuring transformers-compat-0.6.2... Installed th-abstraction-0.2.6.0 Configuring universe-base-1.0.2.1... Building transformers-compat-0.6.2... Building universe-base-1.0.2.1... Installed universe-base-1.0.2.1 Configuring z3-4.3.1... Failed to install z3-4.3.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/z3-4.3.1-8T7S0tc6OL2cTdg86MrqP.log ): cabal: Entering directory '/tmp/cabal-tmp-11333/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-11333/z3-4.3.1' Configuring th-reify-many-0.1.8... Building th-reify-many-0.1.8... Installed transformers-compat-0.6.2 Installed th-reify-many-0.1.8 cabal: Error: some packages failed to install: expressions-z3-0.1.5-5ndsG9Kn2BvDeYW2S96r25 depends on expressions-z3-0.1.5 which failed to install. z3-4.3.1-8T7S0tc6OL2cTdg86MrqP failed during the configure step. The exception was: ExitFailure 1