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.15... Building colour-2.3.4... Building safe-0.3.15... Installed safe-0.3.15 Configuring semigroups-0.18.3... Building semigroups-0.18.3... Installed semigroups-0.18.3 Configuring th-expand-syns-0.4.4.0... Installed colour-2.3.4 Configuring th-lift-0.7.7... Building th-expand-syns-0.4.4.0... Building th-lift-0.7.7... Installed th-expand-syns-0.4.4.0 Configuring transformers-compat-0.5.1.4... Building transformers-compat-0.5.1.4... Installed th-lift-0.7.7 Configuring charset-0.3.7.1... Building charset-0.3.7.1... Installed transformers-compat-0.5.1.4 Configuring ansi-terminal-0.7.1.1... Building ansi-terminal-0.7.1.1... Installed charset-0.3.7.1 Configuring th-reify-many-0.1.8... Installed ansi-terminal-0.7.1.1 Configuring th-lift-instances-0.1.11... Building th-reify-many-0.1.8... Building th-lift-instances-0.1.11... Installed th-reify-many-0.1.8 Configuring constraints-0.9.1... Building constraints-0.9.1... Installed th-lift-instances-0.1.11 Configuring parsers-0.12.8... Building parsers-0.12.8... Installed constraints-0.9.1 Configuring ansi-wl-pprint-0.6.8.1... Building ansi-wl-pprint-0.6.8.1... Installed parsers-0.12.8 Configuring th-orphans-0.13.4... Building th-orphans-0.13.4... Installed ansi-wl-pprint-0.6.8.1 Configuring inline-c-0.6.0.5... Building inline-c-0.6.0.5... Installed th-orphans-0.13.4 Configuring th-desugar-1.7... 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.5.1... Failed to install jni-0.5.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/jni-0.5.1-GjZjRmVFOS87nKxZvOSsSJ.log ): cabal: Entering directory '/tmp/cabal-tmp-4600/jni-0.5.1' Configuring jni-0.5.1... 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-4600/jni-0.5.1' cabal: Error: some packages failed to install: jni-0.5.1-GjZjRmVFOS87nKxZvOSsSJ failed during the configure step. The exception was: ExitFailure 1