[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gtk2hs-buildtools upload broke haskell-glade



On Mon, May 07, 2012 at 09:16:12PM +0200, Joachim Breitner wrote:
> haskell-glade stopped building:
> https://buildd.debian.org/status/package.php?p=haskell-glade

The failure is related to this change in gtk2hs-buildtools:

--- b/hierarchyGen/Hierarchy.chs.template        2012-03-08 18:22:57.000000000 -0500
+++ a/hierarchyGen/Hierarchy.chs.template        2011-09-12 07:44:11.000000000 -0400
@@ -37,7 +37,11 @@
   ) where
 
 import Foreign.ForeignPtr (ForeignPtr, castForeignPtr, unsafeForeignPtrToPtr)
+#if __GLASGOW_HASKELL__>=704
+import Foreign.C.Types    (CULong(..), CUInt(..))
+#else
 import Foreign.C.Types    (CULong, CUInt)
+#endif
 import System.Glib.GType       (GType, typeInstanceIsA)
 @MODULE_IMPORTS@
 {# context lib="@CONTEXT_LIB@" prefix="@CONTEXT_PREFIX@" #}

Then glade's Graphics/UI/Gtk/Glade/Types.chs is modified accordingly,
and then the build fails.  Beyond that, I am confused about what the
problem is.


Reply to: