Resolving dependencies... Downloading glib-0.12.1... [1 of 2] Compiling SetupWrapper ( /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs, /tmp/glib-0.12.1-11958/glib-0.12.1/dist/setup/SetupWrapper.o ) /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs:94:45: Ambiguous occurrence ‘moreRecentFile’ It could refer to either ‘SetupWrapper.moreRecentFile’, defined at /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs:149:1 or ‘Distribution.Simple.Utils.moreRecentFile’, imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs:8:1-32 /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs:95:45: Ambiguous occurrence ‘moreRecentFile’ It could refer to either ‘SetupWrapper.moreRecentFile’, defined at /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs:149:1 or ‘Distribution.Simple.Utils.moreRecentFile’, imported from ‘Distribution.Simple.Utils’ at /tmp/glib-0.12.1-11958/glib-0.12.1/SetupWrapper.hs:8:1-32 Failed to install glib-0.12.1 cabal: Error: some packages failed to install: glib-0.12.1 failed during the configure step. The exception was: ExitFailure 1