• Bug#1094992: haskell-gtk3: FTBFS: Conflicting exports for =?UTF-8?Q?=E2

    From Sebastian Ramacher@21:1/5 to All on Sun Feb 2 11:50:01 2025
    Source: haskell-gtk3
    Version: 0.15.9-1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=haskell-gtk3&arch=amd64&ver=0.15.9-1%2Bb2&stamp=1738441079&raw=0

    [206 of 207] Compiling Graphics.UI.Gtk ( dist-ghc/build/Graphics/UI/Gtk.hs, dist-ghc/build/Graphics/UI/Gtk.o, dist-ghc/build/Graphics/UI/Gtk.dyn_o )

    Graphics/UI/Gtk.chs:310:3: error: [GHC-69158]
    Conflicting exports for ‘WrapNone’:
    ‘module Graphics.UI.Gtk.Multiline.TextView’ exports ‘Graphics.UI.Gtk.Multiline.TextView.WrapNone’
    imported from ‘Graphics.UI.Gtk.Multiline.TextView’ at Graphics/UI/Gtk.chs:404:1-41
    (and originally defined in ‘Graphics.UI.Gtk.General.Enums’
    at Graphics/UI/Gtk/General/Enums.chs:500:17-24)
    ‘module Graphics.Rendering.Pango.Layout’ exports ‘Graphics.Rendering.Pango.Layout.WrapNone’
    imported from ‘Graphics.Rendering.Pango.Layout’ at Graphics/UI/Gtk.chs:616:1-38
    |
    310 | module Graphics.Rendering.Pango.Layout,
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [207 of 207] Compiling Graphics.UI.GtkInternals ( dist-ghc/build/Graphics/UI/GtkInternals.hs, dist-ghc/build/Graphics/UI/GtkInternals.o, dist-ghc/build/Graphics/UI/GtkInternals.dyn_o )
    -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
    at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 877.
    Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 616
    Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 479
    Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 656
    Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
    make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25 dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit status 2

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)