id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1289,gtksourceview2-0.12.3.1 broken with cabal because of duplicate code,guest,somebody,"It seems that you moved a function named 'moreRecentFile' from SetupWrapper.hs to Distribution.Simple.Utils, but forgot to remove it from SetupWrapper.hs.
Now when I 'cabal install gtksourceview2', I get an ""Ambiguous occurrance"" error, and the package does not install, as you can see below:
[1 of 2] Compiling SetupWrapper ( /tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs, /tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/dist/setup/SetupWrapper.o )
/tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs:94:45:
Ambiguous occurrence `moreRecentFile'
It could refer to either `SetupWrapper.moreRecentFile',
defined at /tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs:149:1
or `Distribution.Simple.Utils.moreRecentFile',
imported from `Distribution.Simple.Utils' at /tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs:8:1-32
/tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs:95:45:
Ambiguous occurrence `moreRecentFile'
It could refer to either `SetupWrapper.moreRecentFile',
defined at /tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs:149:1
or `Distribution.Simple.Utils.moreRecentFile',
imported from `Distribution.Simple.Utils' at /tmp/gtksourceview2-0.12.3.1-8453/gtksourceview2-0.12.3.1/SetupWrapper.hs:8:1-32
Failed to install gtksourceview2-0.12.3.1
cabal: Error: some packages failed to install:
gtksourceview2-0.12.3.1 failed during the configure step. The exception was:
ExitFailure 1
",defect,new,normal,0.13.0,"general (Gtk+, Glib)",0.12.4,,"gtkglext, SetupWrapper",misc@…