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 appar-0.1.8 Starting base16-bytestring-0.1.1.6 Starting base-orphans-0.8.2 Building StateVar-1.2 Building appar-0.1.8 Building base-orphans-0.8.2 Building base16-bytestring-0.1.1.6 Completed base16-bytestring-0.1.1.6 Starting binary-bits-0.5 Completed appar-0.1.8 Starting byteorder-1.0.4 Completed StateVar-1.2 Starting cabal-doctest-1.0.8 Building binary-bits-0.5 Building byteorder-1.0.4 Building cabal-doctest-1.0.8 Completed byteorder-1.0.4 Starting clock-0.8 Building clock-0.8 Completed base-orphans-0.8.2 Starting data-binary-ieee754-0.4.4 Completed binary-bits-0.5 Starting data-default-class-0.1.2.0 Building data-binary-ieee754-0.4.4 Completed cabal-doctest-1.0.8 Starting entropy-0.4.1.5 Building data-default-class-0.1.2.0 Completed data-binary-ieee754-0.4.4 Starting exceptions-0.10.4 Completed clock-0.8 Starting hashable-1.3.0.0 Building exceptions-0.10.4 Completed data-default-class-0.1.2.0 Building hashable-1.3.0.0 Starting haskell-src-exts-1.23.0 Building haskell-src-exts-1.23.0 Building entropy-0.4.1.5 Completed entropy-0.4.1.5 Starting integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting lens-family-core-2.1.0 Completed exceptions-0.10.4 Starting network-2.8.0.1 Building integer-logarithms-1.0.3 Building lens-family-core-2.1.0 Completed integer-logarithms-1.0.3 Starting primitive-0.7.0.1 Building primitive-0.7.0.1 Building network-2.8.0.1 Completed lens-family-core-2.1.0 Starting random-1.1 Building random-1.1 Completed random-1.1 Starting split-0.2.3.4 Building split-0.2.3.4 Completed split-0.2.3.4 Starting tagged-0.8.6 Building tagged-0.8.6 Completed network-2.8.0.1 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed primitive-0.7.0.1 Starting unliftio-core-0.2.0.1 Building unliftio-core-0.2.0.1 Completed unliftio-core-0.2.0.1 Starting zlib-0.6.2.1 Building zlib-0.6.2.1 Completed th-abstraction-0.3.2.0 Starting contravariant-1.5.2 Completed transformers-compat-0.6.5 Starting data-default-instances-base-0.1.0.1 Building contravariant-1.5.2 Building data-default-instances-base-0.1.0.1 Completed data-default-instances-base-0.1.0.1 Starting unordered-containers-0.2.10.0 Building unordered-containers-0.2.10.0 Completed contravariant-1.5.2 Starting async-2.2.2 Building async-2.2.2 Completed zlib-0.6.2.1 Starting lens-family-2.1.0 Building lens-family-2.1.0 Completed async-2.2.2 Starting splitmix-0.0.4 Building splitmix-0.0.4 Completed lens-family-2.1.0 Starting iproute-1.7.9 Building iproute-1.7.9 Completed splitmix-0.0.4 Starting distributive-0.6.1 Completed unordered-containers-0.2.10.0 Starting vector-0.12.1.2 Building distributive-0.6.1 Building vector-0.12.1.2 Completed iproute-1.7.9 Starting scientific-0.3.6.2 Completed distributive-0.6.1 Starting resourcet-1.2.3 Building scientific-0.3.6.2 Building resourcet-1.2.3 Completed resourcet-1.2.3 Starting transformers-base-0.4.5.2 Completed scientific-0.3.6.2 Starting MonadRandom-0.5.1.2 Building transformers-base-0.4.5.2 Building MonadRandom-0.5.1.2 Completed transformers-base-0.4.5.2 Starting typed-process-0.2.6.0 Building typed-process-0.2.6.0 Completed MonadRandom-0.5.1.2 Starting streaming-commons-0.2.1.2 Building streaming-commons-0.2.1.2 Completed typed-process-0.2.6.0 Starting QuickCheck-2.14 Building QuickCheck-2.14 Completed streaming-commons-0.2.1.2 Starting comonad-5.0.6 Building comonad-5.0.6 Completed comonad-5.0.6 Starting attoparsec-0.13.2.4 Building attoparsec-0.13.2.4 Completed QuickCheck-2.14 Starting monad-control-1.0.2.3 Completed vector-0.12.1.2 Starting bifunctors-5.5.7 Building monad-control-1.0.2.3 Building bifunctors-5.5.7 Completed attoparsec-0.13.2.4 Starting vector-algorithms-0.8.0.3 Completed monad-control-1.0.2.3 Starting msgpack-types-0.0.4 Building vector-algorithms-0.8.0.3 Building msgpack-types-0.0.4 Completed msgpack-types-0.0.4 Completed bifunctors-5.5.7 Starting profunctors-5.5.2 Building profunctors-5.5.2 Completed vector-algorithms-0.8.0.3 Starting mono-traversable-1.0.15.1 Building mono-traversable-1.0.15.1 Completed profunctors-5.5.2 Starting saltine-0.0.1.0 Failed to install saltine-0.0.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/saltine-0.0.1.0-F9pXmXxkDzT7RdroTV3UE.log ): cabal: Entering directory '/tmp/cabal-tmp-11213/saltine-0.0.1.0' Configuring saltine-0.0.1.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: sodium 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. cabal: Leaving directory '/tmp/cabal-tmp-11213/saltine-0.0.1.0' Completed mono-traversable-1.0.15.1 Completed haskell-src-exts-1.23.0 cabal: Error: some packages failed to install: saltine-0.0.1.0-F9pXmXxkDzT7RdroTV3UE failed during the configure step. The exception was: ExitFailure 1 toxcore-0.2.11-8UeObZtzCpo2keQoWJXjJw depends on toxcore-0.2.11 which failed to install.