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... Warning: The following packages are likely to be broken by the reinstalls: Cabal-2.4.0.1 libiserv-8.6.1 ghci-8.6.1 ghc-8.6.1 ghc-boot-8.6.1 Continuing even though the plan contains dangerous reinstalls. Starting StateVar-1.1.1.1 Starting base-compat-0.10.5 Building StateVar-1.1.1.1 Building base-compat-0.10.5 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.1 Completed base16-bytestring-0.1.1.6 Starting basement-0.0.8 Building base64-bytestring-1.0.0.1 Building basement-0.0.8 Completed base64-bytestring-1.0.0.1 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 containers-0.5.11.0 Building containers-0.5.11.0 Completed basement-0.0.8 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 integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting mtl-compat-0.2.1.3 Building mtl-compat-0.2.1.3 Completed mtl-compat-0.2.1.3 Starting natural-transformation-0.4 Building natural-transformation-0.4 Completed natural-transformation-0.4 Starting network-2.8.0.0 Building network-2.8.0.0 Completed containers-0.5.11.0 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting parser-combinators-1.0.0 Building parser-combinators-1.0.0 Completed parser-combinators-1.0.0 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed network-2.8.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 safe-0.3.17 Building safe-0.3.17 Completed primitive-0.6.4.0 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 tagged-0.8.6 Building tagged-0.8.6 Completed sop-core-0.4.0.0 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 Completed tagged-0.8.6 Starting unix-compat-0.5.1 Building transformers-compat-0.6.2 Building unix-compat-0.5.1 Completed unix-compat-0.5.1 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed transformers-compat-0.6.2 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 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 memory-0.14.18 Building memory-0.14.18 Completed ansi-terminal-0.8.2 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed th-abstraction-0.2.8.0 Starting regex-base-0.93.2 Building regex-base-0.93.2 Completed memory-0.14.18 Starting parallel-3.2.2.0 Building parallel-3.2.2.0 Completed regex-base-0.93.2 Starting binary-0.8.6.0 Building binary-0.8.6.0 Completed parallel-3.2.2.0 Starting hslogger-1.2.12 Building hslogger-1.2.12 Completed hslogger-1.2.12 Starting operational-0.2.3.5 Building operational-0.2.3.5 Completed binary-0.8.6.0 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 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 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 generics-sop-0.4.0.1 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed mmorph-1.1.2 Starting Glob-0.9.3 Building Glob-0.9.3 Completed exceptions-0.10.0 Starting ansi-wl-pprint-0.6.8.2 Building ansi-wl-pprint-0.6.8.2 Completed Glob-0.9.3 Starting cryptonite-0.25 Building cryptonite-0.25 Completed ansi-wl-pprint-0.6.8.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 text-1.2.3.1 Building text-1.2.3.1 Completed text-1.2.3.1 Starting QuickCheck-2.12.6.1 Building QuickCheck-2.12.6.1 Completed QuickCheck-2.12.6.1 Starting vector-algorithms-0.8.0.1 Completed cryptonite-0.25 Starting comonad-5.0.4 Building vector-algorithms-0.8.0.1 Building comonad-5.0.4 Completed comonad-5.0.4 Starting monad-control-1.0.2.3 Building monad-control-1.0.2.3 Completed vector-algorithms-0.8.0.1 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 system-filepath-0.4.14 Building system-filepath-0.4.14 Completed optparse-applicative-0.14.3.0 Starting string-conversions-0.4.0.1 Building string-conversions-0.4.0.1 Completed string-conversions-0.4.0.1 Starting parsec-3.1.13.0 Completed system-filepath-0.4.14 Starting mime-types-0.1.0.8 Building parsec-3.1.13.0 Building mime-types-0.1.0.8 Completed mime-types-0.1.0.8 Starting hashable-1.2.7.0 Completed parsec-3.1.13.0 Starting cookie-0.4.4 Building hashable-1.2.7.0 Building cookie-0.4.4 Completed cookie-0.4.4 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed hashable-1.2.7.0 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed blaze-builder-0.4.1.0 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed lifted-base-0.2.3.12 Starting system-fileio-0.3.16.4 Building system-fileio-0.3.16.4 Completed bifunctors-5.5.3 Starting network-uri-2.6.1.0 Completed system-fileio-0.3.16.4 Starting uuid-types-1.0.3 Building network-uri-2.6.1.0 Building uuid-types-1.0.3 Completed network-uri-2.6.1.0 Starting unordered-containers-0.2.9.0 Completed uuid-types-1.0.3 Starting scientific-0.3.6.2 Building unordered-containers-0.2.9.0 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting constraints-0.10.1 Building constraints-0.10.1 Completed unordered-containers-0.2.9.0 Starting case-insensitive-1.2.0.11 Building case-insensitive-1.2.0.11 Completed case-insensitive-1.2.0.11 Starting async-2.2.1 Completed constraints-0.10.1 Starting enclosed-exceptions-1.0.3 Building async-2.2.1 Building enclosed-exceptions-1.0.3 Completed enclosed-exceptions-1.0.3 Starting profunctors-5.3 Completed async-2.2.1 Starting formatting-6.3.6 Building profunctors-5.3 Building formatting-6.3.6 Completed formatting-6.3.6 Starting attoparsec-0.13.2.2 Building attoparsec-0.13.2.2 Completed profunctors-5.3 Starting vault-0.3.1.2 Building vault-0.3.1.2 Completed vault-0.3.1.2 Starting semigroupoids-5.3.1 Building semigroupoids-5.3.1 Completed attoparsec-0.13.2.2 Starting mono-traversable-1.0.9.0 Building mono-traversable-1.0.9.0 Completed semigroupoids-5.3.1 Starting megaparsec-7.0.3 Building megaparsec-7.0.3 Completed mono-traversable-1.0.9.0 Starting http-types-0.12.2 Building http-types-0.12.2 Completed http-types-0.12.2 Starting http-media-0.7.1.3 Building http-media-0.7.1.3 Completed megaparsec-7.0.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 streaming-commons-0.2.1.0 Starting lifted-async-0.10.0.3 Building lifted-async-0.10.0.3 Completed protolude-0.2.3 Starting hinotify-0.4 Building hinotify-0.4 Completed lifted-async-0.10.0.3 Starting invariant-0.5.1 Building invariant-0.5.1 Completed hinotify-0.4 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.1.0 Completed invariant-0.5.1 Starting free-5.1 Building aeson-1.4.1.0 Building free-5.1 Completed free-5.1 Starting conduit-1.3.1 Building conduit-1.3.1 Completed aeson-1.4.1.0 Starting http-client-0.5.13.1 Building http-client-0.5.13.1 Completed conduit-1.3.1 Starting shelly-1.8.1 Building shelly-1.8.1 Completed http-client-0.5.13.1 Starting http-api-data-0.3.10 Building http-api-data-0.3.10 Completed shelly-1.8.1 Starting adjunctions-4.4 Building adjunctions-4.4 Completed http-api-data-0.3.10 Starting hruby-0.3.6 Completed adjunctions-4.4 Starting yaml-0.10.4.0 Building yaml-0.10.4.0 Failed to install hruby-0.3.6 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/hruby-0.3.6-6q3eU3qN4Mw3mzahpUTfk4.log ): cabal: Entering directory '/tmp/cabal-tmp-2227/hruby-0.3.6' [1 of 1] Compiling Main ( /tmp/cabal-tmp-2227/hruby-0.3.6/dist/setup/setup.hs, /tmp/cabal-tmp-2227/hruby-0.3.6/dist/setup/Main.o ) Linking /tmp/cabal-tmp-2227/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-2227/hruby-0.3.6' Starting fsnotify-0.3.0.1 Building fsnotify-0.3.0.1 Completed fsnotify-0.3.0.1 Completed yaml-0.10.4.0 cabal: Error: some packages failed to install: hruby-0.3.6-6q3eU3qN4Mw3mzahpUTfk4 failed during the configure step. The exception was: ExitFailure 1 language-puppet-1.4.1-7W54Lng6GGlL1ZoxrMKm61 depends on language-puppet-1.4.1 which failed to install.