Resolving dependencies... Configuring cabal-rpm-0.2.2... Building cabal-rpm-0.2.2... Preprocessing executable 'cabal-rpm' for cabal-rpm-0.2.2... src/Distribution/Package/Rpm.hs:29: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:30: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:36:8: Could not find module ‘System.Locale’ Use -v to see a list of the files searched for. src/Distribution/Package/Rpm.hs:37: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. src/Distribution/Package/Rpm.hs:44:8: Could not find module ‘Distribution.PreProcess’ Use -v to see a list of the files searched for. src/Distribution/Package/Rpm.hs:45:8: Could not find module ‘Distribution.Program’ Use -v to see a list of the files searched for. src/Distribution/Package/Rpm/Setup.hs:21:8: Could not find module ‘Distribution.Setup’ Perhaps you meant Distribution.GetOpt Distribution.ReadE (from Cabal-1.22.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) Distribution.System (from Cabal-1.22.4.0@Cabal_96aI7pZyaxU3dsgngOxbdK) Use -v to see a list of the files searched for. Failed to install cabal-rpm-0.2.2 cabal: Error: some packages failed to install: cabal-rpm-0.2.2 failed during the building phase. The exception was: ExitFailure 1