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.2 Starting base16-bytestring-0.1.1.6 Starting base-orphans-0.8.2 Starting base-compat-0.11.1 Building StateVar-1.2 Building base16-bytestring-0.1.1.6 Building base-orphans-0.8.2 Building base-compat-0.11.1 Completed base16-bytestring-0.1.1.6 Starting base64-bytestring-1.0.0.3 Completed StateVar-1.2 Starting basement-0.0.11 Building base64-bytestring-1.0.0.3 Building basement-0.0.11 Completed base-orphans-0.8.2 Starting blaze-builder-0.4.1.0 Completed base64-bytestring-1.0.0.3 Starting cabal-doctest-1.0.8 Building blaze-builder-0.4.1.0 Building cabal-doctest-1.0.8 Completed base-compat-0.11.1 Starting call-stack-0.2.0 Completed cabal-doctest-1.0.8 Starting clock-0.8 Completed blaze-builder-0.4.1.0 Starting colour-2.3.5 Building call-stack-0.2.0 Building clock-0.8 Building colour-2.3.5 Completed call-stack-0.2.0 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed clock-0.8 Starting dec-0.0.3 Building dec-0.0.3 Completed data-default-class-0.1.2.0 Starting dlist-0.8.0.7 Building dlist-0.8.0.7 Completed dec-0.0.3 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed dlist-0.8.0.7 Starting hashable-1.3.0.0 Building hashable-1.3.0.0 Completed colour-2.3.5 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed exceptions-0.10.4 Starting mime-types-0.1.0.9 Building mime-types-0.1.0.9 Completed integer-logarithms-1.0.3 Starting mtl-compat-0.2.2 Building mtl-compat-0.2.2 Completed mtl-compat-0.2.2 Starting network-3.1.1.1 Completed hashable-1.3.0.0 Starting network-uri-2.6.1.0 Building network-uri-2.6.1.0 Building network-3.1.1.1 Completed network-uri-2.6.1.0 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed mime-types-0.1.0.9 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed old-locale-1.0.0.7 Starting parser-combinators-1.2.1 Building parser-combinators-1.2.1 Completed parallel-3.2.2.0 Starting primitive-0.7.0.0 Building primitive-0.7.0.0 Completed parser-combinators-1.2.1 Starting random-1.1 Building random-1.1 Completed network-3.1.1.1 Starting reflection-2.1.5 Building reflection-2.1.5 Completed random-1.1 Starting regex-base-0.94.0.0 Building regex-base-0.94.0.0 Completed regex-base-0.94.0.0 Starting safe-0.3.18 Building safe-0.3.18 Completed reflection-2.1.5 Starting semigroups-0.19.1 Building semigroups-0.19.1 Completed semigroups-0.19.1 Starting split-0.2.3.3 Building split-0.2.3.3 Completed safe-0.3.18 Starting strict-0.3.2 Completed primitive-0.7.0.0 Starting tagged-0.8.6 Building strict-0.3.2 Building tagged-0.8.6 Completed basement-0.0.11 Starting th-abstraction-0.3.1.0 Completed split-0.2.3.3 Starting transformers-compat-0.6.5 Building th-abstraction-0.3.1.0 Building transformers-compat-0.6.5 Completed strict-0.3.2 Starting type-equality-1 Building type-equality-1 Completed tagged-0.8.6 Starting unix-compat-0.5.2 Completed type-equality-1 Starting unliftio-core-0.1.2.0 Building unix-compat-0.5.2 Building unliftio-core-0.1.2.0 Completed transformers-compat-0.6.5 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.3 Completed th-abstraction-0.3.1.0 Starting zlib-0.6.2.1 Completed unix-compat-0.5.2 Starting contravariant-1.5.2 Building void-0.7.3 Building zlib-0.6.2.1 Building contravariant-1.5.2 Completed void-0.7.3 Starting time-compat-1.9.2.2 Building time-compat-1.9.2.2 Completed utf8-string-1.0.1.1 Starting cookie-0.4.5 Completed contravariant-1.5.2 Starting singleton-bool-0.1.5 Building cookie-0.4.5 Building singleton-bool-0.1.5 Completed singleton-bool-0.1.5 Starting ansi-terminal-0.10.2 Completed zlib-0.6.2.1 Starting unordered-containers-0.2.10.0 Completed cookie-0.4.5 Starting case-insensitive-1.2.1.0 Building ansi-terminal-0.10.2 Completed time-compat-1.9.2.2 Starting async-2.2.2 Building unordered-containers-0.2.10.0 Building case-insensitive-1.2.1.0 Building async-2.2.2 Completed case-insensitive-1.2.1.0 Starting network-bsd-2.8.1.0 Building network-bsd-2.8.1.0 Completed async-2.2.2 Starting uuid-types-1.0.3 Completed ansi-terminal-0.10.2 Starting splitmix-0.0.3 Building uuid-types-1.0.3 Building splitmix-0.0.3 Completed network-bsd-2.8.1.0 Starting operational-0.2.3.5 Completed splitmix-0.0.3 Building operational-0.2.3.5 Starting regex-pcre-builtin-0.95.1.1.8.43 Completed uuid-types-1.0.3 Starting vector-0.12.0.3 Building regex-pcre-builtin-0.95.1.1.8.43 Building vector-0.12.0.3 Completed operational-0.2.3.5 Starting scientific-0.3.6.2 Completed unordered-containers-0.2.10.0 Starting memory-0.15.0 Building scientific-0.3.6.2 Building memory-0.15.0 Completed scientific-0.3.6.2 Starting distributive-0.6.1 Building distributive-0.6.1 Completed distributive-0.6.1 Starting transformers-base-0.4.5.2 Completed memory-0.15.0 Starting mmorph-1.1.3 Building transformers-base-0.4.5.2 Completed regex-pcre-builtin-0.95.1.1.8.43 Starting constraints-0.11.2 Building mmorph-1.1.3 Building constraints-0.11.2 Completed transformers-base-0.4.5.2 Starting Glob-0.10.0 Building Glob-0.10.0 Completed mmorph-1.1.3 Starting resourcet-1.2.2 Building resourcet-1.2.2 Completed Glob-0.10.0 Starting string-conversions-0.4.0.1 Completed resourcet-1.2.2 Starting http-types-0.12.3 Building string-conversions-0.4.0.1 Building http-types-0.12.3 Completed constraints-0.11.2 Starting http-media-0.8.0.0 Building http-media-0.8.0.0 Completed string-conversions-0.4.0.1 Starting streaming-commons-0.2.1.2 Building streaming-commons-0.2.1.2 Completed http-types-0.12.3 Starting protolude-0.2.4 Completed http-media-0.8.0.0 Starting hinotify-0.4 Building protolude-0.2.4 Building hinotify-0.4 Completed hinotify-0.4 Starting ansi-wl-pprint-0.6.9 Building ansi-wl-pprint-0.6.9 Completed streaming-commons-0.2.1.2 Starting hslogger-1.3.1.0 Completed vector-0.12.0.3 Starting QuickCheck-2.13.2 Building hslogger-1.3.1.0 Building QuickCheck-2.13.2 Completed ansi-wl-pprint-0.6.9 Starting vault-0.3.1.3 Building vault-0.3.1.3 Completed protolude-0.2.4 Starting megaparsec-8.0.0 Completed vault-0.3.1.3 Starting formatting-6.3.7 Completed hslogger-1.3.1.0 Starting attoparsec-0.13.2.3 Building megaparsec-8.0.0 Building formatting-6.3.7 Building attoparsec-0.13.2.3 Completed formatting-6.3.7 Starting comonad-5.0.6 Building comonad-5.0.6 Completed attoparsec-0.13.2.3 Starting cryptonite-0.26 Building cryptonite-0.26 Completed megaparsec-8.0.0 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed comonad-5.0.6 Starting http-client-0.6.4 Building http-client-0.6.4 Completed monad-control-1.0.2.3 Starting vector-algorithms-0.8.0.3 Building vector-algorithms-0.8.0.3 Completed QuickCheck-2.13.2 Starting optparse-applicative-0.15.1.0 Building optparse-applicative-0.15.1.0 Completed optparse-applicative-0.15.1.0 Starting pcre-utils-0.1.8.1.1 Completed http-client-0.6.4 Starting attoparsec-iso8601-1.0.1.0 Building pcre-utils-0.1.8.1.1 Building attoparsec-iso8601-1.0.1.0 Completed vector-algorithms-0.8.0.3 Starting aeson-1.4.6.0 Building aeson-1.4.6.0 Completed pcre-utils-0.1.8.1.1 Starting bifunctors-5.5.7 Completed attoparsec-iso8601-1.0.1.0 Starting lifted-base-0.2.3.12 Building bifunctors-5.5.7 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting mono-traversable-1.0.15.1 Building mono-traversable-1.0.15.1 Completed bifunctors-5.5.7 Starting http-api-data-0.4.1.1 Building http-api-data-0.4.1.1 Completed http-api-data-0.4.1.1 Starting lifted-async-0.10.0.4 Building lifted-async-0.10.0.4 Completed lifted-async-0.10.0.4 Starting enclosed-exceptions-1.0.3 Completed mono-traversable-1.0.15.1 Starting semigroupoids-5.3.4 Building enclosed-exceptions-1.0.3 Completed enclosed-exceptions-1.0.3 Starting profunctors-5.5.1 Building profunctors-5.5.1 Building semigroupoids-5.3.4 Completed aeson-1.4.6.0 Starting conduit-1.3.1.2 Building conduit-1.3.1.2 Completed profunctors-5.5.1 Starting shelly-1.9.0 Building shelly-1.9.0 Completed semigroupoids-5.3.4 Starting servant-0.17 Building servant-0.17 Completed shelly-1.9.0 Starting hruby-0.3.8 Completed conduit-1.3.1.2 Starting invariant-0.5.3 Building invariant-0.5.3 Completed servant-0.17 Starting free-5.1.3 Completed cryptonite-0.26 Starting fsnotify-0.3.0.1 Failed to install hruby-0.3.8 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hruby-0.3.8-EgpmLnGnXzkB8ODtL0X88V.log ): cabal: Entering directory '/tmp/cabal-tmp-15629/hruby-0.3.8' [1 of 1] Compiling Main ( /tmp/cabal-tmp-15629/hruby-0.3.8/dist/setup/setup.hs, /tmp/cabal-tmp-15629/hruby-0.3.8/dist/setup/Main.o ) Linking /tmp/cabal-tmp-15629/hruby-0.3.8/dist/setup/setup ... Configuring hruby-0.3.8... 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-15629/hruby-0.3.8' Starting libyaml-0.1.1.1 Building free-5.1.3 Building fsnotify-0.3.0.1 Building libyaml-0.1.1.1 Completed fsnotify-0.3.0.1 Completed invariant-0.5.3 Completed libyaml-0.1.1.1 Completed free-5.1.3 cabal: Error: some packages failed to install: hruby-0.3.8-EgpmLnGnXzkB8ODtL0X88V failed during the configure step. The exception was: ExitFailure 1 language-puppet-1.4.6.2-HW814SPJ5A93sYZq2I2h5d depends on language-puppet-1.4.6.2 which failed to install.