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 auto-update-0.1.4.1 Starting appar-0.1.8 Starting base-compat-0.10.5 Building auto-update-0.1.4.1 Building StateVar-1.2 Building appar-0.1.8 Building base-compat-0.10.5 Completed appar-0.1.8 Starting base-orphans-0.8.1 Completed StateVar-1.2 Starting base64-bytestring-1.0.0.2 Completed auto-update-0.1.4.1 Starting basement-0.0.10 Building base-orphans-0.8.1 Building base64-bytestring-1.0.0.2 Building basement-0.0.10 Completed base-orphans-0.8.1 Starting blaze-builder-0.4.1.0 Building blaze-builder-0.4.1.0 Completed base64-bytestring-1.0.0.2 Starting bsb-http-chunked-0.0.0.4 Building bsb-http-chunked-0.0.0.4 Completed base-compat-0.10.5 Starting byteorder-1.0.4 Building byteorder-1.0.4 Completed bsb-http-chunked-0.0.0.4 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 byteorder-1.0.4 Starting colour-2.3.5 Building call-stack-0.1.0 Building colour-2.3.5 Completed call-stack-0.1.0 Starting data-default-class-0.1.2.0 Completed cabal-doctest-1.0.6 Starting dlist-0.8.0.6 Building data-default-class-0.1.2.0 Building dlist-0.8.0.6 Completed data-default-class-0.1.2.0 Starting easy-file-0.2.2 Building easy-file-0.2.2 Completed dlist-0.8.0.6 Starting file-embed-0.0.11 Building file-embed-0.0.11 Completed easy-file-0.2.2 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed colour-2.3.5 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed file-embed-0.0.11 Starting lzma-0.0.0.3 Failed to install lzma-0.0.0.3 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/lzma-0.0.0.3-DxDSAdutXxX4qHbGPLhqtk.log ): cabal: Entering directory '/tmp/cabal-tmp-14130/lzma-0.0.0.3' Configuring lzma-0.0.0.3... cabal: Missing dependency on a foreign library: * Missing (or bad) header file: lzma.h * Missing (or bad) C library: lzma 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-14130/lzma-0.0.0.3' Starting mime-types-0.1.0.9 Building mime-types-0.1.0.9 Completed integer-logarithms-1.0.3 Completed hashable-1.2.7.0 Completed mime-types-0.1.0.9 Completed basement-0.0.10 cabal: Error: some packages failed to install: file-embed-lzma-0-FzYjkpkmXxZKfwsnP59XE6 depends on file-embed-lzma-0 which failed to install. lzma-0.0.0.3-DxDSAdutXxX4qHbGPLhqtk failed during the configure step. The exception was: ExitFailure 1 servant-swagger-ui-redoc-0.3.3.1.22.2-1tP3zeIaa4lEUJSM93mkm7 depends on servant-swagger-ui-redoc-0.3.3.1.22.2 which failed to install.