Resolving dependencies... Starting StateVar-1.2.2 Starting dlist-1.0 Starting base-orphans-0.8.6 Starting base-compat-0.12.1 Building StateVar-1.2.2 Building dlist-1.0 Building base-orphans-0.8.6 Building base-compat-0.12.1 Completed StateVar-1.2.2 Starting indexed-traversable-0.1.2 Building indexed-traversable-0.1.2 Completed dlist-1.0 Starting integer-logarithms-1.0.3.1 Building integer-logarithms-1.0.3.1 Completed base-orphans-0.8.6 Starting primitive-0.7.3.0 Completed integer-logarithms-1.0.3.1 Starting splitmix-0.1.0.4 Building primitive-0.7.3.0 Building splitmix-0.1.0.4 Completed base-compat-0.12.1 Starting tagged-0.8.6.1 Completed indexed-traversable-0.1.2 Starting th-abstraction-0.4.3.0 Building tagged-0.8.6.1 Building th-abstraction-0.4.3.0 Completed splitmix-0.1.0.4 Starting transformers-compat-0.7.1 Building transformers-compat-0.7.1 Completed tagged-0.8.6.1 Starting contravariant-1.5.5 Building contravariant-1.5.5 Completed th-abstraction-0.4.3.0 Starting hashable-1.4.0.1 Building hashable-1.4.0.1 Completed transformers-compat-0.7.1 Starting random-1.2.1 Building random-1.2.1 Completed contravariant-1.5.5 Starting distributive-0.6.2.1 Building distributive-0.6.2.1 Completed distributive-0.6.2.1 Starting comonad-5.0.8 Completed hashable-1.4.0.1 Starting unordered-containers-0.2.15.0 Building comonad-5.0.8 Building unordered-containers-0.2.15.0 Completed primitive-0.7.3.0 Starting time-compat-1.9.6.1 Building time-compat-1.9.6.1 Completed comonad-5.0.8 Starting text-short-0.1.4 Building text-short-0.1.4 Completed random-1.2.1 Starting data-fix-0.3.2 Building data-fix-0.3.2 Completed time-compat-1.9.6.1 Starting OneTuple-0.3.1 Building OneTuple-0.3.1 Completed data-fix-0.3.2 Starting vector-0.12.3.1 Completed text-short-0.1.4 Starting scientific-0.3.7.0 Building vector-0.12.3.1 Building scientific-0.3.7.0 Completed OneTuple-0.3.1 Starting bifunctors-5.5.11 Building bifunctors-5.5.11 Completed unordered-containers-0.2.15.0 Starting uuid-types-1.0.5 Building uuid-types-1.0.5 Completed scientific-0.3.7.0 Starting base-compat-batteries-0.12.1 Building base-compat-batteries-0.12.1 Completed uuid-types-1.0.5 Starting attoparsec-0.14.2 Building attoparsec-0.14.2 Completed base-compat-batteries-0.12.1 Completed bifunctors-5.5.11 Starting assoc-1.0.2 Starting semigroupoids-5.3.6 Building assoc-1.0.2 Building semigroupoids-5.3.6 Completed assoc-1.0.2 Starting these-1.1.1.1 Completed attoparsec-0.14.2 Building these-1.1.1.1 Completed these-1.1.1.1 Starting strict-0.4.0.1 Building strict-0.4.0.1 Completed strict-0.4.0.1 Completed semigroupoids-5.3.6 Completed vector-0.12.3.1 Starting indexed-traversable-instances-0.1.1 Building indexed-traversable-instances-0.1.1 Completed indexed-traversable-instances-0.1.1 Starting witherable-0.4.2 Starting semialign-1.2.0.1 Building witherable-0.4.2 Building semialign-1.2.0.1 Completed semialign-1.2.0.1 Completed witherable-0.4.2 Starting aeson-2.0.2.0 Building aeson-2.0.2.0 Completed aeson-2.0.2.0 Starting hruby-0.4.0.0 Failed to install hruby-0.4.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/hruby-0.4.0.0-3ye8HsNxfW542UvH7QuXUV.log ): cabal: Entering directory '/tmp/cabal-tmp-5537/hruby-0.4.0.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-5537/hruby-0.4.0.0/dist/setup/setup.hs, /tmp/cabal-tmp-5537/hruby-0.4.0.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-5537/hruby-0.4.0.0/dist/setup/setup ... Configuring hruby-0.4.0.0... Warning: Could not find the ruby library. Ensure that it is present on your system (on Debian/Ubuntu, make sure you installed the ruby1.8-dev package). If you know it to be installed, please install hruby in the following way (example for nix): $ cabal install hruby -p --configure-option="--rubyversion=19 --rubylib=ruby --rubyinc=/nix/store/v0w14mdpcy9c0qwvhqa7154qsv53ifqn-ruby-1.9.3-p484/include/ruby-1.9.1 --rubyinc=/nix/store/v0w14mdpcy9c0qwvhqa7154qsv53ifqn-ruby-1.9.3-p484/include/ruby-1.9.1/x86_64-linux' --extra-lib-dirs=$HOME/.nix-profile/lib/" --rubylib : Should be the name of the library passed to the linker (ruby for libruby.so). --rubyinc : There can be several instances of this flag. Should be the path of the various ruby header files. --rubyversion : Mandatory for ruby 2.0 and 2.1, should have the values 20 or 21. setup: Missing dependency on a foreign library: * Missing (or bad) header file: ruby.h * Missing (or bad) C library: ruby 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-5537/hruby-0.4.0.0' cabal: Error: some packages failed to install: hruby-0.4.0.0-3ye8HsNxfW542UvH7QuXUV failed during the configure step. The exception was: ExitFailure 1