gtk2hs-0.9.10 fails to install test -z "/usr/lib/gtk2hs/include" || mkdir -p -- "/var/tmp/portage/gtk2hs-0.9.10/image//usr/lib/gtk2hs/include" /usr/bin/install -c -m 644 'gtk2hs-config.h' '/var/tmp/portage/gtk2hs-0.9.10/image//usr/lib/gtk2hs/include/gtk2hs-config.h' make install-data-hook make[2]: Entering directory `/var/tmp/portage/gtk2hs-0.9.10/work/gtk2hs-0.9.10' make[2]: Nothing to be done for `install-data-hook'. make[2]: Leaving directory `/var/tmp/portage/gtk2hs-0.9.10/work/gtk2hs-0.9.10' make[1]: Leaving directory `/var/tmp/portage/gtk2hs-0.9.10/work/gtk2hs-0.9.10' Reading package info from stdin... done. Expanding embedded variables... done. dependency `haskell98' doesn't exist (ignoring) Saving old package config file... done. Writing new package config file... done. Reading package info from stdin... done. Expanding embedded variables... done. dependency `haskell98' doesn't exist (ignoring) `/usr/lib/gtk2hs/imports/cairo' doesn't exist or isn't a directory (ignoring) cannot find `libHScairo.a' on library path (ignoring) Saving old package config file... done. Writing new package config file... done. Reading package info from stdin... parse error in package info !!! ERROR: dev-haskell/gtk2hs-0.9.10 failed Reproducible: Always Steps to Reproduce: 1. emerge gtk2hs-0.9.10 with "-doc -firefox +glade +gnome -mozilla" 2. 3. Actual Results: installation fails Expected Results: should emerge properly
This looks quite odd. There appear to be three things wrong. The ghc installation appears to be missing the haskell98 package. Then the gtk2hs seems to not be installing the cairo package and to top it all off one of the package files (probably the gtk package) seems to be messed up. What is the result of the following command: $ ghc-pkg list Do you have cairo installed? What version of Gtk+ have you got there?
I've had another report of the same behaviour. That was with ghc-6.2.2. Anatoly, which ghc version were you using when you found this problem with gtk2hs?
just emerged dev-haskell/gtk2hs-0.9.10 -doc -firefox +glade -gnome -mozilla with dev-lang/ghc-6.4.1-r1 -doc +opengl without any problems
Do you think last time - the time when it faild - you were using ghc-6.2.2 or ghc-6.4.1 ?
i think i was using 6.2.1 at the time.
Thanks Anatoly. I'll try reproducing that with ghc 6.2.x. I'm glad it's working for you now with ghc 6.4.x
Ok, I've reprduced this bug. I'm investigating.
Fixed. The updated ebuild is now in portage. Thanks for the report Anatoly.