Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507390 - Please stabilize dev-haskell/cairo-0.12.5.0-r1 (was dev-haskell/cairo - Cannot find gtk2hsC2hs2)
Summary: Please stabilize dev-haskell/cairo-0.12.5.0-r1 (was dev-haskell/cairo - Canno...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2014-04-11 09:11 UTC by neumond
Modified: 2014-12-01 09:51 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,3.59 KB, text/plain)
2014-04-11 09:11 UTC, neumond
Details
emerge --info (emergeinfo.txt,4.96 KB, text/plain)
2014-04-11 09:12 UTC, neumond
Details
build.log for dev-haskell/gio (build.log,3.23 KB, text/plain)
2014-04-11 09:28 UTC, neumond
Details
build.log of failing gtk-0.12.4-r1 (build.log,31.98 KB, text/x-log)
2014-10-08 16:22 UTC, Khumba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description neumond 2014-04-11 09:11:48 UTC
Created attachment 374722 [details]
build.log

Fails at configure stage. There is gtk2hsC2hs exists in system, but no gtk2hsC2hs2.
Comment 1 neumond 2014-04-11 09:12:31 UTC
Created attachment 374724 [details]
emerge --info
Comment 2 neumond 2014-04-11 09:26:36 UTC
cd /usr/local/bin
ln -s /usr/bin/gtk2hsC2hs gtk2hsC2hs2

Allows to proceed. Don't know has it any drawbacks or not.
Comment 3 neumond 2014-04-11 09:28:10 UTC
Created attachment 374726 [details]
build.log for dev-haskell/gio
Comment 4 neumond 2014-04-11 09:38:06 UTC
Emerging gio makes similar error, but missing another binary
"Cannot find gtk2hsTypeGen2" at first time
"Cannot find gtk2hsHookGenerator2" after symlinking gtk2hsTypeGen

Again, there is gtk2hsTypeGen, but no gtk2hsTypeGen2.
gtk2hsHookGenerator, but no gtk2hsHookGenerator2.

Symlinking allows to compile.
Comment 5 Mark Wright gentoo-dev 2014-05-20 12:50:09 UTC
dev-haskell/cairo-0.12.5.0-r1 should build ok, please stabilize.
Comment 6 Chema Alonso Josa (RETIRED) gentoo-dev 2014-07-17 12:14:20 UTC
amd64 stable
Comment 7 Andreas Schürch gentoo-dev 2014-08-13 15:27:06 UTC
x86 done.
Comment 8 Agostino Sarubbo gentoo-dev 2014-09-19 08:56:54 UTC
ppc64 stable
Comment 9 Agostino Sarubbo gentoo-dev 2014-10-05 11:50:14 UTC
ppc stable
Comment 10 Khumba 2014-10-08 16:21:53 UTC
I'm on amd64 and am having problems building now: dev-haskell/cairo-0.12.4-r1 and cairo-0.12.5.0-r1 both build fine, but 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.

Downgrading to cairo-0.12.4-r1 before building gtk-0.12.4-r1 works; I think gtk-0.12.4 should require <cairo-0.12.5.

Looks like this breaks because cairo-0.12.5.0/Graphics/Rendering/Cairo/Types.chs exports 'Region', I believe, 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.

I have dev-haskell/cairo-0.12.5.0-r1 installed from the haskell overlay, but the ebuild looks the same as the main tree, except for other archs' stabilization flags.
Comment 11 Khumba 2014-10-08 16:22:53 UTC
Created attachment 386244 [details]
build.log of failing gtk-0.12.4-r1
Comment 12 Agostino Sarubbo gentoo-dev 2014-12-01 09:51:21 UTC
sparc stable. Closing.