Resolving dependencies... Configuring newports-1.0... Building newports-1.0... Failed to install newports-1.0 Build log ( /home/builder/.cabal/logs/newports-1.0.log ): cabal: Entering directory '/tmp/cabal-tmp-22843/newports-1.0' [1 of 1] Compiling Main ( /tmp/cabal-tmp-22843/newports-1.0/dist/setup/setup.hs, /tmp/cabal-tmp-22843/newports-1.0/dist/setup/Main.o ) Linking /tmp/cabal-tmp-22843/newports-1.0/dist/setup/setup ... Configuring newports-1.0... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building newports-1.0... Preprocessing executable 'newports' for newports-1.0... [1 of 1] Compiling Main ( newports.hs, dist/build/newports/newports-tmp/Main.o ) newports.hs:18: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. newports.hs:20:1: error: Failed to load interface for ‘System.Time’ Perhaps you meant System.CPUTime (from base-4.9.0.0) System.Cmd (needs flag -package-key process-1.4.2.0) System.Mem (from base-4.9.0.0) Use -v to see a list of the files searched for. cabal: Leaving directory '/tmp/cabal-tmp-22843/newports-1.0' cabal: Error: some packages failed to install: newports-1.0 failed during the building phase. The exception was: ExitFailure 1