Resolving dependencies... Configuring ansi-terminal-0.6.2.3... Configuring base-orphans-0.5.4... Building ansi-terminal-0.6.2.3... Building base-orphans-0.5.4... Installed base-orphans-0.5.4 Configuring byteable-0.1.1... Building byteable-0.1.1... Installed ansi-terminal-0.6.2.3 Configuring mtl-2.2.1... Configuring foundation-0.0.2... Installed byteable-0.1.1 Building mtl-2.2.1... Building foundation-0.0.2... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring random-1.1... Installed primitive-0.6.1.0 Building random-1.1... Configuring safe-0.3.10... Installed random-1.1 Building safe-0.3.10... Installed safe-0.3.10 Configuring semigroups-0.18.2... Building semigroups-0.18.2... Configuring syb-0.6... Installed semigroups-0.18.2 Building syb-0.6... Configuring text-1.2.2.1... Installed syb-0.6 Building text-1.2.2.1... Configuring th-lift-0.7.6... Installed foundation-0.0.2 Building th-lift-0.7.6... Configuring thread-local-storage-0.1.0.4... Installed th-lift-0.7.6 Building thread-local-storage-0.1.0.4... Installed thread-local-storage-0.1.0.4 Configuring ansi-wl-pprint-0.6.7.3... Configuring vector-0.11.0.0... Installed text-1.2.2.1 Building ansi-wl-pprint-0.6.7.3... Building vector-0.11.0.0... Configuring tf-random-0.5... Installed ansi-wl-pprint-0.6.7.3 Building tf-random-0.5... Configuring th-expand-syns-0.4.1.0... Installed tf-random-0.5 Building th-expand-syns-0.4.1.0... Configuring memory-0.14... Installed th-expand-syns-0.4.1.0 Building memory-0.14... Installed memory-0.14 Configuring hashable-1.2.4.0... Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring parsec-3.1.11... Building parsec-3.1.11... Configuring th-reify-many-0.1.6... Installed vector-0.11.0.0 Building th-reify-many-0.1.6... Configuring QuickCheck-2.9.2... Installed parsec-3.1.11 Building QuickCheck-2.9.2... Installed th-reify-many-0.1.6 Configuring cryptonite-0.21... Building cryptonite-0.21... Installed QuickCheck-2.9.2 Configuring unordered-containers-0.2.7.2... Building unordered-containers-0.2.7.2... Configuring scientific-0.3.4.9... Installed unordered-containers-0.2.7.2 Building scientific-0.3.4.9... Configuring th-lift-instances-0.1.11... Installed scientific-0.3.4.9 Building th-lift-instances-0.1.11... Installed th-lift-instances-0.1.11 Configuring charset-0.3.7.1... Building charset-0.3.7.1... Configuring attoparsec-0.13.1.0... Installed cryptonite-0.21 Building attoparsec-0.13.1.0... Configuring th-orphans-0.13.3... Installed charset-0.3.7.1 Building th-orphans-0.13.3... Installed attoparsec-0.13.1.0 Configuring cryptohash-0.11.9... Configuring parsers-0.12.4... Installed th-orphans-0.13.3 Building cryptohash-0.11.9... Building parsers-0.12.4... Configuring th-desugar-1.6... Installed cryptohash-0.11.9 Building th-desugar-1.6... Installed parsers-0.12.4 Configuring inline-c-0.5.5.9... Building inline-c-0.5.5.9... Installed th-desugar-1.6 Configuring singletons-2.2... Building singletons-2.2... Installed inline-c-0.5.5.9 Installed singletons-2.2 Downloading jni-0.2.2... Configuring jni-0.2.2... Failed to install jni-0.2.2 Build log ( /home/builder/.cabal/logs/jni-0.2.2.log ): cabal: Entering directory '/tmp/cabal-tmp-2585/jni-0.2.2' Configuring jni-0.2.2... 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-2585/jni-0.2.2' cabal: Error: some packages failed to install: jni-0.2.2 failed during the configure step. The exception was: ExitFailure 1