Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#15905 - [gtk2hs] should be recompiled with ghc 6.10.4
Attached to Project:
Community Packages
Opened by Carl Mueller (cmlr) - Tuesday, 11 August 2009, 15:46 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 12 August 2009, 21:20 GMT
Opened by Carl Mueller (cmlr) - Tuesday, 11 August 2009, 15:46 GMT
Last edited by Sergej Pupykin (sergej) - Wednesday, 12 August 2009, 21:20 GMT
|
DetailsDescription: I tested gtk2hs by compiling the program given below using ghc 6.10.4. It failed to compile, with the error message:
test.hs:3:0: Bad interface file: /usr/lib/gtk2hs/imports/gtk/Graphics/UI/Gtk.hi mismatched interface file versions (wanted "6104", got "6103") This happened on both i686 and x86_64. Then I compiled gtk2hs myself using ABS, and everything worked. So it looks like gtk2hs needs to be recompiled, that's all. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: Try to compile this program using ghc 6.10.4. ------------------------------------------------------ import Graphics.UI.Gtk hello :: (ButtonClass o) => o -> IO () hello b = set b [buttonLabel := "Hello World"] main :: IO () main = do initGUI window <- windowNew button <- buttonNew set window [windowDefaultWidth := 200, windowDefaultHeight := 200, containerChild := button, containerBorderWidth := 10] onClicked button (hello button) onDestroy window mainQuit widgetShowAll window mainGUI |
This task depends upon