<div dir="ltr">Source: haskell-gi-vte<br>Version:  2.91.33-1<div>Severity: serious<br>Tags: FTBFS, patch<br>User: <a href="mailto:debian-riscv@lists.debian.org" target="_blank">debian-riscv@lists.debian.org</a><br>Usertags: riscv64<br>X-Debbugs-Cc: <a href="mailto:debian-riscv@lists.debian.org" target="_blank">debian-riscv@lists.debian.org</a></div><div><br></div><div>Dear haskell-gi-vte maintainer,</div><div>The package haskell-gi-vte build failed on riscv64. The crucial buildd log below:</div><div>```</div><div><pre style="color:rgb(0,0,0)">GI/Vte/Callbacks.hs:98:1: error:
    Could not load module ‘GI.GdkPixbuf.Objects.Pixbuf’
    It is a member of the hidden package ‘gi-gdkpixbuf-2.0.32’.
    Perhaps you need to add ‘gi-gdkpixbuf’ to the build-depends in your .cabal file.
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
98 | import qualified GI.GdkPixbuf.Objects.Pixbuf as GdkPixbuf.Pixbuf
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-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/<a href="http://hlibrary.mk:158">hlibrary.mk:158</a>: build-ghc-stamp] Error 25</pre></div><div>```</div><div>The full buildd log is here:</div><div><a href="https://buildd.debian.org/status/fetch.php?pkg=haskell-gi-vte&arch=riscv64&ver=2.91.33-1%2Bb2&stamp=1740067747&raw=0">https://buildd.debian.org/status/fetch.php?pkg=haskell-gi-vte&arch=riscv64&ver=2.91.33-1%2Bb2&stamp=1740067747&raw=0</a></div><div>My solution to this issue:</div><div>  The error occurs because the module "GI.GdkPixbuf.Objects.Pixbuf" cannot be loaded on the riscv64 architecture, as it belongs to the hidden package "gi-gdkpixbuf-2.0.32". My solution is to explicitly add "gi-gdkpixbuf-2.0.32" to the build-depends list in gi-vte.cabal.I have tested that locally, and it works well.The debpatch is in the attachment. Please let me know whether this solution can be accepted.</div><div>Gui-Yue</div><div>Best Regards </div></div>