Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464266 - dev-haskell/gtk-0.12.0: build fails with >=ghc-7.4.1 Ambiguous module name `Prelude':
Summary: dev-haskell/gtk-0.12.0: build fails with >=ghc-7.4.1 Ambiguous module name `P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mark Wright
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-03 03:12 UTC by Mark Wright
Modified: 2013-04-03 08:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wright gentoo-dev 2013-04-03 03:12:53 UTC
It fails due to a change made in ghc 7.2:

http://hackage.haskell.org/trac/ghc/ticket/4958

The error from the build.log is:

>>> Compiling source in /var/tmp/portage/dev-haskell/gtk-0.12.0/work/gtk-0.12.0 ...
./setup build
Building gtk-0.12.0...
Preprocessing library gtk-0.12.0...

dist/build/Graphics/UI/Gtk.hs:1:1:
    Ambiguous module name `Prelude':
      it was found in multiple packages: base haskell98-2.0.0.1
 * ERROR: dev-haskell/gtk-0.12.0 failed (compile phase):
Comment 1 Mark Wright gentoo-dev 2013-04-03 08:58:46 UTC
Patched gtk-0.12.0-ghc-7.2.patch