Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting StateVar-1.1.1.1 Starting base-compat-0.10.5 Building base-compat-0.10.5 Building StateVar-1.1.1.1 Completed StateVar-1.1.1.1 Starting base-orphans-0.8 Building base-orphans-0.8 Completed base-orphans-0.8 Starting base16-bytestring-0.1.1.6 Building base16-bytestring-0.1.1.6 Completed base-compat-0.10.5 Starting base64-bytestring-1.0.0.2 Completed base16-bytestring-0.1.1.6 Starting basement-0.0.8 Building base64-bytestring-1.0.0.2 Building basement-0.0.8 Completed base64-bytestring-1.0.0.2 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed blaze-builder-0.4.1.0 Starting cabal-doctest-1.0.6 Building cabal-doctest-1.0.6 Completed cabal-doctest-1.0.6 Starting call-stack-0.1.0 Building call-stack-0.1.0 Completed call-stack-0.1.0 Starting clock-0.7.2 Building clock-0.7.2 Completed clock-0.7.2 Starting colour-2.3.4 Building colour-2.3.4 Completed colour-2.3.4 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.5 Building dlist-0.8.0.5 Completed dlist-0.8.0.5 Starting erf-2.0.0.0 Building erf-2.0.0.0 Completed erf-2.0.0.0 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting mime-types-0.1.0.8 Building mime-types-0.1.0.8 Completed basement-0.0.8 Starting mtl-compat-0.2.1.3 Building mtl-compat-0.2.1.3 Completed mtl-compat-0.2.1.3 Starting network-2.8.0.0 Building network-2.8.0.0 Completed mime-types-0.1.0.8 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Completed network-uri-2.6.1.0 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed network-2.8.0.0 Starting parser-combinators-1.0.0 Building parser-combinators-1.0.0 Completed parallel-3.2.2.0 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed parser-combinators-1.0.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting reflection-2.1.4 Building reflection-2.1.4 Completed reflection-2.1.4 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed primitive-0.6.4.0 Starting safe-0.3.17 Building safe-0.3.17 Completed regex-base-0.93.2 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting singleton-bool-0.1.4 Building singleton-bool-0.1.4 Completed safe-0.3.17 Starting sop-core-0.4.0.0 Building sop-core-0.4.0.0 Completed singleton-bool-0.1.4 Starting split-0.2.3.3 Building split-0.2.3.3 Completed split-0.2.3.3 Starting strict-0.3.2 Building strict-0.3.2 Completed strict-0.3.2 Starting system-filepath-0.4.14 Completed sop-core-0.4.0.0 Starting tagged-0.8.6 Building tagged-0.8.6 Building system-filepath-0.4.14 Completed tagged-0.8.6 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed system-filepath-0.4.14 Starting time-locale-compat-0.1.1.5 Building time-locale-compat-0.1.1.5 Completed time-locale-compat-0.1.1.5 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed th-abstraction-0.2.8.0 Starting unix-compat-0.5.1 Building unix-compat-0.5.1 Completed transformers-compat-0.6.2 Starting unliftio-core-0.1.2.0 Completed unix-compat-0.5.1 Starting utf8-string-1.0.1.1 Building unliftio-core-0.1.2.0 Building utf8-string-1.0.1.1 Completed unliftio-core-0.1.2.0 Starting void-0.7.2 Building void-0.7.2 Completed void-0.7.2 Starting zlib-0.6.2 Building zlib-0.6.2 Completed utf8-string-1.0.1.1 Starting contravariant-1.5 Building contravariant-1.5 Completed contravariant-1.5 Starting ansi-terminal-0.8.2 Building ansi-terminal-0.8.2 Completed zlib-0.6.2 Starting cookie-0.4.4 Building cookie-0.4.4 Completed cookie-0.4.4 Starting unordered-containers-0.2.9.0 Completed ansi-terminal-0.8.2 Starting case-insensitive-1.2.0.11 Building unordered-containers-0.2.9.0 Building case-insensitive-1.2.0.11 Completed case-insensitive-1.2.0.11 Starting async-2.2.1 Building async-2.2.1 Completed async-2.2.1 Starting memory-0.14.18 Building memory-0.14.18 Completed unordered-containers-0.2.9.0 Starting hslogger-1.2.12 Building hslogger-1.2.12 Completed hslogger-1.2.12 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed memory-0.14.18 Starting operational-0.2.3.5 Building operational-0.2.3.5 Completed uuid-types-1.0.3 Starting vector-0.12.0.1 Building vector-0.12.0.1 Completed operational-0.2.3.5 Starting tf-random-0.5 Building tf-random-0.5 Completed tf-random-0.5 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting regex-pcre-builtin-0.94.4.8.8.35 Building regex-pcre-builtin-0.94.4.8.8.35 Completed regex-pcre-builtin-0.94.4.8.8.35 Starting generics-sop-0.4.0.1 Building generics-sop-0.4.0.1 Completed vector-0.12.0.1 Starting distributive-0.6 Building distributive-0.6 Completed distributive-0.6 Starting system-fileio-0.3.16.4 Building system-fileio-0.3.16.4 Completed system-fileio-0.3.16.4 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting mmorph-1.1.2 Building mmorph-1.1.2 Completed mmorph-1.1.2 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed exceptions-0.10.0 Starting constraints-0.10.1 Building constraints-0.10.1 Completed constraints-0.10.1 Starting Glob-0.9.3 Building Glob-0.9.3 Completed generics-sop-0.4.0.1 Starting string-conversions-0.4.0.1 Building string-conversions-0.4.0.1 Completed string-conversions-0.4.0.1 Starting ansi-wl-pprint-0.6.8.2 Completed Glob-0.9.3 Starting http-types-0.12.2 Building ansi-wl-pprint-0.6.8.2 Building http-types-0.12.2 Completed ansi-wl-pprint-0.6.8.2 Starting http-media-0.7.1.3 Building http-media-0.7.1.3 Completed http-types-0.12.2 Starting streaming-commons-0.2.1.0 Building streaming-commons-0.2.1.0 Completed http-media-0.7.1.3 Starting protolude-0.2.3 Building protolude-0.2.3 Completed streaming-commons-0.2.1.0 Starting hinotify-0.4 Building hinotify-0.4 Completed protolude-0.2.3 Starting vault-0.3.1.2 Completed hinotify-0.4 Starting cryptonite-0.25 Building vault-0.3.1.2 Building cryptonite-0.25 Completed vault-0.3.1.2 Starting QuickCheck-2.12.6.1 Building QuickCheck-2.12.6.1 Completed QuickCheck-2.12.6.1 Starting megaparsec-7.0.4 Building megaparsec-7.0.4 Completed megaparsec-7.0.4 Starting formatting-6.3.6 Building formatting-6.3.6 Completed formatting-6.3.6 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed attoparsec-0.13.2.2 Starting vector-algorithms-0.8.0.1 Building vector-algorithms-0.8.0.1 Completed cryptonite-0.25 Starting comonad-5.0.4 Building comonad-5.0.4 Completed vector-algorithms-0.8.0.1 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed comonad-5.0.4 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed monad-control-1.0.2.3 Starting optparse-applicative-0.14.3.0 Building optparse-applicative-0.14.3.0 Completed resourcet-1.2.2 Starting http-client-0.5.14 Building http-client-0.5.14 Completed optparse-applicative-0.14.3.0 Starting pcre-utils-0.1.8.1.1 Building pcre-utils-0.1.8.1.1 Completed pcre-utils-0.1.8.1.1 Starting attoparsec-iso8601-1.0.1.0 Building attoparsec-iso8601-1.0.1.0 Completed attoparsec-iso8601-1.0.1.0 Starting aeson-1.4.2.0 Completed http-client-0.5.14 Starting mono-traversable-1.0.9.0 Building aeson-1.4.2.0 Building mono-traversable-1.0.9.0 Completed mono-traversable-1.0.9.0 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed bifunctors-5.5.3 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed aeson-1.4.2.0 Starting http-api-data-0.4 Completed lifted-base-0.2.3.12 Starting conduit-1.3.1 Building http-api-data-0.4 Building conduit-1.3.1 Completed http-api-data-0.4 Starting semigroupoids-5.3.1 Building semigroupoids-5.3.1 Completed conduit-1.3.1 Starting profunctors-5.3 Building profunctors-5.3 Completed semigroupoids-5.3.1 Starting hruby-0.3.6 Failed to install hruby-0.3.6 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hruby-0.3.6-4IMg8RPnYrfHMG94swzksW.log ): cabal: Entering directory '/tmp/cabal-tmp-26847/hruby-0.3.6' [1 of 1] Compiling Main ( /tmp/cabal-tmp-26847/hruby-0.3.6/dist/setup/setup.hs, /tmp/cabal-tmp-26847/hruby-0.3.6/dist/setup/Main.o ) Linking /tmp/cabal-tmp-26847/hruby-0.3.6/dist/setup/setup ... Configuring hruby-0.3.6... 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-26847/hruby-0.3.6' Starting lifted-async-0.10.0.3 Building lifted-async-0.10.0.3 Completed profunctors-5.3 Completed lifted-async-0.10.0.3 cabal: Error: some packages failed to install: hruby-0.3.6-4IMg8RPnYrfHMG94swzksW failed during the configure step. The exception was: ExitFailure 1 language-puppet-1.4.2-G5H962oMsBqBGaUFxwCP72 depends on language-puppet-1.4.2 which failed to install.