Bug 115657 - gtk2hs-0.9.10 fails to intstall
Bug#: 115657 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: haskell@gentoo.org Reported By: aeyakovenko@gmail.com
Component: Development
URL: 
Summary: gtk2hs-0.9.10 fails to intstall
Keywords:  
Status Whiteboard: 
Opened: 2005-12-15 07:12 0000
Description:   Opened: 2005-12-15 07:12 0000
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

------- Comment #1 From Duncan Coutts (RETIRED) 2006-02-02 14:55:36 0000 -------
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?

------- Comment #2 From Duncan Coutts (RETIRED) 2006-02-15 02:28:00 0000 -------
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?

------- Comment #3 From Anatoly Yakovenko 2006-02-15 11:35:47 0000 -------
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

------- Comment #4 From Duncan Coutts (RETIRED) 2006-02-15 15:40:38 0000 -------
Do you think last time - the time when it faild - you were using ghc-6.2.2 or
ghc-6.4.1 ?

------- Comment #5 From Anatoly Yakovenko 2006-02-15 16:04:34 0000 -------
i think i was using 6.2.1 at the time.  

------- Comment #6 From Duncan Coutts (RETIRED) 2006-02-15 16:24:45 0000 -------
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

------- Comment #7 From Duncan Coutts (RETIRED) 2006-02-18 11:08:56 0000 -------
Ok, I've reprduced this bug. I'm investigating.

------- Comment #8 From Duncan Coutts (RETIRED) 2006-02-20 10:30:51 0000 -------
Fixed. The updated ebuild is now in portage.

Thanks for the report Anatoly.