Resolving dependencies... Configuring cabal-rpm-0.3.1... Building cabal-rpm-0.3.1... Preprocessing executable 'cabal-rpm' for cabal-rpm-0.3.1... src/Distribution/Package/Rpm.hs:31:8: Could not find module ‘System.Cmd’ It is a member of the hidden package ‘process-1.2.3.0@proce_FLTz0SLwyG6LJUpZ52HjkU’. Perhaps you need to add ‘process’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. src/Distribution/Package/Rpm.hs:32:8: Could not find module ‘System.Directory’ It is a member of the hidden package ‘directory-1.2.2.0@direc_KowvXytSqazBcvN7MGpFtg’. 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/Distribution/Package/Rpm.hs:38:8: Could not find module ‘System.Locale’ Use -v to see a list of the files searched for. src/Distribution/Package/Rpm.hs:39:8: Could not find module ‘System.Process’ It is a member of the hidden package ‘process-1.2.3.0@proce_FLTz0SLwyG6LJUpZ52HjkU’. Perhaps you need to add ‘process’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. Failed to install cabal-rpm-0.3.1 cabal: Error: some packages failed to install: cabal-rpm-0.3.1 failed during the building phase. The exception was: ExitFailure 1