[Pkg-haskell-maintainers] Bug#763221: haskell-gtk3: FTBFS: Couldn't match type `CInt' with `()'

David Suárez david.sephirot at gmail.com
Sun Sep 28 17:19:22 UTC 2014


Source: haskell-gtk3
Version: 0.12.5.6-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140926 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> [113 of 198] Compiling Graphics.UI.Gtk.ModelView.CellRendererSpinner ( dist-ghc/build/Graphics/UI/Gtk/ModelView/CellRendererSpinner.hs, dist-ghc/build/Graphics/UI/Gtk/ModelView/CellRendererSpinner.o )
> [114 of 198] Compiling Graphics.UI.Gtk.ModelView.CellRenderer ( dist-ghc/build/Graphics/UI/Gtk/ModelView/CellRenderer.hs, dist-ghc/build/Graphics/UI/Gtk/ModelView/CellRenderer.o )
> [115 of 198] Compiling Graphics.UI.Gtk.ModelView.CellLayout ( dist-ghc/build/Graphics/UI/Gtk/ModelView/CellLayout.hs, dist-ghc/build/Graphics/UI/Gtk/ModelView/CellLayout.o )
> [116 of 198] Compiling Graphics.UI.Gtk.MenuComboToolbar.ComboBox ( dist-ghc/build/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.hs, dist-ghc/build/Graphics/UI/Gtk/MenuComboToolbar/ComboBox.o )
> [117 of 198] Compiling Graphics.UI.Gtk.Multiline.TextTagTable ( dist-ghc/build/Graphics/UI/Gtk/Multiline/TextTagTable.hs, dist-ghc/build/Graphics/UI/Gtk/Multiline/TextTagTable.o )
> 
> Graphics/UI/Gtk/Multiline/TextTagTable.chs:88:3:
>     Couldn't match type `CInt' with `()'
>     Expected type: IO ()
>       Actual type: IO CInt
>     In the return type of a call of `\ (TextTagTable arg1)
>                                        (TextTag arg2)
>                                        -> withForeignPtr arg1
>                                           $ \ argPtr1 -> withForeignPtr arg2 $ \ argPtr2 -> ...'
>     In the expression:
>       (\ (TextTagTable arg1) (TextTag arg2)
>          -> withForeignPtr arg1
>             $ \ argPtr1
>                 -> withForeignPtr arg2
>                    $ \ argPtr2 -> gtk_text_tag_table_add argPtr1 argPtr2)
>         (toTextTagTable self) (toTextTag tag)
>     In an equation for `textTagTableAdd':
>         textTagTableAdd self tag
>           = (\ (TextTagTable arg1) (TextTag arg2)
>                -> withForeignPtr arg1
>                   $ \ argPtr1 -> withForeignPtr arg2 $ \ argPtr2 -> ...)
>               (toTextTagTable self) (toTextTag tag)
> make: *** [build-ghc-stamp] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/09/26/haskell-gtk3_0.12.5.6-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-haskell-maintainers mailing list