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 Building StateVar-1.1.1.1 Building base-orphans-0.8 Completed base-orphans-0.8 Starting cabal-doctest-1.0.6 Completed StateVar-1.1.1.1 Starting call-stack-0.1.0 Building cabal-doctest-1.0.6 Building call-stack-0.1.0 Completed call-stack-0.1.0 Starting cereal-0.5.7.0 Building cereal-0.5.7.0 Completed cabal-doctest-1.0.6 Starting hashable-1.2.7.0 Building hashable-1.2.7.0 Completed hashable-1.2.7.0 Starting integer-logarithms-1.0.2.2 Building integer-logarithms-1.0.2.2 Completed cereal-0.5.7.0 Starting parallel-3.2.2.0 Completed integer-logarithms-1.0.2.2 Starting primitive-0.6.4.0 Building parallel-3.2.2.0 Building primitive-0.6.4.0 Completed parallel-3.2.2.0 Starting reflection-2.1.4 Building reflection-2.1.4 Completed reflection-2.1.4 Starting semigroups-0.18.5 Building semigroups-0.18.5 Completed semigroups-0.18.5 Starting tagged-0.8.6 Building tagged-0.8.6 Completed primitive-0.6.4.0 Starting th-abstraction-0.2.8.0 Building th-abstraction-0.2.8.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed th-abstraction-0.2.8.0 Starting void-0.7.2 Completed transformers-compat-0.6.2 Starting TypeCompose-0.9.14 Building void-0.7.2 Building TypeCompose-0.9.14 Completed void-0.7.2 Starting contravariant-1.5 Building contravariant-1.5 Completed contravariant-1.5 Starting unordered-containers-0.2.9.0 Completed TypeCompose-0.9.14 Starting vector-0.12.0.2 Building unordered-containers-0.2.9.0 Building vector-0.12.0.2 Completed unordered-containers-0.2.9.0 Starting scientific-0.3.6.2 Building scientific-0.3.6.2 Completed scientific-0.3.6.2 Starting distributive-0.6 Building distributive-0.6 Completed distributive-0.6 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed exceptions-0.10.0 Starting bytes-0.15.5 Building bytes-0.15.5 Completed vector-0.12.0.2 Starting comonad-5.0.4 Building comonad-5.0.4 Completed bytes-0.15.5 Starting vector-binary-instances-0.2.5.1 Completed comonad-5.0.4 Starting casadi-bindings-internal-0.1.6.1 Building vector-binary-instances-0.2.5.1 Failed to install casadi-bindings-internal-0.1.6.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/casadi-bindings-internal-0.1.6.1-CYkSsGfn8GIHDqlotb6bHf.log ): cabal: Entering directory '/tmp/cabal-tmp-9026/casadi-bindings-internal-0.1.6.1' Configuring casadi-bindings-internal-0.1.6.1... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: casadi 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-9026/casadi-bindings-internal-0.1.6.1' Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed vector-binary-instances-0.2.5.1 Completed bifunctors-5.5.3 cabal: Error: some packages failed to install: casadi-bindings-3.4.5.0-6vC2TLDQ4qKFbQCOsYxPPx depends on casadi-bindings-3.4.5.0 which failed to install. casadi-bindings-core-3.4.5.0-HgGlfp6CHQL3vr9kwvKhOE depends on casadi-bindings-core-3.4.5.0 which failed to install. casadi-bindings-internal-0.1.6.1-CYkSsGfn8GIHDqlotb6bHf failed during the configure step. The exception was: ExitFailure 1