[Pkg-haskell-maintainers] Bug#777897: haskell-gtk: ftbfs with GCC-5

Matthias Klose doko at debian.org
Thu Feb 12 10:32:18 UTC 2015


Package: src:haskell-gtk
Version: 0.12.5.6-2
Severity: normal
Tags: sid stretch
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-5/g++-5, but succeeds to build with gcc-4.9/g++-4.9. The
severity of this report may be raised before the stretch release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc5-20150205/haskell-gtk_0.12.5.6-2_unstable_gcc5.log
The last lines of the build log are at the end of this report.

To build with GCC 5, either set CC=gcc-5 CXX=g++-5 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ 

Common build failures are C11 as the default C mode, new warnings
resulting in build failures with -Werror turned on, or new/dropped
symbols in Debian symbols files.  For other C/C++ related build failures
see the porting guide at http://gcc.gnu.org/gcc-5/porting_to.html

[...]
Graphics/UI/Gtk/Types.chs:843:27: Warning:
    In the use of `unsafeForeignPtrToPtr'
    (imported from Foreign.ForeignPtr):
    Deprecated: "Use Foreign.ForeignPtr.Unsafe.unsafeForeignPtrToPtr instead; This function will be removed in the next release"
[  7 of 208] Compiling Graphics.UI.Gtk.General.DNDTypes ( dist-ghc/build/Graphics/UI/Gtk/General/DNDTypes.hs, dist-ghc/build/Graphics/UI/Gtk/General/DNDTypes.o )
[  8 of 208] Compiling Graphics.UI.Gtk.Abstract.ContainerChildProperties ( dist-ghc/build/Graphics/UI/Gtk/Abstract/ContainerChildProperties.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/ContainerChildProperties.o )
[  9 of 208] Compiling Graphics.UI.Gtk.Embedding.Embedding ( dist-ghc/build/Graphics/UI/Gtk/Embedding/Embedding.hs, dist-ghc/build/Graphics/UI/Gtk/Embedding/Embedding.o )
[ 10 of 208] Compiling Graphics.UI.Gtk.ModelView.Types ( dist-ghc/build/Graphics/UI/Gtk/ModelView/Types.hs, dist-ghc/build/Graphics/UI/Gtk/ModelView/Types.o )
[ 11 of 208] Compiling Graphics.UI.Gtk.Gdk.PixbufData ( Graphics/UI/Gtk/Gdk/PixbufData.hs, dist-ghc/build/Graphics/UI/Gtk/Gdk/PixbufData.o )
[ 12 of 208] Compiling Graphics.UI.Gtk.Abstract.Separator ( Graphics/UI/Gtk/Abstract/Separator.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Separator.o )
[ 13 of 208] Compiling Graphics.UI.Gtk.Abstract.Scrollbar ( Graphics/UI/Gtk/Abstract/Scrollbar.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Scrollbar.o )
[ 14 of 208] Compiling Graphics.UI.Gtk.Abstract.Scale ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Scale.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Scale.o )
[ 15 of 208] Compiling Graphics.UI.Gtk.Abstract.Object ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Object.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Object.o )
[ 16 of 208] Compiling Graphics.UI.Gtk.Abstract.Paned ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Paned.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Paned.o )
[ 17 of 208] Compiling Graphics.UI.Gtk.Builder ( dist-ghc/build/Graphics/UI/Gtk/Builder.hs, dist-ghc/build/Graphics/UI/Gtk/Builder.o )
[ 18 of 208] Compiling Graphics.UI.Gtk.General.Structs ( dist-ghc/build/Graphics/UI/Gtk/General/Structs.hs, dist-ghc/build/Graphics/UI/Gtk/General/Structs.o )
[ 19 of 208] Compiling Graphics.UI.Gtk.Abstract.Range ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Range.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Range.o )
[ 20 of 208] Compiling Graphics.UI.Gtk.Embedding.Plug ( dist-ghc/build/Graphics/UI/Gtk/Embedding/Plug.hs, dist-ghc/build/Graphics/UI/Gtk/Embedding/Plug.o )
[ 21 of 208] Compiling Graphics.UI.Gtk.Embedding.Socket ( dist-ghc/build/Graphics/UI/Gtk/Embedding/Socket.hs, dist-ghc/build/Graphics/UI/Gtk/Embedding/Socket.o )
[ 22 of 208] Compiling Graphics.UI.Gtk.Multiline.Types ( dist-ghc/build/Graphics/UI/Gtk/Multiline/Types.hs, dist-ghc/build/Graphics/UI/Gtk/Multiline/Types.o )
[ 23 of 208] Compiling Graphics.UI.GtkInternals ( dist-ghc/build/Graphics/UI/GtkInternals.hs, dist-ghc/build/Graphics/UI/GtkInternals.o )
[ 24 of 208] Compiling Graphics.UI.Gtk.Abstract.Misc ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Misc.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Misc.o )
[ 25 of 208] Compiling Graphics.UI.Gtk.Abstract.Bin ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Bin.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Bin.o )
[ 26 of 208] Compiling Graphics.UI.Gtk.Abstract.Container ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Container.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Container.o )
[ 27 of 208] Compiling Graphics.UI.Gtk.Abstract.ButtonBox ( dist-ghc/build/Graphics/UI/Gtk/Abstract/ButtonBox.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/ButtonBox.o )
[ 28 of 208] Compiling Graphics.UI.Gtk.Abstract.Box ( dist-ghc/build/Graphics/UI/Gtk/Abstract/Box.hs, dist-ghc/build/Graphics/UI/Gtk/Abstract/Box.o )
[ 29 of 208] Compiling Graphics.UI.Gtk.Misc.Viewport ( dist-ghc/build/Graphics/UI/Gtk/Misc/Viewport.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Viewport.o )
[ 30 of 208] Compiling Graphics.UI.Gtk.Misc.Tooltips ( dist-ghc/build/Graphics/UI/Gtk/Misc/Tooltips.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Tooltips.o )
[ 31 of 208] Compiling Graphics.UI.Gtk.Misc.Tooltip ( dist-ghc/build/Graphics/UI/Gtk/Misc/Tooltip.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Tooltip.o )
[ 32 of 208] Compiling Graphics.UI.Gtk.Misc.SizeGroup ( dist-ghc/build/Graphics/UI/Gtk/Misc/SizeGroup.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/SizeGroup.o )
[ 33 of 208] Compiling Graphics.UI.Gtk.Misc.IMContextSimple ( dist-ghc/build/Graphics/UI/Gtk/Misc/IMContextSimple.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/IMContextSimple.o )
[ 34 of 208] Compiling Graphics.UI.Gtk.Misc.IMMulticontext ( dist-ghc/build/Graphics/UI/Gtk/Misc/IMMulticontext.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/IMMulticontext.o )
[ 35 of 208] Compiling Graphics.UI.Gtk.Misc.HandleBox ( dist-ghc/build/Graphics/UI/Gtk/Misc/HandleBox.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/HandleBox.o )
[ 36 of 208] Compiling Graphics.UI.Gtk.Misc.EventBox ( dist-ghc/build/Graphics/UI/Gtk/Misc/EventBox.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/EventBox.o )
[ 37 of 208] Compiling Graphics.UI.Gtk.Misc.Calendar ( dist-ghc/build/Graphics/UI/Gtk/Misc/Calendar.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Calendar.o )
[ 38 of 208] Compiling Graphics.UI.Gtk.Misc.Arrow ( dist-ghc/build/Graphics/UI/Gtk/Misc/Arrow.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Arrow.o )
[ 39 of 208] Compiling Graphics.UI.Gtk.Misc.Adjustment ( dist-ghc/build/Graphics/UI/Gtk/Misc/Adjustment.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Adjustment.o )
[ 40 of 208] Compiling Graphics.UI.Gtk.Misc.Accessible ( dist-ghc/build/Graphics/UI/Gtk/Misc/Accessible.hs, dist-ghc/build/Graphics/UI/Gtk/Misc/Accessible.o )
[ 41 of 208] Compiling Graphics.UI.Gtk.Scrolling.VScrollbar ( dist-ghc/build/Graphics/UI/Gtk/Scrolling/VScrollbar.hs, dist-ghc/build/Graphics/UI/Gtk/Scrolling/VScrollbar.o )
[ 42 of 208] Compiling Graphics.UI.Gtk.Scrolling.ScrolledWindow ( dist-ghc/build/Graphics/UI/Gtk/Scrolling/ScrolledWindow.hs, dist-ghc/build/Graphics/UI/Gtk/Scrolling/ScrolledWindow.o )
[ 43 of 208] Compiling Graphics.UI.Gtk.Scrolling.HScrollbar ( dist-ghc/build/Graphics/UI/Gtk/Scrolling/HScrollbar.hs, dist-ghc/build/Graphics/UI/Gtk/Scrolling/HScrollbar.o )
[ 44 of 208] Compiling Graphics.UI.Gtk.Recent.RecentInfo ( dist-ghc/build/Graphics/UI/Gtk/Recent/RecentInfo.hs, dist-ghc/build/Graphics/UI/Gtk/Recent/RecentInfo.o )
[ 45 of 208] Compiling Graphics.UI.Gtk.Recent.RecentChooser ( dist-ghc/build/Graphics/UI/Gtk/Recent/RecentChooser.hs, dist-ghc/build/Graphics/UI/Gtk/Recent/RecentChooser.o )
[ 46 of 208] Compiling Graphics.UI.Gtk.Recent.RecentManager ( dist-ghc/build/Graphics/UI/Gtk/Recent/RecentManager.hs, dist-ghc/build/Graphics/UI/Gtk/Recent/RecentManager.o )

Graphics/UI/Gtk/Recent/RecentManager.chs:192:69:
    parse error on input `)'
make: *** [build-ghc-stamp] Error 1
/usr/share/cdbs/1/class/hlibrary.mk:120: recipe for target 'build-ghc-stamp' failed
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the Pkg-haskell-maintainers mailing list