Resolving dependencies... Configuring c2hs-extra-0.1.0.1... Configuring primitive-0.6.2.0... Building c2hs-extra-0.1.0.1... Building primitive-0.6.2.0... Installed c2hs-extra-0.1.0.1 Configuring text-1.2.2.2... Building text-1.2.2.2... Installed primitive-0.6.2.0 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed text-1.2.2.2 Configuring hashable-1.2.6.1... Building hashable-1.2.6.1... Installed hashable-1.2.6.1 Configuring unordered-containers-0.2.8.0... Building unordered-containers-0.2.8.0... Installed unordered-containers-0.2.8.0 Installed vector-0.12.0.1 Configuring mxnet-0.2.0.0... Failed to install mxnet-0.2.0.0 Build log ( /home/builder/.cabal/logs/mxnet-0.2.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-6601/mxnet-0.2.0.0' cabal: Leaving directory '/tmp/cabal-tmp-6601/mxnet-0.2.0.0' cabal: Error: some packages failed to install: mxnet-0.2.0.0 failed during the configure step. The exception was: user error ('/opt/ghc/8.0.2/bin/ghc' exited with an error: /tmp/cabal-tmp-6601/mxnet-0.2.0.0/dist/setup/setup.hs:3:1: error: Failed to load interface for ‘Distribution.Types.LocalBuildInfo’ Perhaps you meant Distribution.Simple.LocalBuildInfo (from Cabal-1.24.2.0) Use -v to see a list of the files searched for. /tmp/cabal-tmp-6601/mxnet-0.2.0.0/dist/setup/setup.hs:4:1: error: Failed to load interface for ‘Distribution.Types.GenericPackageDescription’ Use -v to see a list of the files searched for. /tmp/cabal-tmp-6601/mxnet-0.2.0.0/dist/setup/setup.hs:5:1: error: Failed to load interface for ‘Distribution.Types.HookedBuildInfo’ Use -v to see a list of the files searched for. ) mxnet-examples-0.2.0.0 depends on mxnet-0.2.0.0 which failed to install.