Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115657 - gtk2hs-0.9.10 fails to intstall
Summary: gtk2hs-0.9.10 fails to intstall
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 07:12 UTC by Anatoly Yakovenko
Modified: 2006-02-20 10:30 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 Anatoly Yakovenko 2005-12-15 07:12:40 UTC
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 Duncan Coutts (RETIRED) gentoo-dev 2006-02-02 14:55:36 UTC
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 Duncan Coutts (RETIRED) gentoo-dev 2006-02-15 02:28:00 UTC
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 Anatoly Yakovenko 2006-02-15 11:35:47 UTC
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 Duncan Coutts (RETIRED) gentoo-dev 2006-02-15 15:40:38 UTC
Do you think last time - the time when it faild - you were using ghc-6.2.2 or ghc-6.4.1 ?
Comment 5 Anatoly Yakovenko 2006-02-15 16:04:34 UTC
i think i was using 6.2.1 at the time.  
Comment 6 Duncan Coutts (RETIRED) gentoo-dev 2006-02-15 16:24:45 UTC
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 Duncan Coutts (RETIRED) gentoo-dev 2006-02-18 11:08:56 UTC
Ok, I've reprduced this bug. I'm investigating.
Comment 8 Duncan Coutts (RETIRED) gentoo-dev 2006-02-20 10:30:51 UTC
Fixed. The updated ebuild is now in portage.

Thanks for the report Anatoly.