Community Packages

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!
Tasklist

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
Task Type Bug Report
Category
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: 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

Closed by  Sergej Pupykin (sergej)
Wednesday, 12 August 2009, 21:20 GMT
Reason for closing:  Fixed

Loading...