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 hhwloc-0.2.1 Building hhwloc-0.2.1 Failed to install hhwloc-0.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hhwloc-0.2.1-XRZJb5qAVb10xZjcus3Ud.log ): cabal: Entering directory '/tmp/cabal-tmp-16835/hhwloc-0.2.1' [1 of 1] Compiling Main ( /tmp/cabal-tmp-16835/hhwloc-0.2.1/dist/setup/setup.hs, /tmp/cabal-tmp-16835/hhwloc-0.2.1/dist/setup/Main.o ) Linking /tmp/cabal-tmp-16835/hhwloc-0.2.1/dist/setup/setup ... Configuring hhwloc-0.2.1... autogen.sh: 9: autogen.sh: autoreconf: not found cabal: Leaving directory '/tmp/cabal-tmp-16835/hhwloc-0.2.1' cabal: Error: some packages failed to install: hhwloc-0.2.1-XRZJb5qAVb10xZjcus3Ud failed during the building phase. The exception was: ExitFailure 127