Source: haskell-gi-vte Version: 2.91.33-1 Severity: serious Tags: FTBFS, patch User: debian-ri...@lists.debian.org Usertags: riscv64 X-Debbugs-Cc: debian-ri...@lists.debian.org
Dear haskell-gi-vte maintainer, The package haskell-gi-vte build failed on riscv64. The crucial buildd log below: ``` 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/hlibrary.mk:158: build-ghc-stamp] Error 25 ``` The full buildd log is here: https://buildd.debian.org/status/fetch.php?pkg=haskell-gi-vte&arch=riscv64&ver=2.91.33-1%2Bb2&stamp=1740067747&raw=0 My solution to this issue: 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. Gui-Yue Best Regards
fix_haskell-gi-vte_build_failed_onriscv.patch
Description: Binary data