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 base16-bytestring-0.1.1.6 Starting base-orphans-0.8.1 Starting base-compat-0.10.5 Building StateVar-1.1.1.1 Building base16-bytestring-0.1.1.6 Building base-orphans-0.8.1 Building base-compat-0.10.5 Completed base-orphans-0.8.1 Starting base64-bytestring-1.0.0.2 Completed base16-bytestring-0.1.1.6 Starting basement-0.0.10 Completed StateVar-1.1.1.1 Starting blaze-builder-0.4.1.0 Building base64-bytestring-1.0.0.2 Building basement-0.0.10 Building blaze-builder-0.4.1.0 Completed base64-bytestring-1.0.0.2 Starting cabal-doctest-1.0.6 Building cabal-doctest-1.0.6 Completed blaze-builder-0.4.1.0 Starting call-stack-0.1.0 Completed base-compat-0.10.5 Starting clock-0.7.2 Building call-stack-0.1.0 Building clock-0.7.2 Completed cabal-doctest-1.0.6 Starting colour-2.3.4 Completed call-stack-0.1.0 Starting data-default-class-0.1.2.0 Building colour-2.3.4 Building data-default-class-0.1.2.0 Completed clock-0.7.2 Starting dlist-0.8.0.6 Building dlist-0.8.0.6 Completed data-default-class-0.1.2.0 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed dlist-0.8.0.6 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed hashable-1.2.7.0 Starting mime-types-0.1.0.9 Completed integer-logarithms-1.0.3 Starting mtl-compat-0.2.1.3 Building mime-types-0.1.0.9 Building mtl-compat-0.2.1.3 Completed colour-2.3.4 Starting natural-transformation-0.4 Completed mtl-compat-0.2.1.3 Starting network-2.8.0.0 Building natural-transformation-0.4 Completed natural-transformation-0.4 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Building network-2.8.0.0 Completed network-uri-2.6.1.0 Starting old-locale-1.0.0.7 Completed mime-types-0.1.0.9 Starting parallel-3.2.2.0 Building old-locale-1.0.0.7 Building parallel-3.2.2.0 Completed old-locale-1.0.0.7 Starting parser-combinators-1.0.2 Building parser-combinators-1.0.2 Completed parallel-3.2.2.0 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed parser-combinators-1.0.2 Starting random-1.1 Building random-1.1 Completed network-2.8.0.0 Starting reflection-2.1.4 Building reflection-2.1.4 Completed random-1.1 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed regex-base-0.93.2 Starting safe-0.3.17 Building safe-0.3.17 Completed reflection-2.1.4 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 Completed singleton-bool-0.1.4 Starting split-0.2.3.3 Completed primitive-0.6.4.0 Starting strict-0.3.2 Building sop-core-0.4.0.0 Building split-0.2.3.3 Building strict-0.3.2 Completed split-0.2.3.3 Starting system-filepath-0.4.14 Completed strict-0.3.2 Starting tagged-0.8.6 Completed basement-0.0.10 Starting th-abstraction-0.2.11.0 Building tagged-0.8.6 Building th-abstraction-0.2.11.0 Building system-filepath-0.4.14 Completed tagged-0.8.6 Starting time-locale-compat-0.1.1.5 Building time-locale-compat-0.1.1.5 Completed sop-core-0.4.0.0 Starting transformers-compat-0.6.4 Building transformers-compat-0.6.4 Completed time-locale-compat-0.1.1.5 Starting unix-compat-0.5.1 Completed th-abstraction-0.2.11.0 Starting unliftio-core-0.1.2.0 Building unix-compat-0.5.1 Building unliftio-core-0.1.2.0 Completed system-filepath-0.4.14 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed unliftio-core-0.1.2.0 Starting void-0.7.2 Completed unix-compat-0.5.1 Starting zlib-0.6.2 Building void-0.7.2 Completed transformers-compat-0.6.4 Starting contravariant-1.5 Building zlib-0.6.2 Building contravariant-1.5 Completed void-0.7.2 Starting cookie-0.4.4 Building cookie-0.4.4 Completed utf8-string-1.0.1.1 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed cookie-0.4.4 Starting case-insensitive-1.2.0.11 Completed contravariant-1.5 Starting async-2.2.1 Building case-insensitive-1.2.0.11 Building async-2.2.1 Completed zlib-0.6.2 Starting ansi-terminal-0.9 Completed case-insensitive-1.2.0.11 Starting hslogger-1.2.12 Building ansi-terminal-0.9 Building hslogger-1.2.12 Completed async-2.2.1 Starting uuid-types-1.0.3 Building uuid-types-1.0.3 Completed ansi-terminal-0.9 Starting splitmix-0.0.2 Completed hslogger-1.2.12 Starting operational-0.2.3.5 Completed uuid-types-1.0.3 Starting regex-pcre-builtin-0.94.4.8.8.35 Building splitmix-0.0.2 Building operational-0.2.3.5 Building regex-pcre-builtin-0.94.4.8.8.35 Completed splitmix-0.0.2 Starting vector-0.12.0.2 Completed unordered-containers-0.2.10.0 Starting scientific-0.3.6.2 Building vector-0.12.0.2 Building scientific-0.3.6.2 Completed operational-0.2.3.5 Starting memory-0.14.18 Building memory-0.14.18 Completed scientific-0.3.6.2 Starting distributive-0.6 Building distributive-0.6 Completed distributive-0.6 Starting generics-sop-0.4.0.1 Completed memory-0.14.18 Starting system-fileio-0.3.16.4 Building generics-sop-0.4.0.1 Completed regex-pcre-builtin-0.94.4.8.8.35 Starting transformers-base-0.4.5.2 Building system-fileio-0.3.16.4 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting mmorph-1.1.2 Completed system-fileio-0.3.16.4 Starting exceptions-0.10.1 Building mmorph-1.1.2 Building exceptions-0.10.1 Completed mmorph-1.1.2 Starting constraints-0.10.1 Building constraints-0.10.1 Completed exceptions-0.10.1 Starting Glob-0.10.0 Building Glob-0.10.0 Completed Glob-0.10.0 Starting string-conversions-0.4.0.1 Building string-conversions-0.4.0.1 Completed constraints-0.10.1 Starting http-types-0.12.3 Building http-types-0.12.3 Completed string-conversions-0.4.0.1 Starting http-media-0.7.1.3 Building http-media-0.7.1.3 Completed http-types-0.12.3 Starting streaming-commons-0.2.1.0 Completed http-media-0.7.1.3 Starting protolude-0.2.3 Building streaming-commons-0.2.1.0 Building protolude-0.2.3 Completed vector-0.12.0.2 Starting hinotify-0.4 Building hinotify-0.4 Completed hinotify-0.4 Starting ansi-wl-pprint-0.6.8.2 Building ansi-wl-pprint-0.6.8.2 Completed streaming-commons-0.2.1.0 Starting QuickCheck-2.13.1 Building QuickCheck-2.13.1 Completed ansi-wl-pprint-0.6.8.2 Starting vault-0.3.1.2 Building vault-0.3.1.2 Completed protolude-0.2.3 Starting megaparsec-7.0.4 Building megaparsec-7.0.4 Completed vault-0.3.1.2 Starting formatting-6.3.7 Building formatting-6.3.7 Completed generics-sop-0.4.0.1 Starting attoparsec-0.13.2.2 Completed formatting-6.3.7 Starting comonad-5.0.4 Building attoparsec-0.13.2.2 Building comonad-5.0.4 Completed megaparsec-7.0.4 Starting cryptonite-0.25 Building cryptonite-0.25 Completed comonad-5.0.4 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed attoparsec-0.13.2.2 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed monad-control-1.0.2.3 Starting vector-algorithms-0.8.0.1 Completed QuickCheck-2.13.1 Starting http-client-0.5.14 Building vector-algorithms-0.8.0.1 Building http-client-0.5.14 Completed resourcet-1.2.2 Starting optparse-applicative-0.14.3.0 Building optparse-applicative-0.14.3.0 Completed vector-algorithms-0.8.0.1 Starting bifunctors-5.5.3 Completed optparse-applicative-0.14.3.0 Starting pcre-utils-0.1.8.1.1 Building bifunctors-5.5.3 Building pcre-utils-0.1.8.1.1 Completed http-client-0.5.14 Starting attoparsec-iso8601-1.0.1.0 Building attoparsec-iso8601-1.0.1.0 Completed pcre-utils-0.1.8.1.1 Starting aeson-1.4.2.0 Building aeson-1.4.2.0 Completed attoparsec-iso8601-1.0.1.0 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting mono-traversable-1.0.11.0 Building mono-traversable-1.0.11.0 Completed bifunctors-5.5.3 Starting http-api-data-0.3.10 Building http-api-data-0.3.10 Completed http-api-data-0.3.10 Starting lifted-async-0.10.0.3 Building lifted-async-0.10.0.3 Completed lifted-async-0.10.0.3 Starting enclosed-exceptions-1.0.3 Building enclosed-exceptions-1.0.3 Completed enclosed-exceptions-1.0.3 Starting semigroupoids-5.3.2 Completed mono-traversable-1.0.11.0 Starting profunctors-5.3 Building profunctors-5.3 Building semigroupoids-5.3.2 Completed aeson-1.4.2.0 Starting shelly-1.8.1 Building shelly-1.8.1 Completed profunctors-5.3 Starting conduit-1.3.1.1 Building conduit-1.3.1.1 Completed semigroupoids-5.3.2 Starting servant-0.14.1 Completed shelly-1.8.1 Starting hruby-0.3.6 Building servant-0.14.1 Failed to install hruby-0.3.6 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hruby-0.3.6-Ez3Cu3VQA364H8wzl2UPb7.log ): cabal: Entering directory '/tmp/cabal-tmp-11360/hruby-0.3.6' [1 of 1] Compiling Main ( /tmp/cabal-tmp-11360/hruby-0.3.6/dist/setup/setup.hs, /tmp/cabal-tmp-11360/hruby-0.3.6/dist/setup/Main.o ) Linking /tmp/cabal-tmp-11360/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-11360/hruby-0.3.6' Starting invariant-0.5.1 Building invariant-0.5.1 Completed cryptonite-0.25 Completed servant-0.14.1 Completed invariant-0.5.1 Completed conduit-1.3.1.1 cabal: Error: some packages failed to install: hruby-0.3.6-Ez3Cu3VQA364H8wzl2UPb7 failed during the configure step. The exception was: ExitFailure 1 language-puppet-1.4.4-Fhu1WewxagPKS8BdMFlohd depends on language-puppet-1.4.4 which failed to install.