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-orphans-0.8 Starting cabal-doctest-1.0.6 Starting blaze-builder-0.4.1.0 Building base-orphans-0.8 Building StateVar-1.1.1.1 Building blaze-builder-0.4.1.0 Building cabal-doctest-1.0.6 Completed base-orphans-0.8 Starting call-stack-0.1.0 Completed StateVar-1.1.1.1 Starting cereal-0.5.7.0 Building call-stack-0.1.0 Building cereal-0.5.7.0 Completed cabal-doctest-1.0.6 Starting composition-prelude-2.0.2.1 Completed call-stack-0.1.0 Starting data-default-class-0.1.2.0 Building composition-prelude-2.0.2.1 Completed blaze-builder-0.4.1.0 Starting dlist-0.8.0.5 Building data-default-class-0.1.2.0 Building dlist-0.8.0.5 Completed composition-prelude-2.0.2.1 Starting extensible-exceptions-0.1.1.4 Completed data-default-class-0.1.2.0 Building extensible-exceptions-0.1.1.4 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed extensible-exceptions-0.1.1.4 Starting integer-logarithms-1.0.2.2 Completed dlist-0.8.0.5 Starting network-2.8.0.0 Building integer-logarithms-1.0.2.2 Completed integer-logarithms-1.0.2.2 Starting old-locale-1.0.0.7 Completed cereal-0.5.7.0 Starting parallel-3.2.2.0 Building old-locale-1.0.0.7 Completed hashable-1.2.7.0 Starting primitive-0.6.4.0 Building parallel-3.2.2.0 Building network-2.8.0.0 Building primitive-0.6.4.0 Completed old-locale-1.0.0.7 Starting random-1.1 Building random-1.1 Completed parallel-3.2.2.0 Starting reflection-2.1.4 Building reflection-2.1.4 Completed random-1.1 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting setlocale-1.0.0.8 Building setlocale-1.0.0.8 Completed reflection-2.1.4 Starting split-0.2.3.3 Completed setlocale-1.0.0.8 Starting tagged-0.8.6 Building split-0.2.3.3 Building tagged-0.8.6 Completed network-2.8.0.0 Starting th-abstraction-0.2.10.0 Building th-abstraction-0.2.10.0 Completed split-0.2.3.3 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed tagged-0.8.6 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed primitive-0.6.4.0 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed th-abstraction-0.2.10.0 Starting void-0.7.2 Completed unliftio-core-0.1.2.0 Starting xml-types-0.3.6 Completed transformers-compat-0.6.2 Starting zlib-0.6.2 Building void-0.7.2 Building xml-types-0.3.6 Building zlib-0.6.2 Completed void-0.7.2 Starting contravariant-1.5 Building contravariant-1.5 Completed utf8-string-1.0.1.1 Starting blaze-markup-0.8.2.2 Building blaze-markup-0.8.2.2 Completed xml-types-0.3.6 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed contravariant-1.5 Starting alsa-core-0.5.0.1 Failed to install alsa-core-0.5.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/alsa-core-0.5.0.1-5E1EqcYL2GWHtTsacKmWBR.log ): cabal: Entering directory '/tmp/cabal-tmp-24796/alsa-core-0.5.0.1' Configuring alsa-core-0.5.0.1... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: alsa/asoundlib.h * Missing (or bad) C library: asound 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-24796/alsa-core-0.5.0.1' Starting data-default-instances-dlist-0.0.1 Completed data-default-instances-containers-0.0.1 Building data-default-instances-dlist-0.0.1 Completed zlib-0.6.2 Completed blaze-markup-0.8.2.2 Completed data-default-instances-dlist-0.0.1 cabal: Error: some packages failed to install: alsa-core-0.5.0.1-5E1EqcYL2GWHtTsacKmWBR failed during the configure step. The exception was: ExitFailure 1 alsa-mixer-0.3.0-BuC9fxPvOeO50fWjIji5Rg depends on alsa-mixer-0.3.0 which failed to install. xmonad-vanessa-2.1.0.1-DM792FYZSo0GLeQqva6lbm depends on xmonad-vanessa-2.1.0.1 which failed to install. xmonad-volume-0.1.1.0-7LZ1KsO0VgH7Qu2UG5USRA depends on xmonad-volume-0.1.1.0 which failed to install.