Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 531394 - dev-haskell/gtk-0.12.4-r1 with dev-haskell/cairo-0.12.5.0-r1 - Graphics/UI/Gtk/Cairo.chs:123:11: Ambiguous occurrence `Region'
Summary: dev-haskell/gtk-0.12.4-r1 with dev-haskell/cairo-0.12.5.0-r1 - Graphics/UI/Gt...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-02 03:55 UTC by Khumba
Modified: 2015-09-30 00:01 UTC (History)
0 users

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


Attachments
dev-haskell/gtk-0.12.4-r1 build log (gtk-0.12.4-r1-build.log,36.13 KB, text/plain)
2014-12-02 03:55 UTC, Khumba
Details
emerge --info (emerge-info,4.21 KB, text/plain)
2014-12-02 03:56 UTC, Khumba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Khumba 2014-12-02 03:55:30 UTC
Created attachment 390746 [details]
dev-haskell/gtk-0.12.4-r1 build log

As I mentioned in bug #507390, the latest stable dev-haskell/gtk-0.12.4-r1 won't build against cairo-0.12.5* because of "Ambiguous occurence `Region'" in Graphics.UI.Gtk.Cairo.

Looks like this breaks because cairo-0.12.5.0/Graphics/Rendering/Cairo/Types.chs exports 'Region' only if x11-libs/cairo is new enough:

43 #if CAIRO_CHECK_VERSION(1,10,0)
44   , RectangleInt(..)
45   , RegionOverlap(..)
46   , Region(..), withRegion, mkRegion
47 #endif

and now stable is up to x11-libs/cairo-1.12.16.  dev-haskell/cairo-0.12.4 doesn't have this conditional export.

Downgrading to cairo-0.12.4-r1 before building gtk-0.12.4-r1 works.  Unkeywording dev-haskell/{pango,glib,gio,gtk}-0.12.5* also works.
Comment 1 Khumba 2014-12-02 03:56:07 UTC
Created attachment 390748 [details]
emerge --info
Comment 2 Toralf Förster gentoo-dev 2015-05-10 09:24:38 UTC
sstill in dev-haskell/gtk-0.12.4-r1:
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2015-09-26 21:31:38 UTC
Should be resolved by newer stable version in bug #524790
Comment 4 Khumba 2015-09-30 00:01:48 UTC
Yep, works now.  Thanks.