Bug#1098501: haskell-gi-vte :FTBFS:build failed ( Could not load module =?UTF-8?Q?=E2=80=98GI.GdkPixbuf.Objects.Pixbuf=E2=80=99?=)
Yue Gui
yuemeng.gui at gmail.com
Fri Feb 21 14:29:33 GMT 2025
Source: haskell-gi-vte
Version: 2.91.33-1
Severity: serious
Tags: FTBFS, patch
User: debian-riscv at lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: debian-riscv at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20250221/1a69e8de/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_haskell-gi-vte_build_failed_onriscv.patch
Type: application/octet-stream
Size: 1931 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20250221/1a69e8de/attachment.obj>
More information about the Pkg-haskell-maintainers
mailing list