Resolving dependencies... Starting StateVar-1.2.2 Starting tagged-0.8.6.1 Starting indexed-traversable-0.1.2 Starting base-orphans-0.8.6 Building StateVar-1.2.2 Building indexed-traversable-0.1.2 Building tagged-0.8.6.1 Building base-orphans-0.8.6 Completed StateVar-1.2.2 Starting th-abstraction-0.4.3.0 Building th-abstraction-0.4.3.0 Completed tagged-0.8.6.1 Starting transformers-compat-0.7.2 Building transformers-compat-0.7.2 Completed indexed-traversable-0.1.2 Starting contravariant-1.5.5 Building contravariant-1.5.5 Completed base-orphans-0.8.6 Starting distributive-0.6.2.1 Building distributive-0.6.2.1 Completed th-abstraction-0.4.3.0 Completed contravariant-1.5.5 Completed transformers-compat-0.7.2 Completed distributive-0.6.2.1 Starting comonad-5.0.8 Building comonad-5.0.8 Completed comonad-5.0.8 Starting bifunctors-5.5.12 Building bifunctors-5.5.12 Completed bifunctors-5.5.12 Starting profunctors-5.6.2 Building profunctors-5.6.2 Completed profunctors-5.6.2 Starting notmuch-0.3.0.1 Failed to install notmuch-0.3.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/notmuch-0.3.0.1-17BUFqyU235CkXQhgKFNFx.log ): cabal: Entering directory '/tmp/cabal-tmp-3586/notmuch-0.3.0.1' Configuring notmuch-0.3.0.1... cabal: Missing dependencies on foreign libraries: * Missing (or bad) C libraries: notmuch, talloc This problem can usually be solved by installing the system packages that provide these libraries (you may need the "-dev" versions). If the libraries are already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where they are.If the library files do 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-3586/notmuch-0.3.0.1' cabal: Error: some packages failed to install: notmuch-0.3.0.1-17BUFqyU235CkXQhgKFNFx failed during the configure step. The exception was: ExitFailure 1