Resolving dependencies... Downloading cabal-upload-0.3... [1 of 1] Compiling Main ( /tmp/cabal-upload-0.3-18561/cabal-upload-0.3/Setup.lhs, /tmp/cabal-upload-0.3-18561/cabal-upload-0.3/dist/setup/Main.o ) Linking /tmp/cabal-upload-0.3-18561/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... src/CabalUpload.hs:19:8: Could not find module `System.Random' It is a member of the hidden package `random-1.0.1.1'. Perhaps you need to add `random' to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Failed to install 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