Resolving dependencies... Configuring base-orphans-0.8... Configuring choice-0.2.2... Building base-orphans-0.8... Building choice-0.2.2... Installed choice-0.2.2 Configuring colour-2.3.4... Building colour-2.3.4... Installed base-orphans-0.8 Configuring hashable-1.2.7.0... Building hashable-1.2.7.0... Installed hashable-1.2.7.0 Configuring integer-logarithms-1.0.2.1... Building integer-logarithms-1.0.2.1... Installed colour-2.3.4 Configuring language-java-0.2.9... Building language-java-0.2.9... Installed integer-logarithms-1.0.2.1 Configuring primitive-0.6.4.0... Building primitive-0.6.4.0... Installed primitive-0.6.4.0 Configuring random-1.1... Building random-1.1... Installed random-1.1 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 language-java-0.2.9 Configuring syb-0.7... Building syb-0.7... Installed semigroups-0.18.5 Configuring th-abstraction-0.2.8.0... Building th-abstraction-0.2.8.0... Installed syb-0.7 Configuring transformers-compat-0.6.2... Building transformers-compat-0.6.2... Installed th-abstraction-0.2.8.0 Configuring unordered-containers-0.2.9.0... Building unordered-containers-0.2.9.0... Installed transformers-compat-0.6.2 Configuring ansi-terminal-0.8.0.4... Building ansi-terminal-0.8.0.4... Installed ansi-terminal-0.8.0.4 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed unordered-containers-0.2.9.0 Configuring scientific-0.3.6.2... Building scientific-0.3.6.2... Installed scientific-0.3.6.2 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 th-lift-0.7.10... Building th-lift-0.7.10... Installed th-lift-0.7.10 Configuring exceptions-0.10.0... Building exceptions-0.10.0... Installed exceptions-0.10.0 Configuring constraints-0.10.1... Building constraints-0.10.1... Installed constraints-0.10.1 Configuring ansi-wl-pprint-0.6.8.2... Building ansi-wl-pprint-0.6.8.2... Installed vector-0.12.0.1 Configuring charset-0.3.7.1... Installed ansi-wl-pprint-0.6.8.2 Configuring attoparsec-0.13.2.2... Building charset-0.3.7.1... Building attoparsec-0.13.2.2... 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 temporary-1.3... Building temporary-1.3... Installed attoparsec-0.13.2.2 Configuring distributed-closure-0.4.0... Installed temporary-1.3 Configuring th-lift-instances-0.1.11... Building distributed-closure-0.4.0... Building th-lift-instances-0.1.11... Installed th-lift-instances-0.1.11 Configuring parsers-0.12.9... Building parsers-0.12.9... Installed distributed-closure-0.4.0 Configuring th-orphans-0.13.6... Building th-orphans-0.13.6... Installed parsers-0.12.9 Configuring inline-c-0.6.1.0... Building inline-c-0.6.1.0... Installed th-orphans-0.13.6 Configuring th-desugar-1.8... Building th-desugar-1.8... Installed inline-c-0.6.1.0 Installed th-desugar-1.8 Configuring singletons-2.4.1... Building singletons-2.4.1... Installed singletons-2.4.1 Configuring jni-0.6.1... Failed to install jni-0.6.1 Build log ( /home/builder/.cabal/logs/ghc-8.4.3/jni-0.6.1-1n3kXszMlif6x2jgPrKJd7.log ): cabal: Entering directory '/tmp/cabal-tmp-16658/jni-0.6.1' Configuring jni-0.6.1... cabal: Missing dependency on a foreign library: * Missing (or bad) 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.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-16658/jni-0.6.1' cabal: Error: some packages failed to install: inline-java-0.8.4-6ETNoB5vJBYDLuizJgDz0w depends on inline-java-0.8.4 which failed to install. jni-0.6.1-1n3kXszMlif6x2jgPrKJd7 failed during the configure step. The exception was: ExitFailure 1 jvm-0.4.2-2csYxv8cKKf8GpVS7d5U0A depends on jvm-0.4.2 which failed to install.