Resolving dependencies... Configuring mtl-2.2.1... Configuring network-2.6.3.1... Building mtl-2.2.1... Building network-2.6.3.1... Configuring text-1.2.2.1... Installed mtl-2.2.1 Building text-1.2.2.1... Installed network-2.6.3.1 Installed text-1.2.2.1 Configuring parsec-3.1.11... Building parsec-3.1.11... Installed parsec-3.1.11 Configuring network-uri-2.6.1.0... Building network-uri-2.6.1.0... Installed network-uri-2.6.1.0 Configuring HTTP-4000.3.4... Building HTTP-4000.3.4... Installed HTTP-4000.3.4 Downloading cabal-upload-0.3... Configuring cabal-upload-0.3... Building cabal-upload-0.3... Failed to install cabal-upload-0.3 Build log ( /home/builder/.cabal/logs/cabal-upload-0.3.log ): cabal: Entering directory '/tmp/cabal-tmp-9414/cabal-upload-0.3' [1 of 1] Compiling Main ( /tmp/cabal-tmp-9414/cabal-upload-0.3/dist/setup/setup.hs, /tmp/cabal-tmp-9414/cabal-upload-0.3/dist/setup/Main.o ) Linking /tmp/cabal-tmp-9414/cabal-upload-0.3/dist/setup/setup ... Configuring cabal-upload-0.3... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building cabal-upload-0.3... Preprocessing executable 'cabal-upload' for cabal-upload-0.3... [1 of 1] Compiling Main ( src/CabalUpload.hs, dist/build/cabal-upload/cabal-upload-tmp/Main.o ) src/CabalUpload.hs:7:1: error: Failed to load interface for ‘Distribution.Compat.FilePath’ Perhaps you meant Distribution.Compat.Binary (from Cabal-1.24.0.0) Distribution.Compat.ReadP (from Cabal-1.24.0.0) Use -v to see a list of the files searched for. src/CabalUpload.hs:12:1: error: Failed to load interface for ‘Network.URI’ It is a member of the hidden package ‘network-uri-2.6.1.0’. Perhaps you need to add ‘network-uri’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/CabalUpload.hs:15:1: error: Failed to load interface for ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.6.2’. Perhaps you need to add ‘directory’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/CabalUpload.hs:19:1: error: Failed to load interface for ‘System.Random’ Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-9414/cabal-upload-0.3' cabal: Error: some packages failed to install: cabal-upload-0.3 failed during the building phase. The exception was: ExitFailure 1