Resolving dependencies... Downloading cabal-upload-0.1... [1 of 1] Compiling Main ( /tmp/cabal-upload-0.1-18725/cabal-upload-0.1/Setup.lhs, /tmp/cabal-upload-0.1-18725/cabal-upload-0.1/dist/setup/Main.o ) Linking /tmp/cabal-upload-0.1-18725/cabal-upload-0.1/dist/setup/setup ... Configuring cabal-upload-0.1... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Warning: The 'license-file' field refers to the file '../LICENSE' which does not exist. Building cabal-upload-0.1... Preprocessing executable 'cabal-upload' for cabal-upload-0.1... src/CabalUpload.hs:14: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.1 cabal: Error: some packages failed to install: cabal-upload-0.1 failed during the building phase. The exception was: ExitFailure 1