Resolving dependencies... Configuring base-orphans-0.6... Configuring choice-0.2.2... Building choice-0.2.2... Building base-orphans-0.6... Installed base-orphans-0.6 Configuring colour-2.3.4... Installed choice-0.2.2 Configuring safe-0.3.16... Building colour-2.3.4... Building safe-0.3.16... Installed safe-0.3.16 Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring th-expand-syns-0.4.4.0... Installed colour-2.3.4 Configuring th-lift-0.7.8... Building th-expand-syns-0.4.4.0... Building th-lift-0.7.8... Installed th-expand-syns-0.4.4.0 Configuring transformers-compat-0.6.0.5... Building transformers-compat-0.6.0.5... Installed th-lift-0.7.8 Configuring charset-0.3.7.1... Building charset-0.3.7.1... Installed transformers-compat-0.6.0.5 Configuring ansi-terminal-0.8.0.1... Building ansi-terminal-0.8.0.1... Installed charset-0.3.7.1 Configuring th-reify-many-0.1.8... Building th-reify-many-0.1.8... Installed th-reify-many-0.1.8 Configuring th-lift-instances-0.1.11... Installed ansi-terminal-0.8.0.1 Configuring exceptions-0.9.0... Building th-lift-instances-0.1.11... Building exceptions-0.9.0... Installed th-lift-instances-0.1.11 Configuring constraints-0.10... Building constraints-0.10... Installed exceptions-0.9.0 Configuring parsers-0.12.8... Building parsers-0.12.8... Installed constraints-0.10 Configuring ansi-wl-pprint-0.6.8.2... Building ansi-wl-pprint-0.6.8.2... Installed parsers-0.12.8 Configuring th-orphans-0.13.5... Building th-orphans-0.13.5... Installed ansi-wl-pprint-0.6.8.2 Configuring distributed-closure-0.4.0... Building distributed-closure-0.4.0... Installed distributed-closure-0.4.0 Configuring inline-c-0.6.0.5... Installed th-orphans-0.13.5 Configuring th-desugar-1.7... Building inline-c-0.6.0.5... Building th-desugar-1.7... Installed inline-c-0.6.0.5 Installed th-desugar-1.7 Configuring singletons-2.3.1... Building singletons-2.3.1... Installed singletons-2.3.1 Configuring jni-0.6.0... Failed to install jni-0.6.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/jni-0.6.0-EYXfY9EkukXfGvAtYWruA.log ): cabal: Entering directory '/tmp/cabal-tmp-26619/jni-0.6.0' Configuring jni-0.6.0... cabal: Missing dependency on a foreign library: * Missing C library: jvm 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. cabal: Leaving directory '/tmp/cabal-tmp-26619/jni-0.6.0' cabal: Error: some packages failed to install: jni-0.6.0-EYXfY9EkukXfGvAtYWruA failed during the configure step. The exception was: ExitFailure 1 jvm-0.4.2-5mjp2Sx3hUH5BeQoD7KiKs depends on jvm-0.4.2 which failed to install.