Bug#1042326: haskell-gi-gdkpixbuf: FTBFS: make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25

Lucas Nussbaum lucas at debian.org
Wed Jul 26 21:16:47 BST 2023


Source: haskell-gi-gdkpixbuf
Version: 2.0.29-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230726 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> test -x debian/rules
> dh_testroot
> dh_prep 
> dh_installdirs -A 
> mkdir -p "."
> CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
> CDBS WARNING:    DEB_COMPRESS_EXCLUDE is deprecated since 0.4.85
> Adding cdbs dependencies to debian/libghc-gi-gdkpixbuf-doc.substvars
> dh_installdirs -plibghc-gi-gdkpixbuf-doc \
> 	
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'make_setup_recipe'
> Running ghc --make Setup.hs -o debian/hlibrary.setup
> [1 of 1] Compiling Main             ( Setup.hs, Setup.o )
> Linking debian/hlibrary.setup ...
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'configure_recipe'
> Running find . ! -newer /tmp/t5OKa3WPwQ -exec touch -d 1998-01-01 UTC {} ;
> Running dh_listpackages
> libghc-gi-gdkpixbuf-dev
> libghc-gi-gdkpixbuf-prof
> libghc-gi-gdkpixbuf-doc
> Running dh_listpackages
> libghc-gi-gdkpixbuf-dev
> libghc-gi-gdkpixbuf-prof
> libghc-gi-gdkpixbuf-doc
> Running dpkg-buildflags --get LDFLAGS
> -Wl,-z,relro
> Running debian/hlibrary.setup configure --ghc -v2 --package-db=/var/lib/ghc/package.conf.d --prefix=/usr --libdir=/usr/lib/haskell-packages/ghc/lib --libexecdir=/usr/lib --builddir=dist-ghc --ghc-option=-optl-Wl,-z,relro --haddockdir=/usr/lib/ghc-doc/haddock/gi-gdkpixbuf-2.0.29/ --datasubdir=gi-gdkpixbuf --htmldir=/usr/share/doc/libghc-gi-gdkpixbuf-doc/html/ --enable-library-profiling
> Using Parsec parser
> Configuring gi-gdkpixbuf-2.0.29...
> Dependency base >=4.7 && <5: using base-4.15.1.0
> Dependency bytestring >=0.10 && <1: using bytestring-0.10.12.1
> Dependency containers >=0.5 && <1: using containers-0.6.4.1
> Dependency gi-gio >=2.0 && <2.1: using gi-gio-2.0.30
> Dependency gi-glib >=2.0 && <2.1: using gi-glib-2.0.27
> Dependency gi-gmodule >=2.0 && <2.1: using gi-gmodule-2.0.3
> Dependency gi-gobject >=2.0 && <2.1: using gi-gobject-2.0.28
> Dependency haskell-gi >=0.26 && <0.27: using haskell-gi-0.26.1
> Dependency haskell-gi-base >=0.26 && <0.27: using haskell-gi-base-0.26.2
> Dependency text >=1.0 && <3: using text-1.2.5.0
> Dependency transformers >=0.4 && <1: using transformers-0.5.6.2
> Dependency gdk-pixbuf-2.0: using version 2.42.10
> Source component graph: component lib
> Configured component graph:
>     component gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include containers-0.6.4.1
>         include gi-gio-2.0.30-Le3XVxnPcE5GGrE1cpn3Om
>         include gi-glib-2.0.27-KPNdhQB5q4lD3LJBp2P6eK
>         include gi-gmodule-2.0.3-4mRSP0oy2U4CpXaF6cRE1v
>         include gi-gobject-2.0.28-1w6AMPQ7GsiBOSk5nE2INb
>         include haskell-gi-0.26.1-JSRupHRF34I93KyyU4gimG
>         include haskell-gi-base-0.26.2-BgiSD0snxm47Hg27HVVupt
>         include text-1.2.5.0
>         include transformers-0.5.6.2
> Linked component graph:
>     unit gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX
>         include base-4.15.1.0
>         include bytestring-0.10.12.1
>         include containers-0.6.4.1
>         include gi-gio-2.0.30-Le3XVxnPcE5GGrE1cpn3Om
>         include gi-glib-2.0.27-KPNdhQB5q4lD3LJBp2P6eK
>         include gi-gmodule-2.0.3-4mRSP0oy2U4CpXaF6cRE1v
>         include gi-gobject-2.0.28-1w6AMPQ7GsiBOSk5nE2INb
>         include haskell-gi-0.26.1-JSRupHRF34I93KyyU4gimG
>         include haskell-gi-base-0.26.2-BgiSD0snxm47Hg27HVVupt
>         include text-1.2.5.0
>         include transformers-0.5.6.2
>         GI.GdkPixbuf=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf,GI.GdkPixbuf.Callbacks=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Callbacks,GI.GdkPixbuf.Config=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Config,GI.GdkPixbuf.Constants=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Constants,GI.GdkPixbuf.Enums=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Enums,GI.GdkPixbuf.Flags=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Flags,GI.GdkPixbuf.Objects=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects,GI.GdkPixbuf.Objects.Pixbuf=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.Pixbuf,GI.GdkPixbuf.Objects.PixbufAnimation=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.PixbufAnimation,GI.GdkPixbuf.Objects.PixbufAnimationIter=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.PixbufAnimationIter,GI.GdkPixbuf.Objects.PixbufLoader=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.PixbufLoader,GI.GdkPixbuf.Objects.PixbufNonAnim=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.PixbufNonAnim,GI.GdkPixbuf.Objects.PixbufSimpleAnim=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.PixbufSimpleAnim,GI.GdkPixbuf.Objects.PixbufSimpleAnimIter=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Objects.PixbufSimpleAnimIter,GI.GdkPixbuf.Structs=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Structs,GI.GdkPixbuf.Structs.PixbufFormat=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Structs.PixbufFormat,GI.GdkPixbuf.Structs.PixbufModule=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Structs.PixbufModule,GI.GdkPixbuf.Structs.PixbufModulePattern=gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX:GI.GdkPixbuf.Structs.PixbufModulePattern
> Ready component graph:
>     definite gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX
>         depends base-4.15.1.0
>         depends bytestring-0.10.12.1
>         depends containers-0.6.4.1
>         depends gi-gio-2.0.30-Le3XVxnPcE5GGrE1cpn3Om
>         depends gi-glib-2.0.27-KPNdhQB5q4lD3LJBp2P6eK
>         depends gi-gmodule-2.0.3-4mRSP0oy2U4CpXaF6cRE1v
>         depends gi-gobject-2.0.28-1w6AMPQ7GsiBOSk5nE2INb
>         depends haskell-gi-0.26.1-JSRupHRF34I93KyyU4gimG
>         depends haskell-gi-base-0.26.2-BgiSD0snxm47Hg27HVVupt
>         depends text-1.2.5.0
>         depends transformers-0.5.6.2
> Using Cabal-3.4.1.0 compiled by ghc-9.0
> Using compiler: ghc-9.0.2
> Using install prefix: /usr
> Executables installed in: /usr/bin
> Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2/gi-gdkpixbuf-2.0.29-60e4qi0SseyGM7ZB4cIFCX
> Dynamic Libraries installed in:
> /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-9.0.2
> Private executables installed in:
> /usr/lib/x86_64-linux-ghc-9.0.2/gi-gdkpixbuf-2.0.29
> Data files installed in: /usr/share/gi-gdkpixbuf
> Documentation installed in:
> /usr/share/doc/x86_64-linux-ghc-9.0.2/gi-gdkpixbuf-2.0.29
> Configuration files installed in: /usr/etc
> No alex found
> Using ar found on system at: /usr/bin/x86_64-linux-gnu-ar
> No c2hs found
> No cpphs found
> No doctest found
> Using gcc version 13 found on system at: /usr/bin/x86_64-linux-gnu-gcc
> Using ghc version 9.0.2 found on system at: /usr/bin/ghc
> Using ghc-pkg version 9.0.2 found on system at: /usr/bin/ghc-pkg
> No ghcjs found
> No ghcjs-pkg found
> No greencard found
> Using haddock version 2.25.1 found on system at: /usr/bin/haddock
> No happy found
> Using haskell-suite found on system at: haskell-suite-dummy-location
> Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
> No hmake found
> Using hpc version 0.68 found on system at: /usr/bin/hpc
> Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs
> No hscolour found
> No jhc found
> Using ld found on system at: /usr/bin/x86_64-linux-gnu-ld.gold
> Using pkg-config version 1.8.1 found on system at: /usr/bin/pkg-config
> Using runghc version 9.0.2 found on system at: /usr/bin/runghc
> Using strip version 2.40 found on system at: /usr/bin/strip
> Using tar found on system at: /bin/tar
> No uhc found
> touch configure-ghc-stamp
> perl -d:Confess -MDebian::Debhelper::Buildsystem::Haskell::Recipes=/.*/ \
> 	-E 'build_recipe'
> Running dh_listpackages
> libghc-gi-gdkpixbuf-dev
> libghc-gi-gdkpixbuf-prof
> libghc-gi-gdkpixbuf-doc
> Preprocessing library for gi-gdkpixbuf-2.0.29..
> Building library for gi-gdkpixbuf-2.0.29..
> [ 1 of 25] Compiling GI.GdkPixbuf.Config ( GI/GdkPixbuf/Config.hs, dist-ghc/build/GI/GdkPixbuf/Config.o, dist-ghc/build/GI/GdkPixbuf/Config.dyn_o )
> [ 2 of 25] Compiling GI.GdkPixbuf.Constants ( GI/GdkPixbuf/Constants.hs, dist-ghc/build/GI/GdkPixbuf/Constants.o, dist-ghc/build/GI/GdkPixbuf/Constants.dyn_o )
> [ 3 of 25] Compiling GI.GdkPixbuf.Enums[boot] ( GI/GdkPixbuf/Enums.hs-boot, dist-ghc/build/GI/GdkPixbuf/Enums.o-boot, dist-ghc/build/GI/GdkPixbuf/Enums.dyn_o )
> [ 4 of 25] Compiling GI.GdkPixbuf.Enums ( GI/GdkPixbuf/Enums.hs, dist-ghc/build/GI/GdkPixbuf/Enums.o, dist-ghc/build/GI/GdkPixbuf/Enums.dyn_o )
> [ 5 of 25] Compiling GI.GdkPixbuf.Flags ( GI/GdkPixbuf/Flags.hs, dist-ghc/build/GI/GdkPixbuf/Flags.o, dist-ghc/build/GI/GdkPixbuf/Flags.dyn_o )
> [ 6 of 25] Compiling GI.GdkPixbuf.Objects.Pixbuf[boot] ( GI/GdkPixbuf/Objects/Pixbuf.hs-boot, dist-ghc/build/GI/GdkPixbuf/Objects/Pixbuf.o-boot, dist-ghc/build/GI/GdkPixbuf/Objects/Pixbuf.dyn_o )
> [ 7 of 25] Compiling GI.GdkPixbuf.Objects.PixbufAnimation[boot] ( GI/GdkPixbuf/Objects/PixbufAnimation.hs-boot, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimation.o-boot, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimation.dyn_o )
> [ 8 of 25] Compiling GI.GdkPixbuf.Objects.PixbufAnimationIter[boot] ( GI/GdkPixbuf/Objects/PixbufAnimationIter.hs-boot, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimationIter.o-boot, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimationIter.dyn_o )
> [ 9 of 25] Compiling GI.GdkPixbuf.Objects.PixbufAnimationIter ( GI/GdkPixbuf/Objects/PixbufAnimationIter.hs, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimationIter.o, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimationIter.dyn_o )
> [10 of 25] Compiling GI.GdkPixbuf.Objects.PixbufAnimation ( GI/GdkPixbuf/Objects/PixbufAnimation.hs, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimation.o, dist-ghc/build/GI/GdkPixbuf/Objects/PixbufAnimation.dyn_o )
> 
> GI/GdkPixbuf/Objects/PixbufAnimation.hs:1013:121: error:
>     • Couldn't match type: IO ()
>                      with: Ptr () -> IO ()
>       Expected: Gio.Callbacks.AsyncReadyCallback_WithClosures
>         Actual: Gio.Callbacks.AsyncReadyCallback
>     • In the second argument of ‘Gio.Callbacks.wrap_AsyncReadyCallback’, namely
>         ‘jCallback’
>       In the first argument of ‘Gio.Callbacks.mk_AsyncReadyCallback’, namely
>         ‘(Gio.Callbacks.wrap_AsyncReadyCallback
>             (Just ptrcallback) jCallback)’
>       In a stmt of a 'do' block:
>         jCallback' <- Gio.Callbacks.mk_AsyncReadyCallback
>                         (Gio.Callbacks.wrap_AsyncReadyCallback
>                            (Just ptrcallback) jCallback)
>      |
> 1013 |             jCallback' <- Gio.Callbacks.mk_AsyncReadyCallback (Gio.Callbacks.wrap_AsyncReadyCallback (Just ptrcallback) jCallback)
>      |                                                                                                                         ^^^^^^^^^
> -e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
>  at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 880.
> 	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 610
> 	Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 473
> 	Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 650
> 	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 build log is available from:
http://qa-logs.debian.net/2023/07/26/haskell-gi-gdkpixbuf_2.0.29-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230726;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230726&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-haskell-maintainers mailing list