Resolving dependencies... Configuring casadi-bindings-internal-0.1.3.1... cabal: The pkg-config package 'casadi' is required but it could not be found. Failed to install casadi-bindings-internal-0.1.3.1 [1 of 1] Compiling Main ( /tmp/cabal-tmp-7559/distributive-0.5.0.2/dist/dist-sandbox-9df84abc/setup/setup.hs, /tmp/cabal-tmp-7559/distributive-0.5.0.2/dist/dist-sandbox-9df84abc/setup/Main.o ) Linking /tmp/cabal-tmp-7559/distributive-0.5.0.2/dist/dist-sandbox-9df84abc/setup/setup ... Configuring distributive-0.5.0.2... Building distributive-0.5.0.2... Preprocessing library distributive-0.5.0.2... src/Data/Distributive.hs:33:8: Could not find module ‘Data.Orphans’ There are files missing in the ‘base-orphans-0.5.0@baseo_6r3PnYSweurA3Ul5tUzwvY’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/Data/Distributive.hs:42:8: Could not find module ‘Data.Tagged’ There are files missing in the ‘tagged-0.8.3@tagge_5cptKNCoGdxJM6eqqNERxD’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install distributive-0.5.0.2 Configuring exceptions-0.8.2.1... Building exceptions-0.8.2.1... Preprocessing library exceptions-0.8.2.1... src/Control/Monad/Catch.hs:87:8: Could not find module ‘Control.Monad.STM’ There are files missing in the ‘stm-2.4.4.1@stm_EyxFXFfnfY05IrjGaqCxeD’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/Control/Monad/Catch.hs:94:8: Could not find module ‘Control.Monad.Reader’ There are files missing in the ‘mtl-2.2.1@mtl_Aue4leSeVkpKLsfHIV51E8’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src/Control/Monad/Catch/Pure.hs:58:8: Could not find module ‘Control.Monad.RWS’ There are files missing in the ‘mtl-2.2.1@mtl_Aue4leSeVkpKLsfHIV51E8’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install exceptions-0.8.2.1 Configuring semigroups-0.18.1... Building semigroups-0.18.1... Preprocessing library semigroups-0.18.1... src-ghc7/Data/Semigroup.hs:157:8: Could not find module ‘Data.Tagged’ There are files missing in the ‘tagged-0.8.3@tagge_5cptKNCoGdxJM6eqqNERxD’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src-ghc7/Data/Semigroup.hs:161:18: Could not find module ‘Data.Text’ There are files missing in the ‘text-1.2.2.0@text_5c7VCmRXJenGcMPs3kwpkI’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src-ghc7/Data/Semigroup.hs:162:18: Could not find module ‘Data.Text.Lazy’ There are files missing in the ‘text-1.2.2.0@text_5c7VCmRXJenGcMPs3kwpkI’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src-ghc7/Data/Semigroup.hs:163:18: Could not find module ‘Data.Text.Lazy.Builder’ There are files missing in the ‘text-1.2.2.0@text_5c7VCmRXJenGcMPs3kwpkI’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src-ghc7/Data/Semigroup.hs:167:8: Could not find module ‘Data.Hashable’ There are files missing in the ‘hashable-1.2.4.0@hasha_8GjadD03dR57AKCJdr90LD’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src-ghc7/Data/Semigroup.hs:171:8: Could not find module ‘Data.HashMap.Lazy’ There are files missing in the ‘unordered-containers-0.2.6.0@unord_KZtAs5BAqzn94LEgyMPvCy’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. src-ghc7/Data/Semigroup.hs:172:8: Could not find module ‘Data.HashSet’ There are files missing in the ‘unordered-containers-0.2.6.0@unord_KZtAs5BAqzn94LEgyMPvCy’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install semigroups-0.18.1 Configuring vector-binary-instances-0.2.1.0... Building vector-binary-instances-0.2.1.0... Preprocessing library vector-binary-instances-0.2.1.0... Data/Vector/Binary.hs:38:18: Could not find module ‘Data.Vector.Generic’ There are files missing in the ‘vector-0.11.0.0@vecto_LmZ3LQW4ivu8MsQuVgukln’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/Vector/Binary.hs:39:18: Could not find module ‘Data.Vector.Unboxed’ There are files missing in the ‘vector-0.11.0.0@vecto_LmZ3LQW4ivu8MsQuVgukln’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/Vector/Binary.hs:40:18: Could not find module ‘Data.Vector.Storable’ There are files missing in the ‘vector-0.11.0.0@vecto_LmZ3LQW4ivu8MsQuVgukln’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/Vector/Binary.hs:41:8: Could not find module ‘Data.Vector’ There are files missing in the ‘vector-0.11.0.0@vecto_LmZ3LQW4ivu8MsQuVgukln’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/Vector/Binary.hs:44:18: Could not find module ‘Data.Vector.Generic.Mutable’ There are files missing in the ‘vector-0.11.0.0@vecto_LmZ3LQW4ivu8MsQuVgukln’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Data/Vector/Cereal.hs:22:8: Could not find module ‘Data.Serialize’ There are files missing in the ‘cereal-0.5.1.0@cerea_843xOxvPj94HAJ9SD4EJuq’ package, try running 'ghc-pkg check'. Use -v to see a list of the files searched for. Failed to install vector-binary-instances-0.2.1.0 cabal: Error: some packages failed to install: adjunctions-4.3 depends on semigroups-0.18.1 which failed to install. bifunctors-5.2 depends on semigroups-0.18.1 which failed to install. bytes-0.15.2 depends on semigroups-0.18.1 which failed to install. casadi-bindings-2.4.1.8 depends on vector-binary-instances-0.2.1.0 which failed to install. casadi-bindings-core-2.4.1.0 depends on casadi-bindings-internal-0.1.3.1 which failed to install. casadi-bindings-internal-0.1.3.1 failed during the configure step. The exception was: ExitFailure 1 comonad-5 depends on semigroups-0.18.1 which failed to install. contravariant-1.4 depends on semigroups-0.18.1 which failed to install. distributive-0.5.0.2 failed during the building phase. The exception was: ExitFailure 1 exceptions-0.8.2.1 failed during the building phase. The exception was: ExitFailure 1 free-4.12.4 depends on semigroups-0.18.1 which failed to install. kan-extensions-5.0.1 depends on semigroups-0.18.1 which failed to install. lens-4.13.1 depends on semigroups-0.18.1 which failed to install. linear-1.20.4 depends on semigroups-0.18.1 which failed to install. profunctors-5.2 depends on semigroups-0.18.1 which failed to install. semigroupoids-5.0.1 depends on semigroups-0.18.1 which failed to install. semigroups-0.18.1 failed during the building phase. The exception was: ExitFailure 1 spatial-math-0.2.7.0 depends on semigroups-0.18.1 which failed to install. vector-binary-instances-0.2.1.0 failed during the building phase. The exception was: ExitFailure 1 void-0.7.1 depends on semigroups-0.18.1 which failed to install.